Repository navigation
Conversation
7 tasks done
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Description
Part of the #198–#205 dependency stack, based on
fix/issue-200-chain-67e26f4(stacked on #200). Merge in issue order; after the parent merges, retarget this PR tomain.Commits in this PR:
ad6d4b8feat: publish transactional native snapshot datasets ([FEATURE] 分库 import 的事务发布、数据集缓存与 focus 回滚 #201)26 files changed, 2525 insertions(+), 83 deletions(-):
README.md
README_zh.md
docs/en/database.md
docs/en/focus-management.md
docs/en/quickstart.md
docs/en/sharded-snapshotdb.md
docs/zh/database.md
docs/zh/focus-management.md
docs/zh/quickstart.md
docs/zh/sharded-snapshotdb.md
src/pt_snap_cli/cli.py
src/pt_snap_cli/core/dataset_files.py
src/pt_snap_cli/core/dataset_import_backend.py
src/pt_snap_cli/core/dataset_resolver.py
src/pt_snap_cli/core/focus_service.py
src/pt_snap_cli/core/import_metadata.py
src/pt_snap_cli/core/import_metadata_contract.py
src/pt_snap_cli/core/import_service.py
src/pt_snap_cli/core/models.py
src/pt_snap_cli/core/native_dataset_contract.py
src/pt_snap_cli/core/overview_service.py
src/pt_snap_cli/core/query_service.py
tests/core/test_dataset_import.py
tests/core/test_dataset_import_failures.py
tests/test_dataset_import_cli.py
tests/test_native_dataset.py
🔗 Related Issue
Refs #201 — deliberately no auto-closing keywords; the issue stays open because GUI/C++/installed-wheel acceptance is human-deferred.
Review comment: #201 (comment)
🧪 Testing
Transactional import, rollback/restore and publish-without-replace paths exercised locally, including the foreign-carrier and same-inode checkpoint regressions that produced the hardening.
✅ Checklist
"No new warnings" keeps the pre-existing external pytest-asyncio startup deprecation and existing informational type warnings unchanged rather than hidden;
ResourceWarning/PytestUnraisableExceptionWarningremain errors.Snapshot Runtime Provenance
No snapshot runtime files change in this PR, so no provenance declaration is required.
📸 Screenshots (if applicable)
Not applicable — no user-interface or C++ changes in this PR.
📋 Additional Notes
main; this stacked PR runs CI once it is retargeted tomainafter [FEATURE] 将 manifest 分片数据集作为整份 focus,只读兼容 MemSnapDump 产物 #200 merges.Head SHA:
ad6d4b8f736319b483c66bae7715eca1025055ce; branchfix/issue-201-chain-67e26f4. All checks above were recorded locally on this exact head; the C++/GUI consumer and installed-wheel profile remain untested and unclaimed.