test: add property and mutation coverage for core invariants - #506
test: add property and mutation coverage for core invariants#506mldangelo-oai wants to merge 12 commits into
Conversation
|
@codex review Please review the current head |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review Please review the refreshed head |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Security review completed. No security issues were found in this pull request. Reviewed commit: ℹ️ About Codex security reviews in GitHubThis is an experimental Codex feature. Security reviews are triggered when:
Once complete, Codex will leave suggestions, or a comment if no findings are found. |
|
@codex review Please review the additive refresh at |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex security review Please review the exact refreshed head |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
The base branch was changed.
|
@codex review Please review the main-based head |
|
@codex security review Please review exact main-based head |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Add deterministic, behavior-focused tests for the SDK's core invariants and a small mutation-testing trial.
Part 2 of 4 in the test-quality stack. #504 has merged; this PR is now based on main.
Changes
Testing
eb839e7b, Bun 1.3.14, seed 1: 115 focused cost, error, progress, contract, publication, and comparison tests passed.git diff --check: passed.eb839e7b: no findings.e4b3ef94hit an unchanged Windows subprocess test and then a pre-existing replacement-lock test in its CI retry. The lock correction is handled separately in fix: preserve exact multiscan lock identities #563. CI will rerun on the new main-based head.Risk and rollout
The production change is a pure cost-module extraction with the existing public exports retained. The package allowlist includes the new emitted module. Property and mutation tooling are development-only. The refreshed parent preserves default test randomization and the Windows timeout allowance. When replaying a shrink path, select the failing file and test name. Mutation testing remains diagnostic until repeated runs establish a useful baseline.
Public disclosure review