Skip to content

Accept shared containers while rejecting reference cycles - #22

Merged
Code0x58 merged 1 commit into
masterfrom
codex/accept-shared-json-values
Oct 18, 2026
Merged

Code0x58 merged 1 commit into
masterfrom
codex/accept-shared-json-values

Conversation

@Code0x58

@Code0x58 Code0x58 commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Cycle detection now tracks only the active traversal path across dictionaries, lists, and tuples. Reusing the same container in sibling branches is accepted, while actual cycles raise ValueError before changing memory or disk.

Validation: 40 tests and 106 subtests pass, including shared containers, mixed tuple/list cycles, deferred commits, persisted round trips, and post-rejection recovery.

Stack position 9 of 9. Depends on #21; this PR targets codex/reject-invalid-values so its diff contains only this fix. Addresses review finding 4.

Stack overview: #14. This is the final PR.

@codecov

codecov Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (22ebc0f) to head (7ae59fa).
⚠️ Report is 2 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #22   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines          163       165    +2     
=========================================
+ Hits           163       165    +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@Code0x58
Code0x58 force-pushed the codex/accept-shared-json-values branch from b8f621e to 7a65fcd Compare October 18, 2026 15:13
@Code0x58
Code0x58 added this pull request to stack #23 October 18, 2026 15:39
@Code0x58
Code0x58 force-pushed the codex/accept-shared-json-values branch 7 times, most recently from 09b398a to 3c8d82b Compare October 18, 2026 18:49
Base automatically changed from codex/reject-invalid-values to master October 18, 2026 18:50
@Code0x58
Code0x58 force-pushed the codex/accept-shared-json-values branch from 3c8d82b to 7ae59fa Compare October 18, 2026 18:50
@Code0x58
Code0x58 merged commit a0665f9 into master Oct 18, 2026
16 checks passed
@Code0x58
Code0x58 deleted the codex/accept-shared-json-values branch October 18, 2026 18:51
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