Skip to content

Run amber-lsp on changed lines as an advisory check - #100

Open
crimson-knight wants to merge 6 commits into
ci/full-coveragefrom
ci/amber-lsp-advisory
Open

crimson-knight wants to merge 6 commits into
ci/full-coveragefrom
ci/amber-lsp-advisory

Conversation

@crimson-knight

@crimson-knight crimson-knight commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Adds a CI job that runs amber-lsp check on the lines this pull request changes. Findings appear as annotations and stay advisory: --advisory makes the check exit 0 when it finds something. A failed amber-lsp build or a checker exit 2 fails the job, so a broken linter reads red. The job is not a required check.

amber-lsp is built from amberframework/amber_cli at ede25163faa5574a0b7d28c83a97eef288d9f272, the reviewed head of amberframework/amber_cli#54, pinned by full commit SHA, because no release includes check yet. A later change moves this to a hash-verified release archive.

CI proof on this branch: the job passed on the real tree, failed at "Build amber-lsp" on a deliberate build break (run 42913920949), and failed at "Check changed lines" with exit code 2 on a deliberate invalid exclude_patterns (run 42914184415). Both test commits are reverted, and the final tree equals the fix commit.

--advisory keeps findings non-blocking, so job-level continue-on-error only
hid a failed amber-lsp build or a checker exit 2. amber-lsp now builds from
amberframework/amber_cli#54 at its reviewed head.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant