Repository navigation
Release hackbot agents and services by version - #7469
Merged
suhaibmujahid merged 2 commits intoNov 12, 2026
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The stage Sentry deploy environment mismatches runtime events, and the agent pipeline’s one-hour wait can expire while an earlier build is still within its allowed two-hour runtime.
2 open issues
What changed in this PR
Changes Hackbot’s release flow so stage deployments follow package versions rather than routine source changes, while dedicated dev branches support sandbox deployments.
Changes:
- Adds version-aware release planning, deployment records, and build queuing.
- Updates agent and service pipelines to target one environment and track versioned Sentry releases.
- Makes production promotion manually initiated and updates documentation and tests.
| File | Description |
|---|---|
| tools/hackbot-deploy/tests/test_manifest.py | Tests VERSION file parsing and validation. |
| tools/hackbot-deploy/tests/test_deploy.py | Tests release planning, execution, metadata, and build waiting. |
| tools/hackbot-deploy/README.md | Documents version-based releases and promotion workflows. |
| tools/hackbot-deploy/hackbot_deploy/release.py | Adds release planning and batch deployment logic. |
| tools/hackbot-deploy/hackbot_deploy/manifest.py | Reads and validates package versions. |
| tools/hackbot-deploy/hackbot_deploy/deploy.py | Records versions, checks release eligibility, and waits for older builds. |
| tools/hackbot-deploy/hackbot_deploy/cli.py | Exposes release planning, execution, and waiting commands. |
| services/hackbot-ui/cloudbuild.yaml | Adds environment-specific UI releases and versioned Sentry tracking. |
| services/hackbot-api/cloudbuild.yaml | Adds environment-specific API releases and versioned Sentry tracking. |
| agents/cloudbuild.yaml | Builds and deploys planned agents to one environment. |
| .github/workflows/hackbot-prod-deploy.yml | Removes automatic promotion offers and records production Sentry deploys. |
Review effort: Balanced
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.

Fixes #7468