Repository navigation
feat: brainpod rollback - #26
Merged
Merged
Conversation
Wrap POST /v1/pods/{pod}/rollback/{revision}: restore an earlier revision as the draft head, or deploy it with --deploy [--wait]. Correct redeploy's description: the API retries the current failed head, it does not redeploy the live revision.
dmeijboom
approved these changes
Nov 25, 2026
jeroenrinzema
added a commit
to brainpodnl/skills
that referenced
this pull request
Nov 25, 2026
- Code reaches a pod through GitHub: BrainPod onboarding shapes and builds the pod; the agent gets the code there, answers onboarding's questions with the user, and fixes code through pull requests the user merges. - Replace deploy.md with onboard.md; add local-build.md as the discouraged fallback; rework operate.md (PR-based code changes, services, secrets, rollback) and debug.md (builds, OIDC, tunnels). - Cut SKILL.md from 635 to ~320 lines; gate on `brainpod api` and `brainpod rollback` (brainpodnl/cli#26, #27). - Bump all three manifests to 2.0.0; update README and AGENTS.md.
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.
Summary
Adds
brainpod rollback, wrappingPOST /v1/pods/{pod}/rollback/{revision}. The API has had it for a while; the CLI and the agent skill still told users there was no rollback.brainpod --pod <pod> deploy [--summary <text>] [--wait] [--timeout <seconds>] brainpod --pod <pod> redeploy +brainpod --pod <pod> rollback <revision> [--deploy [--wait] [--timeout <seconds>]]--waitrequires--deploy;--timeoutrequires--wait(default 90s, asdeploy).describe rollbackmarks the effectconditional-deploymentand states that the current undeployed draft is replaced.nextStepspoints atrevision diff <draft> --base <deployed>, because the new draft's parent is the restored revision, so a barerevision diffwould be empty.redeploy's help anddescribetext: the API retries the pod's current failed head; it never redeploys the live revision. The old wording pushed agents towardsredeployas a restart or rollback.deployandrollback --waitshare onedeployment_revisionhelper.Evidence
cargo test: 238 passed, includingrejects_rollback_wait_without_deployandparses_rollback_deploy_and_wait.cargo clippy --all-targets: no new warnings.brainpod describe rollback --jsonreturns the effect, requirements (apiToken,pod), next steps and examples.Merge Danger
Door: two-way. It adds a command and changes help text only.
Blast Radius: small. Agents that read
describe redeployget the corrected effect text.