Repository navigation
Description
Problem or Motivation
The owner asked for links to the project review from each release. The owner decided on 2026-11-11 that each release links to the weekly review that holds it, and that store links can be in public GitHub text (the store host stays behind Access).
- A release asset downloads as an attachment, and GitHub Pages needs a commit to
main. release_feedreads issue numbers from release bodies (_PULL_LINKand_CLOSINGinrelease_feed.py). A new line must not add a number.
Proposed Solution & Architectural Design
- Add a step in
.github/workflows/release.ymlafter release-please, whenrelease_createdis true. - The step uses
gh release editin the job that hascontents: write. It adds one line, marked<!-- devops-project-review -->, with the link to the review index at the ISO week of the release time. - The base URL comes from a repository variable that the owner sets, so no host goes into git.
- The line has no
([#N](form and nocloses #Nform. - Add a test that
_PULL_LINKand_CLOSINGfind no number in the line.
Target Subsystem
CI/CD (.github/workflows/release.yml), with a test of release_feed.
Existing Tool Considered
release-please (in use) makes the release. The GitHub CLI in the workflow (gh release edit) edits the body. No new tool. Cost (estimate): one workflow step and one test, about 0.33 USD on the DeepSeek implement path and 1 day elapsed.
Acceptance Criteria
- An edited release body has exactly 1 marked line.
- A rerun does not add a second line.
release_feedgives the same issue numbers before and after the edit (test).
Dependencies
- feat(roadmap): publish the project review and link it on GitHub #4733 feat(roadmap): publish the project review and link it on GitHub.
- Person step: set the repository variable that holds the review base URL.
Source: #4679
Alternatives check of 2026-11-14: not-applicable.
Class: ci, no search.
Tool: none found.
Proposed design
Problem statement
Each GitHub release must link to the weekly project review that holds it. The owner decided on 2026-11-11 that each release links to its weekly review, and that review links can be in public GitHub text. The release body is the link target, because a release asset downloads as an attachment and GitHub Pages needs a commit to main. The body also feeds release_feed, which reads issue numbers from it, so the new line must add no number.
Acceptance criteria
Requirement: release-review-line
The release-review module SHALL render one line that starts with <!-- devops-project-review --> and holds a Markdown link to <base>/<ISO year>-W<ISO week>/.
Scenario: The module renders the line for a release.
- WHEN The test renders the line with the base
https://reviews.example.testand the release time2026-11-16T10:00:00Z. - THEN The line starts with
<!-- devops-project-review -->and holds[Project review for 2026-W47](https://reviews.example.test/2026-W47/).
Requirement: release-review-no-issue-number
The rendered line MUST hold no text that _PULL_LINK or _CLOSING of src/devops_cli/roadmap/release_feed.py matches.
Scenario: The feed patterns read a body with the line.
- WHEN The test adds the rendered line to a body that holds the changelog link
([#123](https://example.test/pull/123)). - THEN
pull_numbersgives(123,)andclosing_numbersgives()for the body before and after the line, and neither pattern matches the line alone.
Requirement: release-review-rerun
The body updater SHALL leave exactly one marked line after it adds the line to a body that already holds a marked line.
Scenario: A rerun replaces an earlier marked line.
- WHEN The test adds the line of week
2026-W47to a body that holds one marked line of week2026-W46and other text. - THEN The body holds exactly one line with the marker, its URL names
2026-W47, and the other text is unchanged.
Requirement: release-review-entry-point
The module entry point SHALL read a JSON object with the keys body and publishedAt from standard input and SHALL write the new body to standard output.
Scenario: The entry point reads a release and writes its new body.
- WHEN The test runs the entry point with
PROJECT_REVIEW_URL=https://reviews.example.testand the JSON object of a release body on its input. - THEN The entry point exits 0 and writes the body with one added marked line to its output.
Requirement: release-review-empty-base
The module entry point MUST exit with a non-zero code and MUST write no body when PROJECT_REVIEW_URL is empty.
Scenario: The owner has not set the variable.
- WHEN The test runs the entry point with an empty
PROJECT_REVIEW_URLand the JSON object of a release body on its input. - THEN The entry point returns a non-zero code and writes nothing to its output.
Requirement: release-review-workflow-placement
The release workflow MUST run the review-link step in the assets job after the release-please job, with contents: write and the condition needs.release-please.outputs.release_created == 'true'.
Scenario: The release workflow passes its linters.
- WHEN The check runs
uv run devops ci --check --only actionlint,zizmor. - THEN actionlint and zizmor exit 0 and report no finding for
.github/workflows/release.yml.
Requirement: release-review-workflow-command
The step MUST set GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}, read PROJECT_REVIEW_URL from vars.PROJECT_REVIEW_URL, start its run script with set -euo pipefail, and use gh release view, uv run python -m devops_cli.roadmap.release_review and gh release edit --notes-file.
Scenario: The release workflow passes its linters.
- WHEN The check runs
uv run devops ci --check --only actionlint,zizmor. - THEN actionlint and zizmor exit 0 and report no finding for
.github/workflows/release.yml.
Requirement: Pending a person after the merge
The owner MUST set the repository variable PROJECT_REVIEW_URL to the review base URL before the first release after the merge.
Scenario: The owner sets the variable.
- WHEN The owner sets
PROJECT_REVIEW_URLin the repository settings. - THEN The next release run writes one marked review link to its body.
Existing Tool Considered
The alternatives check of 2026-11-14 in the issue body gives not-applicable: class ci, no search, and no tool named. release-please is in use at .github/workflows/release.yml; it makes each release but adds no per-release link line from an ISO week. The GitHub CLI gh is in use in the assets job; it edits a release body but computes no ISO week and renders no marked line. The change builds one small pure module and one workflow step. Written cost: about 3,000 tokens to build, about 1,000 tokens a year to keep and fix, and about 1 day elapsed. The DeepSeek implement path costs about 0.33 USD.
Key questions
- Where does each release hold the link to the project review?: In the release body, on one marked line that links the ISO week of the release. The owner decided this on 2026-11-11. A release asset downloads as an attachment, and GitHub Pages needs a commit to
main. (best practice) [sources: .github/workflows/release.yml, src/devops_cli/roadmap/release_feed.py]- Chosen: Marked line in the release body. The owner decided this place. A reader follows the body as a link, and the release feed already reads the body.
- Rejected: File in the release assets. A release asset downloads as an attachment, so a reader cannot follow it as a link.
- Rejected: Page on GitHub Pages. GitHub Pages needs a commit to
main, and a release writes no commit.
- Which job of the release workflow holds the step?: The
assetsjob. Its condition isneeds.release-please.outputs.release_created == 'true', and it holdspermissions: contents: writeand the release tag. (best practice) [sources: .github/workflows/release.yml]- Chosen: The
assetsjob. It holds the write permission and the release tag, and it runs only for a new release. - Rejected: The
release-pleasejob. It setspermissions: {}and uses the App token, so a step there needs a new permission. - Rejected: A new job. It adds a runner start and a second condition for one
ghcall.
- Chosen: The
- What path does the review index of one ISO week have under
PROJECT_REVIEW_URL?:/<ISO year>-W<ISO week>/, for examplehttps://reviews.example.test/2026-W47/. The project already usesYYYY-Wwwas the review window id and as the review folder name. The base URL holds the whole prefix, so the step appends only the week id. (best practice) [sources: src/devops_cli/roadmap/project_review/window.py]- Chosen:
/<ISO year>-W<ISO week>/. It is the review window id that the project already computes and uses as the folder of a review. - Rejected:
/reviews/<ISO year>-W<ISO week>/. It adds a segment that this issue and feat(roadmap): publish the project review and link it on GitHub #4733 do not name, so the owner would set two values. - Rejected:
/latest/. It does not name the week of the release, so the link moves when the next review publishes.
- Chosen:
- How does the step compute the ISO week of the release?: In the module, from
publishedAtwithdatetime.isocalendar()formatted as{year}-W{week:02d}. Theassetsjob already installs uv and Python 3.14. (best practice) [sources: src/devops_cli/roadmap/project_review/window.py, .github/workflows/release.yml]- Chosen: Python
datetime.isocalendar()in the module. It is the same week conversion that the project uses for review ids, and the offline test checks the code the workflow runs. - Rejected: GNU
date -u +%G-W%Vin the step. It is a second implementation that the offline test cannot check, and the module must render the line anyway. - Rejected: A new
devopscommand. It adds a registered command and its generated docs for one line.
- Chosen: Python
- How does a rerun keep exactly one marked line?: The module drops each line that holds the marker and appends the new line. The step reads the body and writes it back with
gh release edit --notes-file, so a rerun replaces the earlier line. (best practice) [sources: src/devops_cli/roadmap/release_feed.py, .github/workflows/release.yml]- Chosen: Remove the marked lines, then append. A rerun removes an earlier marked line, a new base URL replaces the old link, and the body holds one line.
- Rejected: Append only when the marker is absent. A rerun keeps an earlier marked line, and a new base URL does not replace the old link.
- What happens when the owner has not set
PROJECT_REVIEW_URL?: The step fails closed: the module exits non-zero and writes no body, so no release gets a broken link. The change merges with no value. The owner sets the variable before the first release after the merge, and a person re-runs the failedassetsjob of that run. (best practice) [sources: .github/workflows/release.yml]- Chosen: Fail closed. A release never gets a broken link, and the failed job shows that the owner must set the variable. The code needs no value to merge.
- Rejected: Write a line with an empty base. It puts a broken link in the release body.
- Rejected: Skip the step silently. The release gets no link, and no signal shows the missing setting.
Fit
Fits in one pull request.
Suspected block
None.
Activity
dan-petty commentedon Nov 11, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
ciprefix of the title gives the type.(release)scope of the title gives the scope.The owner requested it and it is planned, but it depends on #4733 and is not blocking other work.It adds a discoverability link from each release to the project review, which is useful but not core functionality.The body states one workflow step and one test, estimated at about 1 day elapsed.Both items act on releases in the roadmap area, but 4416 posts comments on issues while this candidate edits the release body to add a link.dan-petty commentedon Nov 12, 2026
Scope note from tracker #5151 (2026-11-12).
Name the repository variable of the review base URL
PROJECT_REVIEW_URL. #4733 and the docs site of #5152 read the same variable, so the owner sets one value. The docs site also shows the release notes fromCHANGELOG.md(#5152). release-please writes that file, so the release body line of this item does not show there.devops-cli-service commentedon Nov 14, 2026
Alternatives check: not-applicable
Class: ci. The check makes no search and no model call for an item of this class.
Tool: none found
Checked on 2026-11-14. A person decides what this means for the item. The check changes no label and closes no issue.
devops-cli-service commentedon Nov 15, 2026
Owner question: Who sets
PROJECT_REVIEW_URL, and when? (a person decides)Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 15, 2026
Refine cannot set this item to Ready at 6786f1a while the items below stay open. The next refine round looks at the item again when they close, or when a person replies in a comment or edits the body.
devops-cli-service commentedon Nov 26, 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.