Skip to content

ci(codeql): [skip-release] build without the manifest sandbox under the tracer - #48

Merged
rbstp merged 1 commit into
masterfrom
ci/codeql-pin
Sep 27, 2026
Merged

rbstp merged 1 commit into
masterfrom
ci/codeql-pin

Conversation

@rbstp

@rbstp rbstp commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

The CodeQL job has failed on every run since the xcode-27 image moved to 20260921: swift build under the Swift tracer dies evaluating Package.swift with posix_spawn error: Bad CPU type in executable (86). Pinning CodeQL back to 2.27.0 changes nothing, so it is the image. macOS 27 ships /usr/bin/sandbox-exec with an arm64e slice only, and the tracer copies protected executables and re-spawns the copy, which then cannot run. SwiftPM only spawns sandbox-exec to sandbox the manifest and plugins, so the CodeQL build passes --disable-sandbox. Nothing else changes: the build stays arm64 on the latest CodeQL, and the sandbox was only ever guarding our own Package.swift.

Also an actionlint.yaml declaring the xcode-27 label, so actionlint stops flagging every workflow's runs-on, and the push trigger skips .github-only changes.

[skip-release]: workflow-only, which release.yml ignores anyway.

@rbstp rbstp changed the title ci(codeql): [skip-release] pin the CodeQL bundle to 2.27.0 ci(codeql): [skip-release] build without the manifest sandbox under the tracer Sep 27, 2026
@rbstp
rbstp merged commit 2df8468 into master Sep 27, 2026
2 checks passed
@rbstp
rbstp deleted the ci/codeql-pin branch September 27, 2026 13:40
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