Skip to content

Make backups restorable and validate release publication - #63

Merged
rangaNP merged 1 commit into
mainfrom
fix/restorable-backups-and-release-validation
Nov 23, 2026
Merged

rangaNP merged 1 commit into
mainfrom
fix/restorable-backups-and-release-validation

Conversation

@rangaNP

@rangaNP rangaNP commented Nov 23, 2026

Copy link
Copy Markdown
Member

Summary

  • Use one backup writer for both import paths. Keep the new backup and the four most recent earlier backups by modification time, with deterministic timestamp ties and protection for unrelated entries.
  • Apply the same archive limits to reading, writing, and import results. Support 64 profiles, 20,000 tab records across windows, and files up to 16 MiB. Preserve the existing destination and backups when a write is rejected.
  • Offer a local session-folder recovery path when a workspace is too large for a portable export.
  • Validate published stable release metadata and required assets for both Homebrew triggers. Verify the checksum against the downloaded ZIP before preparing the cask.

Verification

  • All 1,060 Swift package tests and 13 release-script tests passed locally. Regression controls reproduced the earlier backup, capacity, and publication failures.
  • Tested 32- and 33-profile archives, the profile/tab/byte limits, additional windows, failed writes and import growth, and recovery of an oversized session snapshot.
  • Stable release, repair rerun, rejected metadata, missing asset, and checksum tests used local fixtures.
  • Debug build for testing and Release build passed deep, strict signature verification. All 80 native UI tests compiled. Local XCTest discovery timed out while enabling automation.

@rangaNP
rangaNP merged commit 777b792 into main Nov 23, 2026
5 checks passed
@rangaNP
rangaNP deleted the fix/restorable-backups-and-release-validation branch November 23, 2026 00:52
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