Repository navigation
Add managed snapshots and portable reports - #66
Merged
Merged
Conversation
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.
Repeated failures now produce distinct snapshots, and
DumpManagerkeeps a bounded directory ordered by file modification time. Automatic names are shortened by encoded byte length to leave room for atomic temporary files. Thread and asyncio hooks preserve previous handlers when saving fails, retain later third-party wrappers, and support restoration and reinstallation without duplicate captures.Add capture metadata, optional embedded source for offline debugging, and
--json,--info, and standalone--htmlreports. Refresh stale source caches, show stored source when local files are missing or changed, and retain unlimited and legacy exception details. HTML output escapes unencodable diagnostic text and completes rendering before opening the destination. Byte-budget reduction omits source before reducing captured variables.Serialize through gzip directly into one atomic temporary file. Invalid destinations fail before capture, and commit failures do not retry serialization. PID capture sends only non-default options for compatibility with older targets. Split snapshot capture, hooks, and reporting into focused modules while retaining existing public imports; update the English and Chinese READMEs, API documentation, tutorial, changelog, and capture benchmark.
Closes #65
Validation
frozendict.git diff --check, and strict Sphinx HTML build passed.The existing CI matrix validates Python 3.11–3.15 on Linux and Python 3.14 on Windows and macOS, plus documentation, quality, and distribution checks. No package publication or new release is included.