Repository navigation
fix(ci): formatter-stable gate keys, auto-format gate guard, disposition current drift (#2630) - #2731
Merged
Merged
Conversation
…ion current drift (#2630)
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
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. |
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.
Summary
Closes the formatter-kills-the-disposition-key class from #2630 and returns all three allowlist gates to green on main.
Premise refinement (verified on current main
95d4f888b2): the two sites named in the issue were already dispositioned by the 2026-11-22 sync triage (#2677). The mechanism asks were not done, and the class had already recurred through undispositioned sync arrivals: all three gates were red (numeric-boundaries 9 unlisted + 3 stale, bounded-http 3 unlisted, proto-reads 1 unlisted).Changes
hitKeyinscript/gate-harness.tsnow collapses internal whitespace runs to a single space. The sweep and the allowlist parse both build keys throughhitKey, so the two sides always agree; a disposition no longer dies when a formatter pass only re-spaces a line. (A pass that joins/splits a statement changes the line itself — that vector is closed by the workflow guard below.) Two new tests ingate-harness.test.tspin the normalization; both fail against the old exact-match key..github/workflows/auto-format.ymlrecords the three gates' status on the unformatted tree and re-runs them before committing; a gate that passed at baseline and fails on the formatted tree fails the pass instead of pushing a red main. A gate already red at baseline only warns (not this pass's drift). The gate scripts import only node builtins, so they run in the workflow without an install.packages/cli-rs/script/perf.ts(8 numeric: perf-script CLI options with literal defaults; 2 bounded-http:Bun.filelocal reads),packages/data/core/src/domain/home.ts:1261(digits-only regex captures),packages/ui/src/components/spinner-radar.test.ts:58(Bun.filefixture read),packages/core/src/flag/resolve.ts:55(key ranges over the closedConfigFlag.registrykey set). The 3 stale numeric entries (spinner-radar test,packages/data/app/src/lib/format.ts,packages/data/app/src/routes/[lab]/index.tsx) were verified line-by-line: the dispositioned code no longer exists in the source, so the entries are removed.transcriptions.ts:59is untouched — that is #2587's scope.Verification (laptop route)
bun run check:numeric-boundaries— all 615 candidates dispositioned;check:bounded-http— 508;check:proto-reads— 463. All three were red before this change.gate-harness,check-gates,check-numeric-boundaries,check-bounded-http,check-proto-reads,check-workflowstest files (includes the workflow-policy test over the edited workflow).hitKeyfails exactly the 2 new tests.bash -n.bun: command not found, exit 127 — the known fleet-build container toolchain gap ([FEATURE]: Add Japanese translation for new WSL integration option anomalyco/opencode#13159/feat: add model fallback support with TTFT-based timeout anomalyco/opencode#13189 family), an environment failure, not a test result. The laptop run is the verifying route.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-23T11:46:46Z", "session_id": null, "lane": null, "host": "amd", "worktree": "/home/user/wt-lane-ta-2630", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/wt-lane-ta-2630", "repo": "developing-today-forks/opencode", "branch": "lane-ta-2630", "sha": "09620942a13c26feb5ccb80ac78245efaac546a2" }, "auth_subject": "oc-code-04", "stamped_by": "fleet 0.1.0 (native)" } }