Repository navigation
Description
Split from #3484.
Problem: The implementation tests cannot prove the live dotfiles behavior offline. A live run needs the dotfiles repository, the runner image, and GitHub access. Why deferred: The main change can be delivered and tested offline without this run. Acceptance criteria: A dotfiles item runs the implement job with no docs declaration. The job skips the docs step and the archive step. The job ends with a draft pull request. The job comment names each skipped step. A read-only path stop does not use class ci_infra or action retry. Rule digest does not clear the stop on a new image.
Proposed design
Problem statement
The implement job of a dotfiles item must skip the docs and archive steps, name each skipped step, and end with a draft pull request. No offline test proves this live behavior. The change adds one live test module that the default suite skips. A person runs the module on demand against a dedicated test repository. The module also asserts that a read-only path stop takes class read_only_path.
Acceptance criteria
Requirement: Live module skips without credentials
The live test module SHALL skip each live test when DEVOPS_LIVE_REPO or DEVOPS_LIVE_TOKEN is unset.
Scenario: Offline run of the live module
- WHEN
uv run pytest tests/roadmap/implement/test_implement_live_dotfiles.py -qruns with both variables unset. - THEN pytest reports each live test as skipped and exits 0.
Requirement: Skip reason names both variables
The skip reason SHALL name DEVOPS_LIVE_REPO and DEVOPS_LIVE_TOKEN.
Scenario: Short skip summary
- WHEN
uv run pytest tests/roadmap/implement/test_implement_live_dotfiles.py -q -rsruns with both variables unset. - THEN the short summary shows a skip reason that names both variables, and pytest exits 0.
Requirement: Live module holds the two cases
The module SHALL hold one test for the dotfiles item and one test for the read-only path item.
Scenario: Collection of the live module
- WHEN
uv run pytest tests/roadmap/implement/test_implement_live_dotfiles.py --collect-only -qruns. - THEN the output names
test_dotfiles_item_ends_with_a_draft_pull_requestandtest_read_only_path_stop_names_its_class.
Requirement: Pending a person after the merge
The live test SHALL assert the dotfiles and read-only outcomes when a person runs it with both live variables set.
Scenario: Live run against the test repository
- WHEN a person sets
DEVOPS_LIVE_REPOandDEVOPS_LIVE_TOKEN, seeds the two Planned items, and runsuv run pytest tests/roadmap/implement/test_implement_live_dotfiles.py. - THEN the test passes. It shows that the dotfiles item skips the docs and archive steps, names each skipped step, and ends with an open draft pull request. It shows that the read-only item stops with class
read_only_pathand stays Blocked.
Existing Tool Considered
No alternatives check has run. No open, maintained tool or library covers a live end-to-end run of this project's implement Job against a real GitHub repository and its runner image. vcrpy and pytest-recording replay HTTP only. act runs GitHub Actions workflows, not a Kubernetes Job. kind gives a local cluster but no GitHub. The change builds its own live test. The cost is about 20k tokens to build the test and its assertions. Each later fix costs about 2k tokens. The test repository and its token need upkeep. The run takes about one hour.
Key questions
- Which class and action does a stop at a write to a read-only path get?: The class is
read_only_pathand the action iswait. The cause rules matchRead-only file systemorEROFSbefore theci_infrafallback.ACTION_BY_CLASSmapsread_only_pathtowaitandci_infratoretry. [sources: src/devops_cli/roadmap/failure.py] - Does the digest round clear a stop whose action is not
retry?: No.src/devops_cli/roadmap/stop_clear.pyreadsACTION_BY_CLASS. It clears a stop only when the action isretry.read_only_pathgiveswait, so a new runner image leaves the item Blocked. [sources: src/devops_cli/roadmap/stop_clear.py, src/devops_cli/roadmap/failure.py] - How does the default suite keep the live test out of the required checks?: A separate module holds the live tests. Each test skips when
DEVOPS_LIVE_REPOorDEVOPS_LIVE_TOKENis unset. The required checks set neither variable, so they run no live test. (best practice) [sources: pyproject.toml, CONTEXT.md]- Chosen: Separate module with a skipif decorator. The default run collects the module and skips each test. A person selects the module by its path.
- Rejected: Reuse the
livemarker.pyproject.tomldescribesliveas tests that need local tool binaries. A GitHub test would make that description wrong. - Rejected: Add the live tests to the existing implement test module. The live tests would mix with the offline tests, and a person could not select them alone.
- How does the test hold the dotfiles case apart from the read-only case?: The test repository holds two Planned items. One item reaches a draft pull request. The other item stops at a read-only path. A stop ends the job, so one item cannot show both outcomes. (best practice) [sources: src/devops_cli/roadmap/failure.py, CONTEXT.md]
- Chosen: Two Planned items in the test repository. Each item shows one outcome, and the dotfiles item reaches its draft pull request.
- Rejected: One item for both outcomes. A read-only path stop ends the job before the draft pull request.
- Rejected: Check the read-only stop offline only. The issue asks for a live run of the stop.
- How does the test find its two items?: The test repository holds one item for each case with a fixed title. The test finds each item by its title. It needs no third variable. (best practice) [sources: CONTEXT.md]
- Chosen: Fixed titles in the dedicated test repository. The title finds the item with no extra secret or variable.
- Rejected: A third variable
DEVOPS_LIVE_ITEM. It adds a setting that a person must keep in step with the test repository. - Rejected: Create the items at run time. It needs a merged plan and the Planned state, which is outside the behavior under test.
- How does the proposal cover rule
digest?: The live run cannot set a new runner image digest, because the Service holds the digest. The stop-clear rule gets an offline test in a new issue. The live test asserts only the stop class and the Blocked state. (best practice) [sources: src/devops_cli/roadmap/stop_clear.py, tests/roadmap/test_roadmap_stop_clear.py]- Chosen: Offline test of the stop-clear rule in a new issue. The test controls the digest and runs offline on each check.
- Rejected: Wait for a real runner image rollout. A rollout is an outside event, so the test cannot run on demand.
- Rejected: Write a new digest into the stop record in the live test. The Service holds the digest, and the test cannot set it.
- How does the live test know that the implement job ended?: The test polls the item on GitHub. It reads the labels and comments until the item leaves In Progress or the job comment appears. It uses a timeout and needs no cluster access. (best practice) [sources: CONTEXT.md]
- Chosen: Poll the item on GitHub. The test needs no Kubernetes token and no cluster access.
- Rejected: Read the runner Job. The test has no Kubernetes token and no cluster access.
- Rejected: Wait a fixed time. A fixed wait is fragile and slow.
- Does the runner Job mount a path read-only?: Yes. The comment of the read-only path rule names a path that the Job mounts read-only. The rule matches
Read-only file systemorEROFS. [sources: src/devops_cli/roadmap/failure.py]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 4, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
testprefix of the title gives the type.(roadmap)scope of the title gives the scope.The main fix ships without this test, but live verification is needed before full confidence.It proves the live dotfiles path works end to end, which offline tests cannot cover.It needs the dotfiles repository, a runner image, and GitHub access to execute.Both concern the implement job skipping docs and archive steps for a dotfiles repo; #3484 delivers the fix, the candidate adds a live-run test for it.devops-cli-service commentedon Nov 5, 2026
Refine cannot set this item to Ready at f481be8 until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
[-]test(roadmap): verify a dotfiles item reaches a draft pull request in a live run[/-][+]test(roadmap): verify a dotfiles item makes a draft PR in a live run[/+]dan-petty commentedon Nov 6, 2026
The job shortened the title of this item. The summary had 65 characters, and the limit is 60. The type and the scope stay.
test(roadmap): verify a dotfiles item reaches a draft pull request in a live runtest(roadmap): verify a dotfiles item makes a draft PR in a live rundevops-cli-service commentedon Nov 13, 2026
Refine cannot set this item to Ready at 4ef7c6f until a person answers the questions below. Reply in a comment or edit the body, and the next refine round looks at the item again.
dan-petty commentedon Nov 20, 2026
Frozen on 2026-11-20. The stage, implement and fix-checks jobs grade under 60%, so the owner rule asks for a re-architecture before more fixes inside the current design (tracker #6519). This item is incremental work on those jobs, so its Dependencies section now names #6521 first. Stage and implement leave this item while #6521 is open. When the experiments of #6519 decide, a person closes #6521 (this item can then continue) or closes this item as not planned.
devops-cli-service commentedon Nov 20, 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
devops-cli-service commentedon Nov 25, 2026
Next step: the open items close, or a person replies in a comment or edits the body. See Dependencies in the section Proposed design of the body.
devops-cli-service commentedon Dec 1, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.