Skip to content

Enable SRE coverage for AlitaBot#300

Merged
Szer merged 1 commit into
mainfrom
fix/alita-sre-enabled
Jul 27, 2026
Merged

Enable SRE coverage for AlitaBot#300
Szer merged 1 commit into
mainfrom
fix/alita-sre-enabled

Conversation

@Szer

@Szer Szer commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Found by the SRE drill

A deliberate startup failure was deployed to AlitaBot prod (run 30255492040). verify-deploy.sh worked perfectly:

FAILED: Pod is not healthy after 180s grace period. Health: Progressing
Failure class: app

Correct detection, correct app classification (validating #279 against a real crashloop). Then nothing happenednotify-failure: skipped, sre: skipped.

Cause: alita-deploy.yml:45 set sre-enabled: false, so AlitaBot was the one bot in the fleet with no SRE coverage — while .github/prompts/sre.md states "every bot in this monorepo opts into SRE coverage by default, including future ones." Documentation asserting the opposite of configuration.

Why flip it now

The original false was a considered choice, and its comment is retained: a brand-new bot's first deploys deserve a human reading verify-deploy.sh output directly rather than an agent with no track record. That reasoning has expired — AlitaBot has run in prod since 2026-07-22, and the point of the drill is to build exactly that track record on the safest bot in the fleet.

Note AlitaBot remains excluded from the product role (.github/bots.yml, roles: [monitor, sre]) — it has 13 chat messages ever, so a product agent there would produce filler. That exclusion is intentional and unrelated.

🤖 Generated with Claude Code

https://claude.ai/code/session_01P41roCWN5Fec7m69sSaunU

Found by the 2026-07-27 SRE drill: a deliberate startup failure was deployed
to AlitaBot prod, verify-deploy.sh correctly detected it and classified it
`app`, and then nothing happened — `notify-failure` and `sre` both skipped,
because alita-deploy.yml set `sre-enabled: false`.

AlitaBot was therefore the ONE bot in the fleet with no SRE coverage, while
`.github/prompts/sre.md` simultaneously stated "every bot in this monorepo
opts into SRE coverage by default, including future ones" — documentation
asserting the opposite of configuration, which is exactly the kind of gap
that reads as covered until you test it.

The original `false` was a considered choice (comment retained): a brand-new
bot's first deploys deserve a human reading verify-deploy output directly
rather than an agent with no track record. That reasoning has expired —
AlitaBot has run in prod since 2026-07-22.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P41roCWN5Fec7m69sSaunU
@Szer
Szer merged commit 0701b55 into main Jul 27, 2026
5 checks passed
@Szer
Szer deleted the fix/alita-sre-enabled branch July 27, 2026 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant