Repository navigation
Description
Split from #4909.
The live run of Monday 2026-11-16 opened #6028 and #6029, and prHourlyLimit 2 stopped further pull requests. The push load of a full week on dan-petty/devops-cli has no number yet. Why it is deferred: the count exists only after a full week of scheduled runs (every 2 hours at minute 17), and no command produces it now. Acceptance criteria: the Renovate section of docs/CLUSTER.md gives the count of Renovate pushes on dan-petty/devops-cli in the first full week, and the count is 40 or fewer; the record states whether prHourlyLimit 2 stopped a pull request that the backlog needed; uv run devops ci --check --only docs passes on the change.
Proposed design
Problem statement
The self-hosted Renovate instance that dan-petty/homelab#95 runs updates dan-petty/devops-cli, but no record gives the count of pull requests that it opens there in a full week. Without that count the record cannot show whether prHourlyLimit 2 stops a pull request that the backlog needs. The count exists only after a full week of scheduled runs.
Acceptance criteria
Requirement: Renovate pull request count recorded
The Renovate section of docs/CLUSTER.md SHALL state the count of pull requests that the self-hosted Renovate App opened on dan-petty/devops-cli in the first full Monday-to-Sunday UTC week of scheduled Renovate runs on the homelab instance, and SHALL name the first and last day of that week.
Scenario: The documented count matches the GitHub search
- WHEN A person runs
uv run devops gh api 'search/issues?q=repo:dan-petty/devops-cli+is:pr+author:app/dan-petty-renovate+created:<first>..<last>' --jq '.total_count', with<first>and<last>the first and last day that the Renovate section names. - THEN The command prints the count, and the Renovate section states the same count and the first and last day of the same week.
Requirement: Push count under the cap
The count that the Renovate section states MUST be 40 or fewer.
Scenario: The stated count stays at or below 40
- WHEN A person runs
uv run devops gh api 'search/issues?q=repo:dan-petty/devops-cli+is:pr+author:app/dan-petty-renovate+created:<first>..<last>' --jq '.total_count'for the week that the Renovate section names. - THEN The command prints a count of 40 or fewer, and the Renovate section states that the count is within the limit.
Requirement: Hourly limit effect recorded
The Renovate section of docs/CLUSTER.md SHALL state whether prHourlyLimit 2 stopped a pull request that the backlog needed in that week.
Scenario: The record names the stopped pull request or says that none was stopped
- WHEN A person reads the Renovate run log of the homelab instance and the Dependency Dashboard for the week that the Renovate section names.
- THEN The Renovate section states the result, and it names the pull request and the backlog item when the limit stopped one.
Requirement: Docs check passes
The change to docs/CLUSTER.md MUST pass the documentation check.
Scenario: The documentation check passes
- WHEN A person runs
uv run devops ci --check --only docson the change. - THEN The command exits 0.
Existing Tool Considered
No alternatives check has run. The open, maintained GitHub CLI (gh) covers the read: uv run devops gh api 'search/issues?q=...' --jq '.total_count' calls GitHub's search API. It lacks a Renovate-specific counter and a record of the hourly limit. The change writes documentation only and builds no code, so it has no cost to build, keep or fix.
Key questions
- Which Renovate instance and repository does the count cover?: The self-hosted Renovate instance that
dan-petty/homelab#95runs, counted ondan-petty/devops-cli. The owner moved the workload out of the product intodan-petty/homelab#95, and the GitHub App installation still updatesdan-petty/devops-cli. (best practice) [sources: docs/CLUSTER.md, .github/renovate.json, docs/adr/0032-infrastructure-templates-live-in-four-homes.md]- Chosen: Homelab instance on dan-petty/devops-cli. The issue names devops-cli, and the App installation still updates that repository.
- Rejected: Homelab instance on dan-petty/homelab. The issue names devops-cli, and a count on homelab records another repository.
- Rejected: Old instance in k8s/devops/renovate. refactor(k8s): move self-hosted Renovate out of the product #6684 moved the workload out of the product, so that instance no longer runs.
- Rejected: Hosted Mend Renovate app. The project runs self-hosted Renovate, so the hosted app is not the instance that homelab#95 runs.
- Which source gives the count of Renovate pull requests for the week?: The GitHub search API for pull requests by the self-hosted Renovate App in
dan-petty/devops-cli, created in the named week, read withuv run devops gh api 'search/issues?q=...' --jq '.total_count'. The project already counts with this search and searches bot pull requests withauthor:app/<slug>. (best practice) [sources: docs/commands/gh.md, AGENTS.md, src/devops_cli/roadmap/pr_verdict.py]- Chosen: GitHub search API through devops gh api. It gives one reproducible count for the week, and the project already counts with this search.
- Rejected: Renovate run logs. The logs show the limit but give no single count for the week.
- Rejected: Git commit count by author. A push can hold many commits, so commits do not count pull requests.
- Rejected: The Renovate report JSON. The report covers one run's updates, not the pull requests of a week.
- Which login or App slug identifies the self-hosted Renovate in the search?: The GitHub App is
dan-petty-renovate, so the search usesauthor:app/dan-petty-renovate. This avoids the brackets of the bot login in a URL. It is notrenovate[bot], the login of the hosted Mend app. [sources: docs/CONFIGURATION.md, .github/workflows/fail-to-pass.yml, src/devops_cli/roadmap/pr_verdict.py] - Which week does the count cover?: The first full Monday 00:00 UTC to Sunday 23:59 UTC week in which the homelab Renovate instance runs every scheduled run of the week. The record names the first and last day so that the search can be repeated. (best practice) [sources: CONTRIBUTING.md, docs/CLUSTER.md, openspec/changes/archive/2026-11-12-4896-make-renovate-cover-every-pin-on/proposal.md]
- Chosen: The first full Monday-to-Sunday UTC week of the homelab instance. The preset groups the updates on Monday (UTC), so a calendar week holds every scheduled run and no partial day.
- Rejected: The week of 2026-11-16 that opened fix(deps): update certifi to v2026.10.23 #6028 and chore(deps): update container images (patch) #6029. That was the local instance's first run, before the workload moved to homelab; the count must cover the live homelab instance.
- Rejected: The seven days after the instance starts. A start in the middle of a day gives a partial first day and a partial last day, so the count covers no full week.
- Rejected: The week that
dan-petty/homelab#95merges. The merge day can be partial, and the instance may start later; the count needs a full week.
- Where does the record of the count go?: The Renovate section of
docs/CLUSTER.md. The issue names this section, anduv run devops ci --check --only docscovers it. (best practice) [sources: docs/CLUSTER.md]- Chosen: The Renovate section of docs/CLUSTER.md. The issue names this section, and the docs check of this repository covers it.
- Rejected: A new document. The issue asks for the Renovate section of
docs/CLUSTER.md. - Rejected: The README of dan-petty/homelab. The issue puts the record in
docs/CLUSTER.md, and the docs check of this repository covers that file.
- How does the record decide whether prHourlyLimit 2 stopped a pull request that the backlog needed?: Compare the updates that the Dependency Dashboard lists as waiting at the end of the week with the roadmap backlog, and read the Renovate run log of the homelab instance for a run that reports the hourly limit. When a needed update waited because the limit was reached, name the pull request and the backlog item. Otherwise state that none was stopped. (best practice) [sources: .github/renovate.json, CONTRIBUTING.md, openspec/changes/archive/2026-11-12-4896-make-renovate-cover-every-pin-on/proposal.md]
- Chosen: Renovate run log and Dependency Dashboard. The log reports a run stopped at the hourly limit, and the dashboard names the updates that wait, so the two together show a held-back pull request.
- Rejected: The Dependency Dashboard alone. The dashboard lists the updates that wait but does not show whether the hourly limit or another rule held them.
- Rejected: The GitHub search alone. The search lists the pull requests that opened, not the pull requests that the limit held back.
- Rejected: The Renovate report JSON. The report covers one run, not the updates that the week held back.
Fit
Fits in one pull request.
Suspected block
The first full Monday-to-Sunday UTC week of scheduled Renovate runs on the homelab instance must finish before the count exists.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 17, 2026
Both measure Renovate run output, but #4909 covers five facts while the candidate records only the first-week push count in docs/CLUSTER.md.devops-cli-service commentedon Nov 18, 2026
Owner question: The first full week of scheduled Renovate runs ends on 2026-11-23; the count exists only after that date.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 21, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 21, 2026
#6684 removes
k8s/devops/renovate, and dan-petty/homelab#95 runs the same Renovate from the upstream chart. Count the pushes of the homelab instance after dan-petty/homelab#95.devops-cli-service commentedon Nov 22, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
dan-petty commentedon Nov 24, 2026
The self-hosted Renovate workload moves out of the product into dan-petty/homelab#95.
devops-cli-service commentedon Nov 24, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence