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. Renovate is in use and gives the latest version and the behind state in a JSON report. This change reads that report, adds a read-only endoflife.date collector for the end-of-life date, and prints a typed research report. The collector never edits a pin. The sweep treats an end-of-life component as actionable. The owner records the egress approval after the merge.
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 for dependency updates. The alternatives check in the issue body records what it covers and lacks. This change reads the Renovate JSON report for the latest version and the behind state. It builds a read-only endoflife.date collector for the end-of-life date that the check records as a lack. The collector costs about 12k tokens to build. It costs about 3k tokens a year to keep and fix. It takes about 0.5 day.
Key questions
- 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. It adds only the read-only endoflife.date collector for the end-of-life date, which the alternatives check records as a lack. (best practice) [sources: .github/renovate.json, docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md]
- 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 check records as a lack.
- Rejected: Adopt Renovate alone. The alternatives check records 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.
- 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, docs/adr/0027-dependency-updates-come-from-self-hosted-renovate.md, src/devops_cli/commands/research.py]- Chosen: Read the Renovate JSON report. Renovate in use already finds the latest version and the behind state for each pin, and the issue update names its JSON 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, src/devops_cli/research/watch.py, src/devops_cli/research/models.py]- 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. It writes no link when the report gives none. (best practice) [sources: .github/renovate.json, src/devops_cli/research/models.py]
- Chosen: Copy the link from the Renovate report. It adds no HTTP request and uses the report that the issue update 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, openspec/specs/research-advisories/spec.md, src/devops_cli/store/kinds.py]- 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 in the config defaults and a row in the generateddocs/CONFIGURATION.md, asresearch.judge.record_limithas. (best practice) [sources: src/devops_cli/config/settings.py, src/devops_cli/research/judge.py, docs/CONFIGURATION.md]- 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, src/devops_cli/research/sweep.py, openspec/specs/research-sweep/spec.md]- 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.
- What does the public-api-egress spec approve today?: The spec approves
api.github.comandwww.cisa.govonly. The proposal records the owner approval ofendoflife.dateas a pending person step after the merge. [sources: openspec/specs/public-api-egress/spec.md, src/devops_cli/http/public_api.py]
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).
10 remaining items
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
devops-cli-service commentedon Nov 26, 2026
Next step: the stage job writes the plan of the item. See the section Proposed design of the body.
feat(research): read Renovate and endoflife.date releases (#3907)
feat(research): read Renovate and endoflife.date releases (#3907)
chore(main): release 0.248.0 (#7763)
devops-cli-service commentedon Nov 29, 2026
Released in v0.248.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.248.0
devops-cli-service commentedon Nov 29, 2026
Live since 2026-11-29 16:50 UTC