Repository navigation
Preserve update-time user files and make release preparation idempotent - #83
Merged
Merged
Conversation
This was referenced Nov 30, 2026
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.
Updates currently copy user files during preparation, so later edits/deletions can be replaced with stale staged copies. Apply now verifies content/access snapshots of both trees before exchanging directories, checks again after the old directory is moved and after startup verification, and rolls back on detected changes. Old plans without snapshots are refused. Retained recovery trees and external-writer limits are documented.
Release preparation now refuses published versions before building, serializes tag/dispatch runs together, reuses complete drafts and resumes missing uploads from the original verified workflow artifacts. It never overwrites release assets or publishes a release. A hidden inventory ties each draft to its originating commit/run/digests; conflicting or ambiguous state is refused.
Validation: 171 .NET tests and 21 Python tests passed locally. Coverage includes between-phase additions/edits/deletions, staged-copy modification, rollback/recovery data, repeated preparation, interrupted upload acknowledgement, published-version refusal, conflicting metadata/assets and workflow serialization. Read-only live preflight refused the published beta.2. Native Windows/Linux/macOS CI, updater-helper acceptance, JSON compatibility and startup checks passed on f1d00d7. Native run: https://github.com/Anheledir/SidePulse.NET/actions/runs/46415178615. The native helper fixtures now use the real preparation API and verify post-Prepare user-file refusal as well as successful replacement and rollback.
The existing extra beta.2 draft was inspected and retained as unpublished evidence because its asset hashes differ from the published release. No public release/tag/assets were changed. Audit: docs/reviews/release-draft-2026-11-30.md.
Closes #54. Closes #57.