Skip to content

web-runner: guard capability matrix drift#1362

Merged
EffortlessSteven merged 1 commit into
mainfrom
web-runner-matrix-guard
Apr 28, 2026
Merged

web-runner: guard capability matrix drift#1362
EffortlessSteven merged 1 commit into
mainfrom
web-runner-matrix-guard

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

  • add runner-side tests that load docs/capabilities/wasm.json and assert SUPPORTED_MODES matches the current browser-runnable matrix entries
  • add explicit matrix metadata for browser-supported analyze presets and assert it matches SUPPORTED_ANALYZE_PRESETS
  • assert every native-only matrix command remains rejected by the browser runner

Validation

  • npm test --prefix web/runner
  • cargo test -p xtask wasm_capability_matrix
  • cargo xtask publish-surface --json
  • cargo xtask publish-surface --json --verify-publish
  • cargo xtask gate --check

Deferred follow-ups

  • browser-runner cache behavior
  • browser-runner progress events
  • retry / rate-limit UX
  • optional authenticated fetch

@coderabbitai

coderabbitai Bot commented Apr 28, 2026

Copy link
Copy Markdown

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 51 minutes and 17 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 058e79c0-7312-459e-8ae2-ccf6791847f7

📥 Commits

Reviewing files that changed from the base of the PR and between a8473c4 and 77aec79.

📒 Files selected for processing (3)
  • docs/capabilities/wasm.json
  • web/runner/messages.test.mjs
  • web/runner/runtime.test.mjs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch web-runner-matrix-guard

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist

Copy link
Copy Markdown

Warning

Gemini encountered an error creating the review. You can try again by commenting /gemini review.

@github-actions

Copy link
Copy Markdown
Contributor

Glass Cockpit

Base: origin/main
Head: HEAD

Change Surface:

  • Files: 3
  • Insertions: 101
  • Deletions: 0

Composition:

  • Code: 0.0%
  • Test: 0.0%
  • Docs: 0.0%
  • Config: 100.0%

Contracts:

  • API: No
  • CLI: No
  • Schema: No

Health: 100/100 (A)
Risk: low (0/100)

Review Plan

  • web/runner/messages.test.mjs (priority: 2)
  • docs/capabilities/wasm.json (priority: 3)
  • web/runner/runtime.test.mjs (priority: 3)

Receipts

Full receipt data available in JSON format.

@EffortlessSteven EffortlessSteven merged commit 13698d9 into main Apr 28, 2026
19 checks passed
@EffortlessSteven EffortlessSteven deleted the web-runner-matrix-guard branch April 28, 2026 13:18
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