Skip to content

docs(infra): document the no-drain restart class in CONTEXT.md #6731

Done

Description

@devops-cli-service

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 apply term with the class name and the words skips 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 docs check 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 apply term name the service-restart-nodrain class 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 class service-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.md hold the no-drain class?: In the Infra apply term. The Disruptive class term already names the class, and the body names the Infra apply term. (best practice) [sources: CONTEXT.md]
    • Chosen: Extend the Infra apply term. The body names that term, and the Disruptive class term already holds the class name.
    • Rejected: Add a new term for the no-drain restart. It repeats the Disruptive class term and adds no fact.
  • How does the project prove a prose change to CONTEXT.md?: Use a grep of the term and the docs check. The grep shows the text offline, and the docs row of Static Analysis is 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 docs check. The grep shows the text offline, and the docs row 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.
  • Who reviews the text of the Infra apply term?: 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 apply term? (a person decides)

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    type/docs
    scope/infra
    source/agent
    status/new
    value/medium
    effort/low
    on Nov 22, 2026
  2. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    ContributorAuthor
  3. devops-cli-service commented on Nov 22, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See the first point of Open questions in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  4. removed
    status/new
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/infrasource/agenttype/docsvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions