Skip to content

feat(dataset): add sharded SnapshotDB compatibility, import/export and dataset-global analysis (#198–#205) - #216

Merged
codeasier merged 9 commits into
mainfrom
fix/issue-205-chain-67e26f4
Oct 6, 2026
Merged

codeasier merged 9 commits into
mainfrom
fix/issue-205-chain-67e26f4

Conversation

@codeasier

@codeasier codeasier commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

📝 Description

Adds the complete sharded SnapshotDB compatibility chain for #198–#205 as one linear PR — one local commit per issue, no merge commits — based on main at 09244150ef2a3485aca3d7d23b0f0af0a07f2cb9.

Head: c6ed41b069b7fc474360871af02333f5e8d0d764 (tree 03f19c9d2cbacb827d3b0a3c2a96c2b4b305f114), 9 commits, 86 files, +14219/−192.

Contracts kept intact throughout: negative boundary events never count, route or rank as real events; addressing is only consecutive where the format guarantees it; native/standalone transport and the P0 schema are unchanged; no original producer rerun, no new committed pickle, no vendored upstream implementation. Provenance entries are appended, never rewritten, and the Mulan PSL v2 / CC BY 4.0 attribution stays separate from the project MIT license.

🔗 Related Issue

Refs #198, #199, #200, #201, #202, #203, #204, #205.

Deliberately no auto-closing keywords: GUI, C++ server and installed-wheel acceptance are still human-deferred, so every issue stays open after merge.

🧪 Testing

  • Tests added/updated
  • Manual testing completed

Manual verification means real local CLI/API focus, query and report runs plus the isolated acceptance runner. The C++/GUI consumer was not exercised and is not claimed.

  • Full suite, project defaults with branches enabled (python -m pytest --cov --cov-report=xml --cov-report=term-missing): 1927 passed, combined line+branch 92.4613% (raw line 94.0198%, raw branch 87.2866%), above the fail_under = 90 gate.
  • Critical runtime files: import backend 91.8919% ≥ 90, simulated allocator 90.2655% ≥ 88, snapshot mutator 85.4489% ≥ 84.
  • Focused run 1699 passed; after-staging governance 27 passed; post-commit regression 1726 passed.
  • Ruff, Black, git diff --check clean; basedpyright 0 errors (1169 informational warnings), with the existing strict Any/Unknown gates untouched.
  • Fixture provenance gate (7 passed) runs before any committed-pickle loading.
  • Snapshot provenance guard passes for 0924415..c6ed41b with a nonempty PR body.
  • Independent verification on this exact committed head: fixture provenance 7 passed, then 260 regressions across acceptance, benchmark, skills/harness contracts, bundled-skill parity, CLI/API contract, dataset-global and attribution suites, with all 30 delivered files byte-identical before and after.
  • Authentic pinned original artifact (Ascend/msinsight revision 101f65b877a267ffd5f66ea3834706057ba243e5, unmodified, 8092 real events, 10 boundary rows, 5 closed-WAL shards): all 11 builtins, 3219 lifecycles, 325 terminal survival candidates, 60 all-action stack groups, full plus 5 per-shard ranges, 12 attribution points, global paging with exact totals and 3 metric reports.

✅ Checklist

  • Code follows project guidelines
  • Documentation updated (if applicable)
  • No new warnings introduced
  • Changes tested locally

"No new warnings" is scoped: the pre-existing external pytest-asyncio startup deprecation and the existing informational type warnings are unchanged rather than hidden, and ResourceWarning / PytestUnraisableExceptionWarning stay errors.

Snapshot Runtime Provenance

  • Snapshot provenance evaluation completed when snapshot runtime files change
    Snapshot provenance decision: updated

📸 Screenshots (if applicable)

Not applicable — this PR contains no user-interface or C++ changes.

📋 Additional Notes

@codeasier codeasier changed the title test: add sharded interoperability acceptance and docs (#205) feat(dataset): add sharded SnapshotDB compatibility, import/export and dataset-global analysis (#198–#205) Oct 6, 2026
@codeasier
codeasier changed the base branch from fix/issue-204-chain-67e26f4 to main October 6, 2026 13:38
@codeasier
codeasier merged commit 7c33464 into main Oct 6, 2026
12 of 18 checks passed
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