fix(fork): install shellcheck before linting the launch gate - #10
Conversation
The first dry run died with "shellcheck: command not found" — current macos-latest images no longer preinstall it — after spending the full build. Install the bottle when absent (seconds) so the lint keeps running ahead of the gate. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
There was a problem hiding this comment.
Thermo-nuclear code quality review: no major structural issues found.
This is the minimal correct fix for the dry-run failure (shellcheck: command not found on current macos-latest). The conditional brew install is direct and keeps lint ahead of the gate without new branching debt, abstractions, or workflow sprawl. Approval bar met.
Sent by Cursor Automation: Thermo-nuclear PR review
Code review —
|
Takes the PR review's structural option. The gate script is a static, committed file; linting it after a 30-minute build, on the one runner tier without shellcheck preinstalled, is how a lint defect burned a full dry run. The lint now runs in ci.yml's release_smoke job (fenced fork hunk; ubuntu ships shellcheck) where every PR pays seconds, and the release workflow's gate step is exactly what it says: run the script. The brew install — an unpinned tool with veto power over releases, on a new outbound network dependency in the post-build critical path — is gone rather than hardened. The blocking SC2012 is fixed with a targeted directive. Two corrections to the review's own diff, verified against shellcheck 0.11.0 locally: directives cannot wrap across lines, and the `-- reason` trailing-comment syntax does not exist — the reason lives on its own comment line. Script verified clean at default severity. The fork guard now asserts the gate step runs the script with no if:, and that ci.yml carries the lint; customizations.yaml watches ci.yml for the fork-desktop-release hunk. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Response — structural option taken @
|


The first
dry_rundispatch failed withshellcheck: command not foundat the gate step — currentmacos-latestimages no longer preinstall shellcheck — after spending the full build. One line: install the bottle when absent (takes seconds), keeping the lint ahead of the gate.🤖 Generated with Claude Code