Repository navigation
Conversation
New page: Lifecycle hooks — On create, On claim and On restore, when each runs for a direct session and for a warm pool session, writing a hook, variable and input scopes, using hooks with a warm pool, a worked example, following a session's setup, failures (Run again, Rebuild, a pool's Setup failed state), converting warmup/startup templates, and the CLI, MCP and API surface. Screenshots of the template editor and the session page. Updated: templates, warm pools, key concepts, FAQ, CLI, MCP server, API and device preview link pages; glossary term and page entry; llms.txt entry; configuration sidebar renumbered to slot the page after Templates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
This is a draft until we release the feature for all customers. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It is a safety net against a stuck script, not something a template author plans around. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…agent, and the API Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ecycle Lifecycle hooks are a separate concept, so the section that lists running, terminated, and deleted is now named after what it describes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The English heading was renamed from Session lifecycle to Session states, and the link checker validates Japanese links against the English anchors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This reverts commit 5808856.
The heading text changes, the anchor doesn't: existing links keep working, including the Japanese pages, which the translation sync updates separately. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Documents lifecycle hooks for Remote Dev Environment templates: On create, On claim and On restore, the scripts that replace a template's warmup and startup scripts.
Draft on purpose. The pages describe the feature as released. Lifecycle hooks are still being rolled out workspace by workspace, and the CLI and MCP changes the pages refer to are in draft: bitrise-io/bitrise-cli#88 and bitrise-io/bitrise-mcp-dev-environments#53. Mark this ready once the rollout is complete and both are released.
New page
configuration/lifecycle-hooks.mdx:env -ufor secrets), no connections while On create runs, what survives a stop, hooks not waiting for a virtual device;Six screenshots in
static/img/rde/, cropped to the relevant element and captured at 2x, 30–90 KB each.Updated pages
configuration/templates.mdx: lifecycle hooks replace the warmup and startup section; scopes and protected variables; a session's snapshot includes its hooks.configuration/warm-pools.mdx: a pool runs On create; the claim sets up the owner's credentials and runs On claim with their inputs; claim inputs in the UI, CLI and API; the Setup failed state.getting-started/key-concepts.mdx,getting-started/rde-faq.mdx,index.mdx(new card),devices/device-preview-links.mdx,rde-options/bitrise-rde-cli.mdx(log stages,run-hook,rebuild),rde-options/bitrise-rde-mcp-server.mdx,configuration/rde-api.mdx.migration/glossary.jsonand the glossary page: Lifecycle hook term, updated Template definition.static/llms.txt: new entry.Checks
docusaurus build --locale enpasses, with no broken links or anchors on the RDE pages.Before marking ready
🤖 Generated with Claude Code