Skip to content

[0.42-r2 M7] parity contract test matrix is thin — extend to error/JSON/405 shapes #587

Description

@SisyphusZheng

Severity: medium · Category: test gap

Evidence. request-time-parity.test.ts asserts 6 groups. Round-2 review asks for the error/negotiation family: fetch-header 404 JSON, action-throw 500 (dev detail vs prod scrub divergence is EXPECTED — assert the documented divergence honestly), Response-contract-violation 500, 405, and the 303→GET redirect chain.

Fix. Extend the parity test with these groups, marking intentional dev/prod divergences explicitly.


Filed from the 0.42 round-2 review (docs/audit/2026-07-28-alpha5-round2-review.md). Target line: 0.42.0-alpha.6.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.42.0-alpha.60.42 round-2 review remediation (morph client hardening)test

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions