Repository navigation
API-only projects stop mentioning a Studio; Workers sites turn off Astro sessions - #16
Merged
Merged
Conversation
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.
Closes #8. Closes #9.
#8. Workers full-site
astro.config.mjssetssession: false. @astrojs/cloudflare stops adding aSESSIONKV namespace to the deploy (verifiedkv_namespaces: []andwrangler deploy --dry-runbinds only DB, MEDIA, IMAGES, ASSETS). Neither site template uses Astro sessions, actions or server islands;astro checkpasses (session: falseexists since astro 7.2, we pin ^7.3.2). Existing deployments keep their unused namespace.#9. API-only projects: README "Make it yours" lines no longer cite the Studio;
.gitignoredropspublic/studio/; the claim-secret comment (manifest, shared by both targets) reads "the first person to reach the instance claim it…, from the Studio or with POST /api/auth/claim".92 unit tests, including Node and Workers copies of the claim text (mutation-checked). Smoke workers-full, workers-conference, workers-api pass. Reviewed by Codex (clean) and an executing reviewer (9 mutants, fixes applied). Left as is: sample content in API-only magazine projects still mentions the Studio — filed separately.