fix(ci): repair corrupted Dockerfile and add missing release-drafter config#141
Conversation
…config - Dockerfile: restore '#' comment markers stripped by the L9_META injection in f3db6fe (bare text lines like '--- L9_META ---' and 'Copy application code' were parsed as Docker instructions -> 'dockerfile parse error on line 11: unknown instruction: ---'). Content unchanged, chassis COPY preserved; docker build --check passes. - .github/release-drafter.yml: add the missing config (release-drafter@v7 404'd falling back to Quantum-L9/.github which has no config).
|
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. |
|
✅ PR reviewable size is within recommended limits |
type=sha,prefix={{branch}}- resolved {{branch}} to an empty string on
pull_request events (ref is refs/pull/N/merge, not a branch ref),
producing the invalid tag ":-<sha>" and failing "Build & Push
Container" on every PR (confirmed on #141 and #142 build logs:
"invalid tag ...:-bb7e3af: invalid reference format"). A static
sha- prefix works identically on push and pull_request events.
Co-authored-by: Cursor <cursoragent@cursor.com>
Update: docker-build.yml line 82 bug fixedThe "not included" item from the PR description — Root cause confirmed from live CI logs (this PR's and #142's "Build & Push Container" runs):
Fix: This was pushed directly (not by the bot) since modifying |
|




Summary
Repairs three CI failures that occur on every push/PR against
main, unrelated to code changes.1. Dockerfile corruption (Docker Build & Push red since f3db6fe)
The L9_META header injection in
f3db6festripped the#comment markers from most of the Dockerfile: bare lines like--- L9_META ---,── Stage 1: Dependencies ──, andCopy application codewere left uncommented and parsed as Docker instructions, causing:This PR restores the comment markers with content unchanged (including the newer
COPY chassis/line). Verified locally withdocker build --check— clean parse, no warnings.2. Missing Release Drafter config (update-release-draft red on every run)
release-drafter/release-drafter@v7failed withConfig file not found with error 404 (Quantum-L9/.github:.github/release-drafter.yml). Added.github/release-drafter.ymlwith conventional-commit-style categories, autolabeler, and a patch-default version resolver.3. Invalid Docker tag on pull_request events (Build & Push Container red on every PR) — fixed by repo owner
.github/workflows/docker-build.ymlline 82 had a latent bug:type=sha,prefix={{branch}}-produces an invalid tag onpull_requestevents, since{{branch}}resolves to an empty string when the ref isrefs/pull/N/merge(not a real branch ref).Confirmed from live CI logs on this PR and #142:
Fixed with a static prefix:
type=sha,prefix=sha-, which resolves identically onpushandpull_requestevents. This required a direct push from the repo owner since modifying.github/workflows/**needs theworkflowstoken scope the automation lacks.