Repository navigation
Description
Update 2026-11-26 (infra move): the tools lock is deleted (tool versions are in dan-petty/devtools), and Renovate runs from dan-petty/homelab, where it also writes a JSON report. The design below already builds on that report. The image and chart pins of the cluster are in homelab now.
Problem
No process reads upstream releases for the pins. Dependency Freshness prints uv tree --outdated for Python in a job log only. Renovate now opens the chart, image and Actions updates; end-of-life dates and release notes are still read by hand.
Expected
Collectors that return, for each component, the latest stable release, its date, a link to the release notes, the end-of-life date when known, and whether the pin is behind. Sources: GitHub releases.atom with ETag (feedparser), Helm index.yaml, PyPI JSON, endoflife.date API v1. Results go into the store as kind release or eol.
Acceptance criteria
- Tests that fail on the base, with recorded feeds: a newer release gives a record with URL and date; a second fetch with ETag and a 304 writes nothing; a pre-release is ignored.
- A test: a repository that moved (301) is reported as a source to fix, and the collector does not follow it to a new host.
- A test: the pin sets of the project with two versions of one action show as skew in the report.
- A request count per sweep is measured and written in the PR comment; the limit is in a setting.
- The PR states whether feedparser is maintained at the pinned version.
Existing tool considered
Renovate (opens update pull requests if the app runs; gives no list for code), devops survey (maturity of PyPI pins), feedparser, PyYAML, endoflife.date (MIT). The collector reads; it never edits a pin.
Related
Part of the research agent plan. Related: #2953 (manual upstream release check), #2044.
Part of the research agent plan of 2026-11-07 (design by the research-agent design workflow; the ADR is delivered through #3877).
Alternatives check of 2026-11-25: in-use.
The repository already uses this tool.
Tool: renovatebot/renovate (https://github.com/renovatebot/renovate), AGPL-3.0, last activity 2026-11-25, maintained.
Reason: Searches found Renovate as the maintained open tool that already finds newer releases for Actions, Helm, PyPI and image pins, but it opens update pull requests and gives no end-of-life date, skew list, code-readable report or request limit.
Covers:
- Finds newer releases for Actions, Helm charts, PyPI and image pins
- Datasources carry release timestamp and source URL
- Over 90 package managers, configurable per repository
Lacks:
- No end-of-life date from endoflife.date
- No skew list when one action has two pins
- No machine-readable report of pins that are behind
- No per-sweep request count, limit or ETag/304 write-nothing rule
Proposed design
Problem statement
No process reads upstream end-of-life dates or keeps release notes for the pins. Self-hosted Renovate (ADR 0027) now gives the latest version and the behind state of each pin. This change reads the Renovate JSON report for those two facts, adds a read-only endoflife.date collector for the end-of-life date, and prints both in a typed research report that the sweep reads. The collector never edits a pin.
Acceptance criteria
Requirement: Renovate report row
The release report SHALL write one row for each dependency that the Renovate JSON report names.
Scenario: Recorded Renovate report
- WHEN The reader reads a recorded Renovate JSON file whose one dependency has a newer version and a release-notes URL.
- THEN The row holds the current version, the new version, the release-notes URL and the behind flag.
Requirement: End-of-life row
The endoflife.date collector SHALL write an end-of-life row with the eolFrom date of the pinned cycle.
Scenario: Recorded endoflife.date answer
- WHEN The recorded API v1 answer marks the pinned cycle as end-of-life.
- THEN The row holds the
eolFromdate and the report marks the component as end-of-life.
Requirement: End-of-life feeds the sweep
The sweep SHALL treat a finding whose component is past its end-of-life date as actionable whatever its severity.
Scenario: End-of-life component with a low advisory
- WHEN The release report marks the component of a low-severity finding as end-of-life.
- THEN The sweep files one intake candidate for the finding and
devops_cli_research_open_findingscounts it.
Requirement: Request limit
The endoflife.date collector SHALL count each HTTP request and SHALL stop at research.max_requests_per_sweep.
Scenario: Limit reached
- WHEN A recorded transport answers
research.max_requests_per_sweeprequests and one more product is due. - THEN The collector sends no further request and the report states the count and the limit.
Requirement: No source
The report SHALL mark a component as no source when its watch entry holds no eol product.
Scenario: Image with no endoflife.date product
- WHEN The inventory holds an image whose watch entry has no
eolproduct. - THEN The report marks it as
no sourceand the recorded transport gets no request.
Requirement: Release hosts
The endoflife.date collector SHALL send requests only to endoflife.date.
Scenario: Hosts of a run
- WHEN The collector runs on a recorded inventory with an image that has an
eolproduct. - THEN Every request of the recorded transport goes to
endoflife.date, and no request goes to a registry API or another host.
Requirement: Watch entry names the eol product
The watch list SHALL accept an optional eol product on a [[watch]] entry and SHALL still reject any other unknown key.
Scenario: Recorded watch file with an eol product
- WHEN A recorded watch file names
eol = "litellm"on theghcr.io/berriai/litellmentry. - THEN
read_watch_listreturns that entry with theeolproductlitellm.
Requirement: Report output
devops research releases SHALL print a table of the rows and SHALL print the typed report with --json or --format yaml.
Scenario: JSON output
- WHEN
devops research releases --root <repository> --report <fixture> --jsonruns on a recorded Renovate report and a recorded endoflife.date answer. - THEN The output is the JSON of the report, with one row for each dependency and one end-of-life row for the marked cycle.
Requirement: Pending a person after the merge
The owner MUST record the approval of the research agent egress to endoflife.date in the public-api-egress spec.
Scenario: Approval recorded
- WHEN The owner adds the approval of
endoflife.datetoopenspec/specs/public-api-egress/spec.mdand runsuv run devops ci --check --only openspec. - THEN The check passes and the spec names
endoflife.dateamong the approved hosts of the research agent.
Existing Tool Considered
Renovate (https://github.com/renovatebot/renovate) is in use; the block of the alternatives check in the issue body records what it lacks. The change reads the Renovate JSON report for the latest version and the behind state and builds a read-only endoflife.date collector for the end-of-life date. The written cost of that collector is about 12k tokens to build, about 3k tokens a year to keep and fix, and about 0.5 day elapsed.
Key questions
- The inputs of the step of the task group "Request budget, the setting and the ETag cache" hold 66549 tokens, over the budget of 64000 tokens, also after the model split the groups once. Split the group or raise the budget of the step?: Split the group. The step budget
roadmap.stage.step_tokensstays at 64000, and the narrowed scope drops the HTTP release collectors and the ETag cache, so each remaining task group fits one step. (best practice) [sources: docs/CONFIGURATION.md:322]- Chosen: Split the group. The narrowed scope removes the large collector group, so each remaining group fits the 64000-token budget of the step.
- Rejected: Raise the budget. The plan check keeps the 64000-token budget of the step.
- Does an open, maintained tool cover the need, and does the item keep its own collector?: Renovate is in use. The change reads its JSON report for the latest version and the behind state, and adds only the read-only endoflife.date collector for the end-of-life date, which the alternatives
blockrecords as a lack. (best practice) [sources: .github/renovate.json:1-5, docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:27-37]- Chosen: Read the Renovate report and add the endoflife.date collector. This uses the tool in use for the facts it gives and adds only the end-of-life date that the alternatives
blockrecords as a lack. - Rejected: Adopt Renovate alone. The alternatives
blockrecords that it gives no end-of-life date. - Rejected: Build new release collectors. The 2026-11-11 scope reply removes them, and Renovate gives the latest version and the behind state.
- Chosen: Read the Renovate report and add the endoflife.date collector. This uses the tool in use for the facts it gives and adds only the end-of-life date that the alternatives
- Where does the report get the latest version and the behind state?: From the Renovate JSON report that
devops research releases --report <path>reads, with the default.data/renovate-report.json. No new collector fetches GitHub releases, PyPI JSON or a Helm index. (best practice) [sources: .github/renovate.json:1-5, docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md:27-37, .github/workflows/ci.yml:113, src/devops_cli/commands/research.py:46-96]- Chosen: Read the Renovate JSON report. Self-hosted Renovate already finds the latest version and the behind state for each pin, and the scope reply names its report.
- Rejected: Fetch GitHub, PyPI and Helm feeds. The 2026-11-11 scope reply says to add no new release collectors.
- Rejected: Use only the outdated gauge. The gauge of feat(monitoring): export outdated dependencies from Renovate #4911 has not landed, and it gives metrics rather than the rows that the report needs.
- Where does the end-of-life date come from?: The endoflife.date API v1 for the
eolproduct that the watch entry names. The[[watch]]entry gains an optionaleolfield, which the frozen model rejects today. (best practice) [sources: .devops/research-watch.toml:32-77, src/devops_cli/research/watch.py:39-55, src/devops_cli/research/models.py:41-69]- Chosen: endoflife.date API v1. One API gives the
eolFromdate for each product and cycle. - Rejected: A registry API for each image. It needs one client for each registry, with its own authentication.
- Rejected: Skip image pins. The issue names image pins as a pin set to watch.
- Chosen: endoflife.date API v1. One API gives the
- Where does the release-notes link come from?: The report copies the release-notes URL that the Renovate JSON report gives for the dependency, and writes no link when the report gives none. (best practice) [sources: .github/renovate.json:21-29, src/devops_cli/research/models.py:155-167]
- Chosen: Copy the link from the Renovate report. It adds no HTTP request and uses the report that the scope reply names.
- Rejected: Fetch
releases.atomfor each pin. The scope reply says to add no new release collector. - Rejected: Scrape the releases page. It breaks on a page change and gives no stable field.
- Where does the report write its results?: It writes no file and no store record.
devops research releasesprints a table and emits the typed report with--jsonor--format, asdevops research advisoriesdoes. The sweep reads the same report in process. (best practice) [sources: src/devops_cli/commands/research.py:99-140, openspec/specs/research-advisories/spec.md:64-73, src/devops_cli/store/kinds.py:22-44]- Chosen: Printed report with
--jsonand--format. It matchesdevops research advisoriesand adds no second store to keep. - Rejected: New store kinds
releaseandeol. The content store holds onlyreview-window,studyandreview-sessiontoday. - Rejected: New database table. It adds a second store to keep and back up.
- Chosen: Printed report with
- Where is the request limit set, and what counts as one request?: Each HTTP request to endoflife.date counts. The limit is the field
research.max_requests_per_sweepofResearchConfig, with a default insrc/devops_cli/config/defaults.pyand a row in the generateddocs/CONFIGURATION.md, asresearch.judge.record_limithas. (best practice) [sources: src/devops_cli/config/settings.py:2511-2533, src/devops_cli/config/settings.py:2697, src/devops_cli/research/judge.py:64-75, docs/CONFIGURATION.md:348]- Chosen: Setting in
config.yaml. The project settings and their defaults live there, and the generator writes their docs row. - Rejected: Environment variable only. A reader cannot see the limit in the repository.
- Rejected: Constant in the code. A change to the limit needs a release.
- Chosen: Setting in
- Does the end-of-life date feed the sweep?: Yes. feat(research): sweep command files intake issues #3899 names this issue as the source of the date.
is_actionablegains the end-of-life condition whatever the severity, andResearchCriticalFindingscounts it. (best practice) [sources: openspec/changes/archive/2026-11-07-3899-research-sweep-files-intake/proposal.md:40, src/devops_cli/research/sweep.py:87-89, openspec/specs/research-sweep/spec.md:8-13]- Chosen: Add the end-of-life condition now. feat(research): sweep command files intake issues #3899 names this issue as the source of the date, and the sweep has no other source for it.
- Rejected: Defer it to a later issue. It would leave the
is_actionablepromise of feat(research): sweep command files intake issues #3899 unfulfilled.
- Which hosts may the research agent read for end-of-life dates?: Recommendation: the owner approves
endoflife.datefor the research agent, at the public egress level and with a byte cap, and records it inopenspec/specs/public-api-egress/spec.md, as the owner approvedapi.github.comandwww.cisa.govon 2026-11-07. The spec names those two hosts only, so the collector cannot send the endoflife.date request before that record. (a person decides) [sources: openspec/specs/public-api-egress/spec.md:69-74, src/devops_cli/http/public_api.py:31-42]
Open questions
- Which hosts may the research agent read for end-of-life dates? (a person decides)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Activity
dan-petty commentedon Nov 7, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
featprefix of the title gives the type.research, and .github/labels.yml declares no scope/research label. Add the label to the file to give the scope to this item.It adds visibility into stale pins but does not fix a broken or unsafe behaviour.Users gain an automated signal that a pin is behind or approaching EOL, reducing manual tracking.Four source collectors, ETag caching, recorded-feed tests, and a request-count setting are required.Both are siblings in the research agent plan; #3896 lists the pins, this candidate checks their upstream releases for freshness and EOL.feat(research): add research sweep that files intake candidates (#4055)
devops-cli-service commentedon Nov 7, 2026
Refine cannot set this item to Ready at 74ba76b 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.
devops-cli-service commentedon Nov 9, 2026
Alternatives check: partly
Reason: Searches found no other open tool for this need; Renovate is open and maintained, and the issue itself records that its datasources already find newer releases and expose release date and source URL for Actions, images, charts and PyPI pins. It only partly covers the need because it opens update pull requests instead of producing the read-only, code-readable report with end-of-life dates, skew detection and request accounting that the issue requires.
Tool: renovatebot/renovate (https://github.com/renovatebot/renovate)
Covers:
Lacks:
Tools considered:
Searches run:
Sources:
Checked on 2026-11-09. A person decides what this means for the item. The check changes no label and closes no issue.
dan-petty commentedon Nov 11, 2026
Scope from the hooks review plan (2026-11-11)
This issue is also child 19 of #4771 (hooks item P20). The scope adds one pin source.
revpins of.pre-commit-config.yamlget old.pre-commit-hooksis at v5.0.0 (v6.0.0 since 2025-08-09), andruff-pre-commitis at v0.16.8 (v0.17.4 since 2026-11-05).pre-commit-hooksis the only remote hook repository.Add the
revlines of.pre-commit-config.yamlas a pin source of the GitHub release collector.Added acceptance:
pre-commit-hookswith its latest release, its date, and whether the pin is behind.devops-cli-service commentedon Nov 11, 2026
Status set to Ready at d83c7d9 (see proposed design in issue body).
dan-petty commentedon Nov 12, 2026
Scope from the Renovate plan (2026-11-11)
The owner chose self-hosted Renovate for the 7 Service repositories on 2026-11-11. #4893 tracks it. This changes the premise of this issue.
Overlap. This issue plans new collectors for the latest release of each pin and for the behind state of each pin. It names Renovate as "opens update pull requests if the app runs". With self-hosted Renovate, the Renovate JSON report gives the latest version and the behind state of every pin of every manager. The outdated gauge of #4911 exports them as
devops_cli_dependencies_outdated{repository,manager},devops_cli_dependencies_libyears{repository,manager}anddevops_cli_dependency_update_oldest_pending_seconds{repository}.Narrowed scope. Keep only what Renovate does not give:
Read the Renovate report for the latest release and the behind state. Do not add new release collectors.
Next step. When the outdated gauge of #4911 lands and nothing else remains, close this issue as superseded, with a link to the gauge and the report.
devops-cli-service commentedon Nov 17, 2026
Owner question: The inputs of the step of the task group "Request budget, the setting and the ETag cache" hold 66549 tokens, over the budget of 64000 tokens, also after the model split the groups once. Split the group or raise the budget of the step?
Options
Recommendation: Split the group: the plan check keeps the budget of the step.
Evidence
devops-cli-service commentedon Nov 18, 2026
The result in the alternatives block of the issue body changed. Before this check:
partly, tool https://github.com/renovatebot/renovate. A person decides what the new result means for the item.Searches (7)
Tools considered:
Searches run:
Sources:
docs(openspec): plan #3932 Map pins to OSV names and list rendered im…
feat(research): Map pins to OSV names and list rendered images (#6285)
dan-petty commentedon Nov 24, 2026
Split the group.
devops-cli-service commentedon Nov 26, 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