Skip to content

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

Open
bbopen wants to merge 1 commit intocodex/fix-pyodide-bootstrap-protocolfrom
codex/harden-pyodide-tests
Open

test(pyodide): harden protocol contract drift coverage#198
bbopen wants to merge 1 commit intocodex/fix-pyodide-bootstrap-protocolfrom
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.

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