Skip to content

fix: restore legacy usage backups safely#25

Merged
ssfun merged 1 commit into
mainfrom
codex/fix-backup-import
Jul 22, 2026
Merged

fix: restore legacy usage backups safely#25
ssfun merged 1 commit into
mainfrom
codex/fix-backup-import

Conversation

@ssfun

@ssfun ssfun commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • force Docker WebDAV restore to use the explicit legacy import compatibility flag during the transition
  • allocate model price rule revisions from the highest retained history version instead of the active version
  • add a manifest-backed import regression test for retained model price history and update documentation

Validation

  • PYTHONPYCACHEPREFIX=/private/tmp/cliproxy-backup-import-pycache bash scripts/validation/repo.sh
  • Core v7.2.95: complete scripts/validation/core.sh on a fresh generated checkout
  • regression: TestUsageImportRestoresModelPriceRuleWhenOnlyNewerHistoryRemains
  • full embeddedusage tests and server build

@ssfun
ssfun merged commit 9fe8801 into main Jul 22, 2026
5 checks passed
@ssfun
ssfun deleted the codex/fix-backup-import branch July 22, 2026 17:48
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