Skip to content

Send lifecycle protocol headers and verify bootstrap recovery - #11

Merged
Aymericr merged 1 commit into
mainfrom
fix/lifecycle-upgrade-headers
Sep 8, 2026
Merged

Send lifecycle protocol headers and verify bootstrap recovery#11
Aymericr merged 1 commit into
mainfrom
fix/lifecycle-upgrade-headers

Conversation

@Aymericr

@Aymericr Aymericr commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Direct upgrades failed with HTTP 426 while reusing the saved installation: lifecycle setup omitted the API version and client contract headers required by the authenticated service. Send those headers on registration and authenticated status requests, while keeping public metadata and artifact downloads unauthenticated and free of API headers.

Release 0.5.2 retains quiet defaults and documents recovery with a freshly verified bootstrap helper for existing direct installations. Credentials, receipts, pins and manager ownership remain preserved.

Validation: 69 client/lifecycle tests passed with the fixture enforcing the production header requirements and rejecting credentials or API headers on public downloads; an external helper recovery test preserves the recorded 0.5.0 installation, credential, receipt and pin. Typecheck, validation and template/build checks passed. The documented bootstrap hash command accepts matching bytes and rejects a wrong digest.

@pascal

pascal Bot commented Sep 8, 2026

Copy link
Copy Markdown

I hit an error while handling your request (Model unavailable on AI Gateway free tier: Free tier users do not have access to this model. Upgrade to paid credits at https://vercel.com/d?to=%2F%5Bteam%5D%2F%7E%2Fai%3Fmodal%3Dtop-up for unrestricted…).

Please try again, rephrase, or reach out if it keeps failing.

Error id: 9378794c-dca8-48f2-b414-e2b67003b162

@Aymericr
Aymericr merged commit 8794dca into main Sep 8, 2026
1 check passed
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