Skip to content

test(core): reject null no-expectations metadata - #1024

Merged
ben-challis merged 1 commit into
codex/fix-test-metadata-nonfinite-diagnosticsfrom
codex/test-metadata-null-no-expectations-wire
Jul 30, 2026
Merged

test(core): reject null no-expectations metadata#1024
ben-challis merged 1 commit into
codex/fix-test-metadata-nonfinite-diagnosticsfrom
codex/test-metadata-null-no-expectations-wire

Conversation

@ben-challis

Copy link
Copy Markdown
Owner

An omitted noExpectations field uses the backward-compatible false default, but an explicit null must remain an invalid wire shape. Add a focused public-contract test that distinguishes those cases and pins the exact diagnostic.

@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@ben-challis
ben-challis merged commit 44b689d into codex/fix-test-metadata-nonfinite-diagnostics Jul 30, 2026
16 checks passed
@ben-challis
ben-challis deleted the codex/test-metadata-null-no-expectations-wire branch July 30, 2026 10:32
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