Skip to content

ci: standalone vendor-boundary workflow (no concurrency group) - #2

Merged
bqw371 merged 1 commit into
mainfrom
ci/vendor-boundary-standalone
Nov 28, 2026
Merged

bqw371 merged 1 commit into
mainfrom
ci/vendor-boundary-standalone

Conversation

@bqw371

@bqw371 bqw371 commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Summary

Adds .github/workflows/vendor-boundary.yml as a standalone workflow so the vendor-boundary gate always runs, even on PRs where the main ci.yml concurrency group (ci-feedback-* with cancel-in-progress behavior) swallows an in-progress run.

Why. Peer session observation: the main ci.yml has a concurrency: 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.yml vendor-boundary job that landed in #1 hasn't been exercised on real PRs since the merge. Lifting it into its own workflow with no concurrency: block guarantees the gate's output is visible per PR.

What this PR does.

  • New file only: .github/workflows/vendor-boundary.yml
  • Triggers: on: [pull_request, push] — no paths filter, no concurrency: block
  • Pins actions/checkout to 11d5960a326750d5838078e36cf38b85af677262 (v4.4.0), same SHA as the existing in-ci.yml job
  • Grep step lifted verbatim from the ci.yml vendor-boundary job (same TS/JS and Python regex patterns against src/ and bridge/)
  • 3-minute step timeout
  • Fork-safe: permissions: contents: read only, no secrets, no pull_request_target

Belt-and-braces. The in-ci.yml vendor-boundary job is intentionally kept unchanged — when ci.yml does fire, the two gates agree by construction. No modifications to ci.yml in 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

  • On this PR, the vendor-boundary check from the standalone workflow shows up and passes (no third_party/ imports under src/ or bridge/ on main).
  • Workflow has no concurrency: block (grep the file).
  • No changes to existing ci.yml (only one file added).

🤖 Generated with Claude Code

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]>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-28T06:50:41.240989Z
We couldn’t complete this review. Comment @codex review to try again.
d9e9d1c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e70f7d36-70c1-4cc4-acb5-acae5b8a1f95
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@bqw371
bqw371 merged commit d9082cd into main Nov 28, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

bqw371 added a commit that referenced this pull request Nov 28, 2026
`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]>
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