Skip to content

Fix bridge startup with legacy artifacts#123

Merged
appatalks merged 1 commit into
mainfrom
fix/legacy-artifact-startup
Jul 13, 2026
Merged

Fix bridge startup with legacy artifacts#123
appatalks merged 1 commit into
mainfrom
fix/legacy-artifact-startup

Conversation

@appatalks

Copy link
Copy Markdown
Owner

Root cause

Eva 5.4 correctly requires a durable artifact epoch, but pre-identity releases stored files directly under the artifact root without an epoch. That verified legacy layout caused the bridge to fail closed with exit code 2.

Fix

  • detect only the exact pre-epoch flat regular-file layout
  • acquire the durable epoch lock across detection, atomic detachment, and initialization
  • durably block the namespace before detachment
  • quarantine legacy bytes without deleting them or re-authorizing them
  • retain fail-closed behavior for missing epochs in current/nested stores

Validation

  • complete nine-suite release matrix passed
  • Action Plane: 174 tests passed
  • real bridge startup integration against a temporary legacy store passed
  • concurrent initialization test proves one migration and unique monotonic epochs
  • migration failure test proves the namespace remains durably blocked

@appatalks appatalks merged commit fdc9853 into main Jul 13, 2026
8 checks passed
@appatalks appatalks deleted the fix/legacy-artifact-startup branch July 13, 2026 23:02
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