Send lifecycle protocol headers and verify bootstrap recovery - #11
Merged
Conversation
|
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 |
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.
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.