Repository navigation
Conversation
POC for Types on releases (Milestone 6): - `--keep` keeps the session's hidden release when the session ends. - `--release <id>` checks the release exists, then syncs with it without seeding, so release-only models are pulled instead of deleted. It keeps the release too. - The session file records `keep`, and stale-session cleanup leaves kept releases alone. - Prints `Release:` and `Page Builder:` lines after `Type Builder:`. - `PRISMIC_STAGE` sends Custom Types requests to `https://api.internal.{host}/{stage}/custom-type/` for obelix PR previews. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Part of the Types on releases end-to-end POC (Milestones 5 to 7). This is a demo branch, not for review.
What
prismic dev --keepcreates the hidden release and keeps it after the session.prismic dev --release <id>attaches to an existing release and keeps it. Two flags becauseparseArgscan't take an optional value and-ris--repo.keep; stopping and stale-session cleanup skip the release delete when it is set. Attaching skips the seed push and pulls release-only models.Release: <id>andPage Builder: …/builder/upcoming/<id>after the Type Builder link.PRISMIC_STAGEroutes Custom Types calls to an obelix preview stage (https://api.internal.<host>/<stage>/…).--no-browser.Testing
Typecheck, lint and tests pass.
Related PRs
prismic dev --keepand--release🤖 Generated with Claude Code