Skip to content

fix(ci): match excluded archs exactly so Windows is really smoke tested - #10

Merged
jrosskopf merged 1 commit into
mainfrom
fix/smoke-gate-exact-match
Aug 9, 2026
Merged

fix(ci): match excluded archs exactly so Windows is really smoke tested#10
jrosskopf merged 1 commit into
mainfrom
fix/smoke-gate-exact-match

Conversation

@jrosskopf

@jrosskopf jrosskopf commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

The smoke-test gate used a substring test against exclude_archs. This repo excludes windows_amd64_mingw, which also matches windows_amd64 — so the Windows smoke job printed "excluded by the build job" and reported success without ever downloading, loading or exercising the artifact.

Green meant nothing ran, which is exactly what this workflow exists to prevent. Found when anofox-scenario's Linux and macOS smoke jobs failed on a real artifact-name bug while its Windows job "passed".

Split the list on ;/,/whitespace and compare whole tokens instead. The list now goes through env: because some callers set exclude_archs from a GitHub expression whose value contains quotes.

Verify: the Windows smoke job in this PR must actually run the three steps, not print "is excluded".


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

The gate used a substring test against exclude_archs. This repo excludes
`windows_amd64_mingw`, which also matches `windows_amd64` -- so the Windows
smoke job printed "excluded by the build job" and reported success without
ever downloading, loading or exercising the artifact. Green meant nothing
ran, which is precisely what this workflow exists to prevent.

Split the list on `;`/`,`/whitespace and compare whole tokens instead. The
list is passed via env because some callers set exclude_archs from a GitHub
expression whose value contains quotes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@jrosskopf
jrosskopf merged commit e59a533 into main Aug 9, 2026
69 checks passed
@jrosskopf
jrosskopf deleted the fix/smoke-gate-exact-match branch August 9, 2026 00:08
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