Skip to content

fix(ci): Bun-first runtime policy; retire two gates that enforced the opposite - #45

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/runtime-policy-bun-first
Jul 29, 2026
Merged

fix(ci): Bun-first runtime policy; retire two gates that enforced the opposite#45
hyperpolymath merged 1 commit into
mainfrom
fix/runtime-policy-bun-first

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Authority: standards/LANGUAGE-POLICY.adoc §1 — Bun > Deno > pnpm > npm.

Replaced npm-bun-blocker.ymlruntime-policy.yml. The old gate failed any build carrying bun.lockb with "Use Deno instead" — blocking the new first choice and mandating the second. It was in 55 repos, and zero repos had adopted Bun, because doing so would have turned them red.

The replacement fails on something real — mixed toolchains (two package managers' lockfiles, i.e. two dependency graphs that can disagree) — and reports the tier in use otherwise. npm is tier 4 but permitted, so it warns rather than blocks. Red-teamed both ways: none/bun/deno/npm alone → exit 0; bun+npm and deno+pnpm → exit 1.

Deleted ts-blocker.yml. It enforced "use ReScript instead" — ReScript is itself retired — and it could not fail: git diff HEAD~1 on a depth-1 checkout, error to /dev/null, || true. 20/20 runs green, never once fired.

Neither is a required status check anywhere, so this creates no phantom context.

🤖 Generated with Claude Code

… opposite

Authority: standards LANGUAGE-POLICY.adoc §1 (added 2026-07-29) --
Bun > Deno > pnpm > npm.

REPLACED npm-bun-blocker.yml -> runtime-policy.yml
  The old gate failed any build carrying bun.lockb with 'npm/bun artifacts
  detected. Use Deno instead.' It blocked what is now the FIRST-choice runtime
  and mandated the second. Present in 55 repos; zero repos had adopted Bun,
  because adopting it would have turned them red.

  The replacement fails on something real -- MIXED TOOLCHAINS, two package
  managers' lockfiles in one repo, i.e. two dependency graphs that can disagree
  -- and reports the tier in use otherwise. npm is tier 4 but PERMITTED, so it
  warns rather than blocks.

  Red-teamed both directions before shipping: none/bun/deno/npm alone -> exit 0;
  bun+npm and deno+pnpm -> exit 1.

DELETED ts-blocker.yml
  It enforced 'use ReScript instead'. ReScript is itself retired estate-wide, so
  it policed a dead alternative. Worse, it could not fail: it diffed
  git diff HEAD~1 on a depth-1 checkout, where HEAD~1 does not exist, sent the
  error to /dev/null and used || true -- so the match set was ALWAYS empty.
  Measured 20/20 runs green; it has never once fired.

Neither workflow is a required status check in any ruleset, so removing them
creates no phantom context.

Co-Authored-By: Claude Opus 5 <[email protected]>
@sonarqubecloud

Copy link
Copy Markdown

@gitar-bot

gitar-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

Note

Automatic reviews are paused because your trial's included automatic processing has been used for this period. Upgrade now, or comment "Gitar review" to run a review anytime.
Learn more

Code Review ✅ Approved

Replaces outdated CI workflow gates to establish a Bun-first runtime policy and removes the obsolete ReScript blocker. No issues found.

Auto-approved and auto-merge armed: No blocking issues found.
Please see Auto-approve Docs for details on setting custom approval criteria. — merges when pipeline and required approvals pass.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@gitar-bot

gitar-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

⚠️ Gitar auto-approved this PR but could not enable auto-merge: auto-merge is disabled for this repository — enable "Allow auto-merge" in the repository settings.

@gitar-bot gitar-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitar has auto-approved this PR and enabled auto-merge (configure)

@gitar-bot gitar-bot Bot added the gitar-approved Added by Gitar label Jul 29, 2026
@hyperpolymath
hyperpolymath merged commit bcc219c into main Jul 29, 2026
21 of 24 checks passed
@hyperpolymath
hyperpolymath deleted the fix/runtime-policy-bun-first branch July 29, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gitar-approved Added by Gitar

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant