Skip to content

test(pyodide): harden protocol contract drift coverage#198

Merged
bbopen merged 2 commits intomainfrom
codex/harden-pyodide-tests
Mar 10, 2026
Merged

test(pyodide): harden protocol contract drift coverage#198
bbopen merged 2 commits intomainfrom
codex/harden-pyodide-tests

Conversation

@bbopen
Copy link
Owner

@bbopen bbopen commented Feb 28, 2026

Summary\n- harden Pyodide test mocks to validate request envelope contract (id/protocol/method/params)\n- replace permissive assertions with behavior checks on dispatched protocol shape\n- add negative coverage proving drifted envelopes are rejected\n\n## Stack\n- base branch: codex/fix-pyodide-bootstrap-protocol (PR #197)\n\n## Validation\n- npx vitest --run test/runtime_pyodide.test.ts test/transport.test.ts

@coderabbitai
Copy link

coderabbitai bot commented Feb 28, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codex/harden-pyodide-tests

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.

@bbopen bbopen changed the base branch from codex/fix-pyodide-bootstrap-protocol to main March 10, 2026 21:36
@bbopen bbopen merged commit 770ced0 into main Mar 10, 2026
1 check passed
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