GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — fix(mcpx): validate spec-parity input shapes by dezren39 · Pull Request #7046 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 43 minutes. View limit details
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 3a7532c66d
Your 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".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| for value in ("2025-03-26", {"revision": "2025-03-26"}, 7, | ||
| ["2025-03-26", ["2025-11-25"]], | ||
| ["2025-03-26", 7]): |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Cover the input-shape invariant with property tests
The new input-shape validation is covered only by fixed example tables, despite the repository testing doctrine requiring property coverage for parser invariants. Generate JSON values and use an independent array-of-strings predicate as the oracle to verify that invalid shapes consistently produce status=error, sleep=0, no traceback, and no record files. These examples can remain as smoke coverage, but should not be the sole validation of that invariant.
AGENTS.md reference: AGENTS.md:L41-L45
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 0151da5 (task 13293's sibling shepherd task 13324, lane any-a): added ShapePropertyTests to test_spec_parity.py — a seeded generator of arbitrary JSON values (null/bool/int/float/str/list/dict, nested) checked against an independent oracle stated in the test (a list field is valid iff list-of-strings; a record field iff object-or-null). For every generated invalid shape the CLI must produce the graceful error (status=error, sleep=0, no traceback, no success/failure record files); for every valid shape it must not raise that field's shape error. Non-vacuity is asserted (min invalid/valid counts per field). Suite now: python3 pkgs/mcpx/scripts/test_spec_parity.py — 16 tests OK (14 example + 2 property); adjacent test_conformance_record.py and test_gotest_report.py OK.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
3a7532c to
0151da5
Compare
|
🤖 Agent note · done — rebased, Codex P1 fixed, merging (task 13324, lane any-a)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
mcpx(spec-parity): revision lists, allow lists and the stored success/failure records are shape-trusted — a string list is compared as a character set and starts a false deadline clock, an object list passes as its keys, and wrong-shape stored records crash the gate with raw tracebacks
There was an error while loading. Please reload this page.