Repository navigation
Description
Problem
Renovate can push a commit and change the title of a pull request at the same time. GitHub then starts two runs of the PR title workflow on one head commit. The reusable workflow .github/workflows/pr-title.yml has a concurrency group with cancel-in-progress: true, so the second run cancels the first run.
The cancelled check run stays on the head commit beside the successful one. Renovate merges only when each check run is success, neutral or skipped. So Renovate never merges that pull request.
Evidence
dan-petty/homelab#393, head 4ec868f56: two PR title runs started 1 second apart on 2026-11-26 22:21 UTC. One was cancelled and one passed. Each other check passed. The Renovate run of 00:17 UTC did not merge it. dan-petty/homelab#409, with no cancelled run, merged in the same Renovate run.
Proposed remedy
Remove the concurrency group of the job. The job is short, so two runs cost little. A group with cancel-in-progress: false is not enough, because GitHub also cancels a run that waits in a group.
Acceptance criteria
- Two title events on one head commit leave no cancelled check run.
- A test in
tests/fails if the workflow gets a concurrency group again.
Related: dan-petty/homelab#415 (the cost of Actions minutes).
Alternatives check of 2026-11-27: none.
Tool: none found.
Reason: Searches surfaced only workflow linters and YAML query tools: actionlint and zizmor check syntax and security, yq queries keys, but none asserts a missing job-level concurrency key or removes the cancelled run blocking automerge.
Covers:
- Workflow syntax and expression validation by actionlint
- Security auditing of workflow files by zizmor
- YAML key lookup for the proposed shell test
Lacks:
- No rule asserts absence of a job-level concurrency key
- No linter detects cancelled duplicate runs blocking automerge
- No tool edits the workflow or writes the regression test
Proposed design
Problem statement
Renovate can push a commit and change the title of a pull request at the same time. GitHub then starts two runs of the PR title workflow on one head commit. The job concurrency group cancels the first run, the cancelled check run stays on the head commit, and Renovate never merges that pull request. Commit f1067fd moved .github/workflows/pr-title.yml from dan-petty/infra to dan-petty/github-workflows, and that repository still sets jobs.semantic-title.concurrency. The caller .github/workflows/pr-title-caller.yml of this repository sets no concurrency key, so no change here removes the cancelled run. This item waits on the release of dan-petty/github-workflows, on the Renovate pin update and on a live proof.
Acceptance criteria
Requirement: Pin names the release without job concurrency
The caller .github/workflows/pr-title-caller.yml MUST pin pr-title.yml at a release of dan-petty/github-workflows whose job semantic-title has no concurrency key.
Scenario: Pin check after the upstream release
- WHEN a person reads the tag of the pin in
.github/workflows/pr-title-caller.ymlafter Renovate moves it and runsgh api repos/dan-petty/github-workflows/contents/.github/workflows/pr-title.yml?ref=<tag> - THEN the returned file has no
concurrencykey underjobs.semantic-title
Requirement: Pending a person after the merge
A person MUST confirm after the pin moves that two title events on one head commit leave no cancelled PR title check run.
Scenario: Post-merge title event proof
- WHEN a person edits the title of one pull request twice in quick succession after the pin moves
- THEN no check run of the head commit has the conclusion
cancelled
Existing Tool Considered
The alternatives check in the issue body records the verdict none and no tool; read that block for the tools it considered and what each one lacks. No open tool removes a job-level concurrency key or moves the pin. The proposal therefore writes no code in this repository: the fix is a deletion in dan-petty/github-workflows, and Renovate moves the pin here. The regression test of the deferred part is a short shell script beside the workflow in dan-petty/github-workflows, about 1,000 tokens and 20 minutes to write and keep.
Key questions
- Where must the job concurrency group be removed?: In
dan-petty/github-workflows, in.github/workflows/pr-title.yml: delete theconcurrencyblock ofjobs.semantic-title. The caller.github/workflows/pr-title-caller.ymlof this repository calls that workflow and sets no concurrency key, so it cannot stop the cancellation. (best practice) [sources: README.md, .github/workflows/pr-title-caller.yml]- Chosen: Remove the block in dan-petty/github-workflows. The job that sets the concurrency group is in that repository, and a caller cannot override the job of a reusable workflow.
- Rejected: Set cancel-in-progress to false in this repository. The caller sets no concurrency key, and GitHub also cancels a run that waits in a group.
- Rejected: Copy the title check into dan-petty/infra. README.md keeps the reusable workflows in dan-petty/github-workflows, and a copy would drift from the template.
- How does the pin of
.github/workflows/pr-title-caller.ymlmove to the new release?: Renovate moves it. README.md states that the callers inci.yml,pr-title-caller.ymlandrelease-caller.ymlare the own files of infra and that Renovate moves their pins, with the github-actions manager andpinDigestsofrenovate/base.json. (best practice) [sources: README.md, renovate/base.json]- Chosen: Let Renovate open the pin update. README.md gives one owner to each pin, and Renovate moves the pins of these callers.
- Rejected: Move the pin by hand. A hand pin duplicates the Renovate update and can name a commit that is not the commit of the release tag.
- Can a test in
tests/fail when the PR title workflow gets a job concurrency group again?: No. The workflow is not in this repository, and a test intests/reads files of this repository offline. The regression test belongs indan-petty/github-workflowsbesidepr-title.yml, and this item defers that part. (best practice) [sources: README.md, AGENTS.md]- Chosen: Add the test in dan-petty/github-workflows. The test reads the workflow file in the repository that holds it.
- Rejected: Add a shell test in tests/ of this repository. No file of this repository holds the job concurrency group, so the test asserts nothing about the cancelled run.
- Rejected: Add a test that fetches the pinned workflow. The checks run offline, and the one network test of this repository needs a GitHub token.
- Does README.md of this commit still name
pr-title.ymlas a workflow that sets the concurrency of its job?: No. README.md has no sentence about a concurrency group ofpr-title.yml. Its layout table names.github/workflows/pr-title-caller.ymlonly as the caller ofpr-title.yml, so this item changes no README sentence. [sources: README.md]
Fit
Fits in one pull request.
Suspected block
a release of dan-petty/github-workflows that removes the concurrency key of jobs.semantic-title in .github/workflows/pr-title.yml
Dependencies
None.
Watched files
A commit on the default branch that changes one of these files starts the next refine round.
.github/workflows/pr-title-caller.yml
Activity
devops-cli-service commentedon Nov 27, 2026
Item 38 created the pr-title.yml workflow; this candidate fixes a concurrency bug in that workflow.devops-cli-service commentedon Nov 27, 2026
Next step: the alternatives check records a verdict. See the section Proposed design of the body.
devops-cli-service commentedon Nov 27, 2026
The result in the alternatives block of the issue body changed. Before this check: no check. A person decides what the new result means for the item.
Searches (10)
Tools considered:
Searches run:
Sources:
devops-cli-service commentedon Nov 27, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
devops-cli-service commentedon Nov 28, 2026
Plan state: branch
fix/198-a-cancelled-pr-title-run-stops, draft pull request dan-petty/infra#245. The pull request plans the item and closes no issue. The stage job and the step fix-plan edit this comment, and a comment of each run tells what the run did.The task groups, with the tokens of the inputs of each step, for a budget of 64000 tokens:
A model review of the plan found these points. They stop no draft, and a person judges them:
criterion_droppedat issue (Two title events on one head commit leave no cancelled check run.): No group of the plan removes the job concurrency group that leaves the cancelled check run, so no task delivers this criterion; the plan only adds a README sentence and maps the criterion topending-person. Evidence: "- Two title events on one head commit leave no cancelled check run."criterion_droppedat issue (A test intests/fails if the workflow gets a concurrency group again.): The plan creates no test undertests/and changes no code or data that such a test would guard, so this criterion has no task; the plan defers it to thetests/of another repository. Evidence: "- A test intests/fails if the workflow gets a concurrency group again."verify_format tasks (1): The group's verify command does not run the group's work:uv run devops ci docschecks the documents of devops-cli, not infra's README, so it passes whatever the README says. Evidence: "uv run devops ci docschecks the documents of devops-cli, not of infra."false_premiseat proposal (feasibility): The plan justifies guarding only the caller with the claim that no test of infra reaches the network, buttests/test-renovate-presets.shreads the GitHub API with a token in CI (the lookup is necessary whenCI=true), so the claim is false. The guard therefore cannot fail when the reusable PR title workflow of dan-petty/github-workflows regains the group. Evidence: "a test cannot read the workflow of another repository without a network and no test of infra reaches the network"false_premiseat proposal (feasibility): The plan reports that itssearch_codeforconcurrencyreturned two lines of an archived design document, but the tree holds only one such line (the archived design of 200-take-the-runner-as-an-input), so the reported probe output is wrong. Evidence: "and two lines of an archived design document"devops-cli-service commentedon Nov 28, 2026
The stage job staged the plan of draft pull request dan-petty/infra#245. The plan state comment of dan-petty/infra#245 holds the branch, the task groups and the findings.
The runs of the planner and the review made 81 model request(s), and used 4367055 input tokens and 321068 output tokens. The tool calls, in order:
list_files({"directory":".github/workflows"})list_files({"directory":"tests"})search_code({"text":"concurrency"})search_code({"text":"pr-title"})git_show({"commit":"f1067fd","path":".github/workflows/pr-title.yml"})search_code({"text":"concurrency of their job"})read_file({"path":"tests/renovate/.github/workflows/pr-title.yml"})read_file({"path":".github/workflows/pr-title-caller.yml"})search_code({"text":"cancel-in-progress"})search_code({"text":"infra-pr-title"})read_file({"path":"README.md","start_line":120,"end_line":150})references({"name":"pr-title"})read_file({"path":"openspec/changes/archive/2026-11-27-234-use-github-workflows/proposal.md"})read_file({"path":"openspec/changes/archive/2026-11-27-234-use-github-workflows/design.md"})list_files({"directory":"openspec/specs"})read_spec({"capability":"renovate-titles"})search_code({"text":"workflow_call"})read_file({"path":".github/workflows/ci.yml","start_line":1,"end_line":40})list_files({"directory":".github"})find_issues({"terms":"pr-title concurrency"})read_issue({"number":38})search_code({"text":"ignoreChecks"})list_files({"directory":"openspec/changes"})search_code({"text":"automerge"})list_files({"directory":"scripts"})read_file({"path":"README.md","start_line":84,"end_line":96})search_code({"text":"devops"})read_file({"path":"pyproject.toml"})read_file({"path":"openspec/changes/169-use-one-mise-data-folder-for/tasks.md"})list_files({"directory":".github/workflows"})list_files({"directory":"tests"})read_file({"path":"tests/renovate/.github/workflows/pr-title.yml"})search_code({"text":"concurrency"})read_file({"path":".github/workflows/pr-title-caller.yml"})search_code({"text":"cancel-in-progress"})search_code({"text":"set the concurrency"})read_file({"path":"README.md","start_line":118,"end_line":140})read_file({"path":"README.md","start_line":85,"end_line":100})search_code({"text":"concurrency of their job"})search_code({"text":"workflow_call"})list_files({"directory":""})list_files({"directory":"openspec/specs"})find_issues({"terms":"pr-title concurrency"})list_files({"directory":"github"})list_files({"directory":".devops"})list_files({"directory":"openspec/changes/archive/2026-11-27-234-use-github-workflows"})read_spec({"capability":"pr-title-scopes"})read_file({"path":"openspec/changes/archive/2026-11-27-234-use-github-workflows/proposal.md"})read_file({"path":".devops/project.toml"})read_file({"path":"github/repository.yaml"})git_show({"commit":"f1067fd","path":".github/workflows/pr-title.yml"})read_file({"path":".github/workflows/ci.yml","start_line":1,"end_line":26})search_code({"text":"infra-pr-title"})search_code({"text":"ignoreChecks"})list_files({"directory":"scripts"})references({"name":"infra-pr-title"})git_show({"commit":"f1067fd","path":"README.md"})list_files({"directory":".github/workflows"})list_files({"directory":"tests"})git_log({"path":".github/workflows/pr-title.yml"})search_code({"text":"concurrency"})read_file({"path":"README.md","start_line":110,"end_line":170})search_code({"text":"set the concurrency"})search_code({"text":"pr-title.yml"})git_show({"commit":"f1067fd","path":".github/workflows/pr-title.yml"})search_code({"text":"concurrency of their job"})search_code({"text":"cancel-in-progress"})search_code({"text":"semantic-title"})list_files({"directory":"tests/renovate"})search_code({"text":"ignoreChecks"})list_files({"directory":"tests/renovate/.github"})list_files({"directory":"openspec/changes/archive"})references({"name":"infra-pr-title"})read_file({"path":".github/workflows/ci.yml","start_line":1,"end_line":30})list_files({"directory":"tests/renovate/.github/workflows"})read_file({"path":"openspec/changes/archive/2026-11-27-234-use-github-workflows/proposal.md"})read_file({"path":".github/workflows/pr-title-caller.yml"})git_log({"path":".github/workflows/release.yml"})search_code({"text":"devops ci"})search_code({"text":"uv run devops"})git_show({"commit":"f1067fd","path":"README.md"})search_code({"text":"actionlint"})git_show({"commit":"f1067fd","path":".github/workflows"})read_file({"path":"tests/renovate/.github/workflows/pr-title.yml"})git_log({})list_files({"directory":"openspec/changes"})read_file({"path":"openspec/changes/175-hold-the-pages-and-collaborator-settings/proposal.md","start_line":40,"end_line":60})read_file({"path":"README.md","start_line":164,"end_line":215})read_spec({})search_code({"text":"their job"})search_code({"text":"infra-pr-title"})search_code({"text":"docs"})read_file({"path":"openspec/changes/169-use-one-mise-data-folder-for/tasks.md"})read_file({"path":"openspec/changes/175-hold-the-pages-and-collaborator-settings/design.md","start_line":1,"end_line":30})search_code({"text":"Verification"})list_files({"directory":""})list_files({"directory":".devops"})search_code({"text":"verify"})read_file({"path":".devops/project.toml"})search_code({"text":"skip_specs"})read_file({"path":"openspec/config.yaml"})read_file({"path":"openspec/changes/169-use-one-mise-data-folder-for/proposal.md"})research_lookup({"question":"Can a caller of a reusable GitHub Actions workflow remove or override the concurrency group that the called reusable workflow sets on its job?"})research_grep({"term":"reusable workflow"})read_comment({"number":0})list_files({"directory":""})list_files({"directory":".github/workflows"})read_file({"path":"README.md","start_line":115,"end_line":150})read_file({"path":".github/workflows/pr-title-caller.yml"})read_file({"path":"tests/renovate/.github/workflows/pr-title.yml"})list_files({"directory":"tests"})list_files({"directory":".devops"})list_files({"directory":"github"})list_files({"directory":"openspec/changes"})read_file({"path":".devops/project.toml"})read_file({"path":"tests/test-renovate-presets.sh","end_line":60})search_code({"text":"concurrency"})read_file({"path":".github/workflows/ci.yml","end_line":40})read_file({"path":"github/repository.yaml"})list_files({"directory":"scripts"})read_spec({})read_spec({"capability":"pr-title-scopes"})read_spec({"capability":"renovate-titles"})read_spec({"capability":"ci-check-names"})list_files({"directory":"openspec/changes/archive"})git_log({"path":".github/workflows/pr-title.yml"})git_show({"commit":"f1067fd","path":".github/workflows/pr-title.yml"})read_file({"path":"openspec/changes/archive/2026-11-27-234-use-github-workflows/proposal.md"})search_code({"text":"cancel-in-progress"})search_code({"text":"infra-pr-title"})list_files({"directory":"openspec/changes/archive/2026-11-27-200-take-the-runner-as-an-input"})list_files({"directory":"openspec/changes/archive/2026-11-27-200-take-the-runner-as-an-input/specs"})list_files({"directory":"openspec/changes/archive/2026-11-27-214-pin-the-workflow-callers-to-a-sha"})list_files({"directory":"openspec/changes/archive/2026-11-27-214-pin-the-workflow-callers-to-a-sha/specs"})read_file({"path":"openspec/changes/archive/2026-11-27-200-take-the-runner-as-an-input/specs/reusable-workflow-runner/spec.md"})search_code({"text":"actionlint"})find_issues({"terms":"pr-title concurrency cancelled"})references({"name":"pr-title-caller"})read_file({"path":"openspec/specs/pr-title-scopes/spec.md"})read_file({"path":".github/workflows/ci.yml","start_line":400,"end_line":470})read_file({"path":"openspec/changes/175-hold-the-pages-and-collaborator-settings/tasks.md"})list_files({"directory":"openspec/changes/175-hold-the-pages-and-collaborator-settings"})read_file({"path":"openspec/changes/174-keep-the-container-start-series-of/tasks.md"})read_file({"path":"openspec/changes/169-use-one-mise-data-folder-for/tasks.md"})search_code({"text":"--check --only"})read_file({"path":"openspec/changes/166-update-the-images-of-a-service/tasks.md"})read_file({"path":"mise.toml","start_line":6,"end_line":24})list_files({"directory":".github/workflows"})read_file({"path":".github/workflows/pr-title-caller.yml"})search_code({"text":"pr-title.yml"})search_code({"text":"concurrency"})read_file({"path":"README.md","start_line":120,"end_line":195})search_code({"text":"concurrency of their job"})search_code({"text":"test-pr-title-scopes"})read_file({"path":".github/workflows/ci.yml","start_line":1,"end_line":115})read_file({"path":".github/workflows/ci.yml","start_line":115,"end_line":260})search_code({"text":"actionlint"})read_file({"end_line":460,"path":".github/workflows/ci.yml","start_line":415})find_issues({"terms":"pr-title concurrency"})read_file({"path":"mise.toml","start_line":1,"end_line":24})read_file({"path":"tests/renovate/.github/workflows/pr-title.yml"})list_files({"directory":".github/workflows"})list_files({"directory":"tests"})git_log({"path":".github/workflows/pr-title.yml"})read_file({"path":".github/workflows/pr-title-caller.yml"})git_show({"commit":"f1067fd","path":".github/workflows/pr-title.yml"})search_code({"text":"concurrency"})search_code({"text":"concurrency of their job"})search_code({"text":"cancel-in-progress"})read_file({"path":"README.md","start_line":100,"end_line":200})read_file({"path":".github/workflows/ci.yml","start_line":405,"end_line":480})read_file({"path":"mise.toml"})list_files({"directory":"tests/renovate/.github/workflows"})read_file({"path":"tests/renovate/.github/workflows/pr-title.yml"})list_files({"directory":"openspec/specs"})references({"name":"concurrency"})list_files({"directory":"openspec/specs/pr-title-scopes"})read_file({"path":".github/workflows/ci.yml","start_line":85,"end_line":100})find_issues({"terms":"pr-title concurrency"})read_file({"path":"tests/test-renovate-presets.sh","start_line":1,"end_line":60})git_log({})read_issue({"number":198})list_files({"directory":"openspec/changes"})read_file({"path":"openspec/specs/pr-title-scopes/spec.md"})read_file({"path":"openspec/specs/ci-check-names/spec.md"})read_file({"path":"pyproject.toml"})search_code({"text":"devops"})read_file({"path":"openspec/changes/174-keep-the-container-start-series-of/tasks.md"})read_file({"path":"openspec/changes/174-keep-the-container-start-series-of/design.md"})read_file({"path":"openspec/config.yaml"})git_show({"commit":"f1067fd","path":"README.md"})search_code({"text":"Concurrency"})list_files({"directory":"openspec/changes/archive"})read_file({"path":"openspec/changes/archive/2026-11-27-200-take-the-runner-as-an-input/design.md","start_line":1,"end_line":30})list_files({"directory":"openspec/changes/archive/2026-11-27-234-use-github-workflows"})read_file({"path":"openspec/changes/archive/2026-11-27-234-use-github-workflows/design.md"})read_file({"path":"openspec/changes/archive/2026-11-27-234-use-github-workflows/proposal.md"})list_files({"directory":"openspec/changes/archive/2026-11-27-234-use-github-workflows/specs"})read_file({"path":".github/workflows/release-caller.yml"})read_file({"path":".yamllint.yaml"})Tool calls: find_issues=5 (empty=0), git_log=6 (empty=0), git_show=9 (empty=0), list_files=46 (empty=0), read_comment=1 (empty=0), read_file=70 (empty=0), read_issue=2 (empty=0), read_spec=7 (empty=0), references=5 (empty=2), research_grep=1 (empty=1), research_lookup=1 (empty=0), search_code=47 (empty=15)
The stage job read the open pull requests and their files in 1 GraphQL request(s).
The plan request held these comments of the item whole: #30 (comment), #30 (comment), #30 (comment), #30 (comment).
2 remaining items
devops-cli-service commentedon Nov 28, 2026
Plan pull request dan-petty/infra#245 closed with no merge. The job waits for an edit of the text of this item, or for a commit that changes a file that the reason names.
The reason, from the last comment of dan-petty on the pull request:
devops-cli-service commentedon Nov 28, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 30, 2026
An agent built this item on the branch
fix/198-title-run-cancelof dan-petty/github-workflows (head8116a442abf9b5864951935ddadc4258fce04da5). No pull request is open.Change:
pr-title.ymlsets no concurrency group,README.mdagrees, and the OpenSpec change198-title-check-runsis archived.Test: no test reads the workflow. The owner decided on 2026-11-16 and 2026-11-25 that no test asserts the content of a workflow or a config file. Thus the criterion "A test in
tests/fails if the workflow gets a concurrency group again" is not delivered. actionlint and zizmor pass on the branch. The live title proof needs the pull request, so it is not done.Blocker:
devops pr createopened nothing:The body has no line "Closes #<issue>".It needs this line in a repository withopenspec/config.yaml. This issue is in dan-petty/infra, and the pull request must close no issue of dan-petty/infra.Pending a person: transfer this issue:
gh issue transfer 198 dan-petty/github-workflows --repo dan-petty/infraThen an agent:
Closes #<new number>.check-runs?filter=allof the head commit. No title run iscancelled.fix(ci): stop the cancelled run of the title check
dan-petty commentedon Nov 30, 2026
Draft pull request: #31. It replaces the pending steps of the comment before this one.
tests/fails if the workflow gets a concurrency group again.chore(main): release 0.3.1 (#36)