Repository navigation
ci: standalone vendor-boundary workflow (no concurrency group) - #2
Conversation
Split the vendor-boundary gate out of the main ci.yml so the cancel-in-progress concurrency group on non-full PRs can't swallow it. Same grep logic as the in-ci.yml job; keep that job too as a belt-and-braces check for runs where ci.yml does fire. Fork-safe: no secrets, no pull_request_target, 3-min step timeout. Co-Authored-By: Claude Opus 4.7 <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
`if grep …; then exit 1; fi` only catches exit 0. grep exits 2 on missing dir / unreadable file / zsh word-splitting on some runners. Silent success on a grep error means the vendor-boundary enforcement decays to honor-system with no CI signal. Capture grep's exit code explicitly and treat 0=violation (exit 1), 1=no match (pass), anything else=check failure (exit 1 with a descriptive message). Pin the step's shell to bash so a runner switched to dash can't silently change semantics. Fixes the same shape in both call sites added by #1 (in-ci.yml job) and #2 (standalone workflow). Pattern from motofreedom PR morluto#265. Co-authored-by: Jonathan Henson <[email protected]> Co-authored-by: Claude Opus 4.7 <[email protected]>
Summary
Adds
.github/workflows/vendor-boundary.ymlas a standalone workflow so the vendor-boundary gate always runs, even on PRs where the mainci.ymlconcurrency group (ci-feedback-*withcancel-in-progressbehavior) swallows an in-progress run.Why. Peer session observation: the main
ci.ymlhas aconcurrency:block at the top that groups feedback runs and cancels superseded ones, and post-2026-11-26 CI on the fork has been dark — so the in-ci.ymlvendor-boundaryjob that landed in #1 hasn't been exercised on real PRs since the merge. Lifting it into its own workflow with noconcurrency:block guarantees the gate's output is visible per PR.What this PR does.
.github/workflows/vendor-boundary.ymlon: [pull_request, push]— nopathsfilter, noconcurrency:blockactions/checkoutto11d5960a326750d5838078e36cf38b85af677262(v4.4.0), same SHA as the existing in-ci.yml jobvendor-boundaryjob (same TS/JS and Python regex patterns againstsrc/andbridge/)permissions: contents: readonly, no secrets, nopull_request_targetBelt-and-braces. The in-ci.yml
vendor-boundaryjob is intentionally kept unchanged — whenci.ymldoes fire, the two gates agree by construction. No modifications toci.ymlin this PR.Scope boundary. The post-2026-11-26 CI silence on the fork is a maintainer-config question and is deliberately out of scope here. This PR only adds the standalone gate.
Test plan
vendor-boundarycheck from the standalone workflow shows up and passes (nothird_party/imports undersrc/orbridge/onmain).concurrency:block (grep the file).ci.yml(only one file added).🤖 Generated with Claude Code