(MOT-3868) fix(harness): publish typed request schema for harness::react - #404
(MOT-3868) fix(harness): publish typed request schema for harness::react#404ytallo wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
skill-check — worker0 verified, 32 skipped (no docs/).
Four for four. Nicely done. |
|
Superseded by #405 (branch renamed; GitHub auto-closed this PR on rename). |
Summary
ReactEventwire-schema wrapper forharness::reactwhile preserving the losslessserde_json::Valueruntime payload (same pattern asNotifyAgentEventinharness::notify_agent).harness::reactwith that typed request shape so release interface collection no longer publishesAnyValuefor its request schema.harness::reactto the harness schema catalog and commit the new golden snapshot.Root Cause
The harness release publish gate collected
worker-interface.jsonsuccessfully, then failed becauseharness::react.request_schemawas the permissiveAnyValueschema. The handler was registered with a rawserde_json::Valueevent payload even though the registry publish gate requires typed function request/response schemas.Validation
UPDATE_GOLDENS=1 cargo test --manifest-path harness/Cargo.toml --test schemascargo test --manifest-path harness/Cargo.tomlcargo clippy --manifest-path harness/Cargo.toml --all-targets -- -D warningsgit diff --checkFixes MOT-3868