Repository navigation
feat: verifyContainer (run the referee in Docker) - #31
Merged
Merged
Conversation
The last portability blocker for non-Ubuntu toolchains: the hub runner only has what the image ships. A repo profile can now pin an image: "verify": ["swift test"], "verifyContainer": "swift:6.0" - verify.ts: buildVerifyInvocation() wraps the frozen command in `docker run --rm -v <worktree>:/work -w /work --entrypoint bash <image> -c`, skips host-side npm install (binaries would not match), and fails loudly when docker is unavailable instead of pretending the run was verified. - the frozen fingerprint now includes the image, so a profile change is detected like any other gate change. - tests: invocation matrix (host / docker / tampered npm body) + capture. - docs/portability.md: container section and macOS/self-hosted guidance.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
补齐通用化的最后一块:验证环境。
verifyContainer:docker run --rm -v <worktree>:/work -w /work --entrypoint bash <image> -c "<cmd>",用于 Swift / .NET / 特定 JDK 等宿主没有的工具链。runs-on。