fix(ci): lock runtime wasm-bindgen toolchain - #573
Conversation
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
Warning Review limit reachedYou’ve reached a temporary PR review limit under our Fair Usage Limits Policy. Next review available in: 33 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Comment |
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
RCA verdict
The same source tree produced two runtime artifacts because wasm-pack 0.13.1 can select two different wasm-bindgen CLI binaries:
Run 31643064515 attempt 1 entered the fallback after the prebuilt download path failed. Attempt 2 reused the cached official prebuilt and returned to 378113B. PR #572 did not change the budget, and 4f99f1e plus b07178e have the same tree 9db8222ba8f891589752603c441bac2f5f66adc2.
Audit remediation
F1 — exact wasm-pack cache contract
Fixed. The previous dot-prefixed cargo-install root was wasm-pack's disposable temp directory and was deleted. The worker now:
This bypasses both wasm-pack's fallback installer and its disposable dot staging.
F2 — immutable worker activation
Confirmed. This PR deliberately delivers only corrected ci-worker.yml plus its contract. The current caller still pins �eecd257371a7a6421079b0d8207a109969aa332; therefore exact-head CI on this PR executes the old worker and is not proof of the new cache producer.
After this PR is merged, a separate one-line Stage-B repin PR must update ci.yml to the resulting main SHA. That PR will also update the existing private-program-ci-contract caller-pin assertion. Its first exact-head run is the activation proof and must show:
No caller pin is changed in this PR, avoiding the immutable-worker chicken-and-egg.
F3 — contract guard
Fixed. The release contract now rejects:
The caller-binding assertion remains deferred to the Stage-B repin PR where the pin actually changes.
Evidence
Runtime budget remains 378113. Private Program budget 321335 is untouched. No caller pins or publish workflow changed.