Repository navigation
docs(shipping): add Error Budget Release Gate section - #415
Conversation
|
Good content, but the placement is off. observability-and-instrumentation already works in SLO terms (its alerting section justifies thresholds "by the SLO"), so defining SLOs, error budgets, and burn-rate alerts in shipping-and-launch splits the concept across two skills. The one piece that's genuinely shipping's is "the error budget gates the release", that decision belongs here. I'd move the SLO, budget, and burn-rate definitions into observability (or just reference them) and keep only the release-gate call in shipping, rather than redefining the concept in a second place. |
|
Agreed on the placement. The SLI/SLO/error-budget definitions belong in |
|
Agreed, and the four-state ship / slow rollouts / freeze / resume policy is precisely the piece shipping owns. Trim to that plus a cross-reference to observability for the definitions and it's a clean fit. |
|
The trim is already in — pushed the cut at the same time I replied earlier. The section is now just the four-state policy table plus a cross-reference to |
addyosmani
left a comment
There was a problem hiding this comment.
This is a real improvement on the earlier cut, and it lands the concern I had before. Last time the SLO material read like it was setting up definitions that belong in observability-and-instrumentation. This version doesn't do that: it defers the SLO/SLI setup to that skill and keeps only the part that is genuinely a shipping decision, which is the error budget as a release gate. That is the right split. The budget-remaining table maps cleanly to "should I ship right now," and wiring burn rate into the existing rollout thresholds as a hold signal is a nice touch because it reuses machinery the skill already has rather than inventing a parallel one. Clean, green, additive. Approving.
There was a problem hiding this comment.
Thanks @HMAKT99 — the trimmed version is a clean fit: the release-gate table, the burn-rate note, and the rationalization/red-flag/verification additions all match the file's existing structure, and the "hold" signal claim lines up with the existing Rollout Decision Thresholds table.
Blocking: both new cross-references in skills/shipping-and-launch/SKILL.md ("defined by its SLO in observability-and-instrumentation", and the checklist's "see observability-and-instrumentation for SLO/SLI setup") point at content that doesn't exist yet — that skill currently has no SLO/SLI/error-budget definitions (just one passing "justified by the SLO" under Alerting) and no burn-rate coverage. Please land the definitions there first (companion PR), or soften these two pointers until it does.
Nit: the PR title still says "add SLOs and Error Budgets section", but the section is now "Error Budget Release Gate" — worth updating before squash-merge.
Nit: consider also listing the observability pointer under this file's existing "See Also" section, where its cross-references live.
@addyosmani looping you in since the approval note says this "defers the SLO/SLI setup to that skill" — I checked and that content isn't in observability-and-instrumentation yet (one passing "justified by the SLO" under Alerting, same single mention in references/observability-checklist.md; no SLI/error-budget/burn-rate coverage). Am I missing something? If not, this actually matches your Jul 21 point: the definitions were cut from shipping but never landed in observability. I'd suggest a companion PR there, or softening the two pointers here in the meantime.
|
Good catch, @federicobartoli — you're right that the cross-references were overpromising. Fixed in the latest push:
Validator 0/0. |
4bba245 to
a3f4315
Compare
|
All four points from my July review are addressed :both pointers, the title, and the See Also placement. Thanks for the thorough pass. One residual slipped through in the move, though: the new See Also line carries the same "SLO setup" phrasing that the latest push scrubbed from the body, and that content still doesn't exist in observability-and-instrumentation. Could you reword it to what's actually there today: "- For the alerting rules and SLO-tied thresholds, see And restating the other half of my July either/or, since it's still open: the SLO/SLI/error-budget definitions you trimmed from the first cut are exactly what observability is missing, and Addy already pointed at that home. If you ever want to bring them back as the companion PR there, this See Also can grow back to cover it once it lands. With the one-line reword I'll flip my review to approve. |
Adds SLI/SLO/error-budget definitions, the budget-gates-releases policy (ship → slow → freeze → reset), guidance on setting initial targets from baseline measurement rather than aspiration, burn rate alerting, and the four-nines trap warning. Cross-links to the rollout thresholds table already in the skill. Adds two rationalization rows, three red flags, and three verification checkboxes.
…vability Per review feedback: SLI/SLO/budget definitions belong in observability-and- instrumentation where alerting threshold language already uses them. Keeps only the release-gate decision table (ship / slow / freeze / resume) and the burn-rate-as-hold-signal note that are genuinely shipping's concern.
Remove two claims that SLO/SLI definitions exist in observability-and-instrumentation (they don't yet). Soften to self-contained language; move the cross-reference to the See Also section where it belongs. Also fixes PR title nit via commit.
a3f4315 to
cca4df5
Compare
|
Thanks @federicobartoli — the one-line reword is in the latest push. The See Also entry now reads exactly as you suggested: "For the alerting rules and SLO-tied thresholds, see |
federicobartoli
left a comment
There was a problem hiding this comment.
The See Also line now reads as agreed and no longer promises SLO definitions that observability does not have yet. Everything else from the July round is still in place. Approving. The companion PR bringing the SLO, SLI and error-budget definitions into observability-and-instrumentation is still a good follow-up if you feel like it.
What this adds
A
## SLOs and Error Budgetssection inskills/shipping-and-launch/SKILL.md, covering:Plus two rationalization rows, three red flags, and three verification checkboxes.
The gap it fills
The skill already references SLOs — the Staged Rollout section says thresholds should be "justified by the SLO or by historical data." But the skill never defines what an SLO is, how to set one, or what happens when the error budget runs out. Engineers are told to justify thresholds against an SLO without being taught the framework that produces one.
Non-duplication check
observability-and-instrumentationteaches how to instrument for visibility. This section teaches the target that gives instrumentation its meaning — what "good" looks like and how much failure is acceptable before feature work stops. The skills are complementary, not overlapping.Checklist
node scripts/validate-skills.js→ 0 errors, 0 warningsskills/shipping-and-launch/SKILL.md