Repository navigation
Description
Split from #6338.
The Infra apply term of CONTEXT.md does not name the no-drain restart class. The issue asks for the document to name it. A test cannot assert prose in a Markdown file, so the documentation part is deferred. Acceptance criteria: the Infra apply term of CONTEXT.md names service-restart-nodrain and states that the drain check and drain are skipped. A person reviews the text.
Proposed design
Problem statement
The Infra apply term of CONTEXT.md must name the service-restart-nodrain class and state that the apply skips the drain check and the drain. The term already holds this text at the refined commit. No prose remains to write. A test cannot assert prose in a Markdown file, so a grep of the term and the docs check are the proof. A person reviews the text.
Acceptance criteria
Requirement: Infra apply names the no-drain class
The Infra apply term of CONTEXT.md SHALL name the service-restart-nodrain class and state that the apply skips the drain check and the drain.
Scenario: The term holds the class and the skip
- WHEN a reviewer runs
git grep -n 'service-restart-nodrain' CONTEXT.md - THEN the output shows the
Infra applyterm with the class name and the wordsskips the drain check and the drain.
Requirement: The docs check accepts CONTEXT.md
The change MUST keep the docs row of Static Analysis passing on CONTEXT.md.
Scenario: The docs check passes
- WHEN a person runs
uv run devops ci --check --only docs - THEN the command shows the
docscheck pass.
Existing Tool Considered
No alternatives check has run. No open, maintained tool covers a prose edit of the project's own glossary: CONTEXT.md is the project's document, and no tool writes it. The project builds no code for this change, so it has no build cost. The cost is one sentence that CONTEXT.md already holds and the person review of it.
Key questions
- Does the
Infra applyterm name theservice-restart-nodrainclass and the skipped drain check and drain at the refined commit?: Yes. The term says that a host whose disruptive classes are all of the classservice-restart-nodrain:<unit>is cordoned instead, runs the fresh check, the run, the Ready wait, the health of the nodes, the uncordon and the alerts, and skips the drain check and the drain. [sources: CONTEXT.md] - Where does
CONTEXT.mdhold the no-drain class?: In theInfra applyterm. TheDisruptive classterm already names the class, and the body names theInfra applyterm. (best practice) [sources: CONTEXT.md]- Chosen: Extend the
Infra applyterm. The body names that term, and theDisruptive classterm already holds the class name. - Rejected: Add a new term for the no-drain restart. It repeats the
Disruptive classterm and adds no fact.
- Chosen: Extend the
- How does the project prove a prose change to
CONTEXT.md?: Use a grep of the term and thedocscheck. The grep shows the text offline, and thedocsrow ofStatic Analysisis the binding check (ADR 0004). (best practice) [sources: CONTEXT.md, docs/adr/0004-ci-is-the-authoritative-gate.md]- Chosen: A grep of the term plus the
docscheck. The grep shows the text offline, and thedocsrow is the binding CI gate. - Rejected: A test that asserts the substring in
CONTEXT.md. A test of prose breaks on each wording change and asserts no meaning. - Rejected: The person review alone. It leaves the change with no offline proof.
- Chosen: A grep of the term plus the
- Who reviews the text of the
Infra applyterm?: The reviewer of the pull request. A person reviews the text and merges the pull request, and no job merges it. (a person decides)
Open questions
- Who reviews the text of the
Infra applyterm? (a person decides)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 22, 2026
Both concern the no-drain restart class, but #6338 delivers a code fix and the candidate delivers a documentation update in CONTEXT.md.devops-cli-service commentedon Nov 22, 2026
Owner question: See the first point of Open questions in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence