Repository navigation
Description
Finding
Spec #2054's Implementation Decisions say a successful Release run "ends succeeded in Done (linking the published Release…)". The Release run on the Spec branch doesn't do that: its Done row links only the bump pull request.
Evidence
src/release.rs:Endedcarries onlypr_urlandversion.src/run_ending.rs: theEnding::Releaseaccount setspr_urlandurls: vec![&ended.pr_url], with no Release URL.src/logs/command_record.rs:finishstorespull_requestand has no field for a published GitHub Release. Inbox rows (src/logs/reading/inbox.rs,record_pull_request) and the Console link from that field only.- The Spec review of PR Spec:
thirdshift releaseCommand and Pass for scheduled and on-demand releases #2162 proposed this test intests/release/native.rs. It fails, because the record never mentions/releases/tag/v0.2.0:
#[test]
fn a_published_release_run_links_its_github_release() {
let release = Release::new();
release.ci_reports(GREEN);
let output = command(&release, "0.2.0").output().unwrap();
assert!(output.status.success(), "{}", stderr(&output));
let record = record(&release);
assert!(record.to_string().contains("/releases/tag/v0.2.0"), "{record}");
}Raised by
The Spec-axis code review of #2162 (Spec #2054).
Why this needs a decision
Linking the Release from the Done row means adding a field to the public Command record. That record is served through the Console API (/api/v1/runs, Inbox JSON) under ADR 0026, so the Console's Inbox row rendering has to change too. Someone has to decide the field's name and shape, whether the API exposes it, and how the row shows two links: the merged bump PR and the published Release. That is an API contract decision, which the Day shift should make rather than the review pass on the Spec branch. Until then the bump PR link stays, and the GitHub Release is one click away from that PR's tag.
Decision
Add the published Release to the record as one new optional field. It only adds data, so existing API clients keep working:
- Command record: add
release_url(string, optional, omitted when absent) next topull_request. Set it only when a Release run published its GitHub Release, to the Release'shtml_url(https://github.com/<owner>/<repo>/releases/tag/v<version>). Older records without the field still read. - Console API (ADR 0026): serve
release_urlwhereverpull_requestis served for a run:/api/v1/runs, the Inbox JSON and the OpenAPI schema (optional, nullable). Keep the parity checks green. - Inbox row and Console: the merged bump PR stays the row's main link. Add a second link, labelled
Release v<version>, whenrelease_urlis present. Rows without it render as today. - Run notification: a Release run's notification lists the Release URL after the PR URL.
- Needs you: a run that published the Release but failed to merge the bump PR also records
release_url, so its row links both.
Tests: the a_published_release_run_links_its_github_release test above, plus API/OpenAPI parity, and a Console Inbox test showing both links on a Release run row and only the PR link on other rows.
Activity
JacobStephens2 commentedon Nov 14, 2026
Investigation summary
Confirmed against the Spec branch
origin/issue-2054(open PR #2162 for Spec #2054). The gap does not yet exist onmain: the Base branch (c1c37d4) has no Release run code;src/release.rsis absent, though the GLOSSARY.md Release run entry has landed.Confirmed facts
src/release.rsonissue-2054:pub struct Ended { pub pr_url: String, pub version: String }. It holds no Release URL.src/run_ending.rsonissue-2054: theEnding::Release(Ok(ended))account setspr_url: Some(&ended.pr_url)andurls: vec![&ended.pr_url].Account.urlsflows only intoShown.urls, whichprintwrites to the terminal throughlogs::print. It never reaches the Command record.src/logs/command_record.rs(main, unchanged on the Spec branch): the only link field ispull_request: Option<String>(line 140), set fromaccount.pr_urlinfinish(line 496). Inbox rows (src/logs/reading/inbox.rs,record_pull_request) and the Console link from that field only.thirdshift releaseCommand and Pass for scheduled and on-demand releases #2054 Implementation Decisions: a successful Release run "ends succeeded in Done (linking the published Release; ...)". The Spec's testing list does not check for that link, so PR Spec:thirdshift releaseCommand and Pass for scheduled and on-demand releases #2162 can pass its own tests without it.tests/release/native.rs(a_published_release_run_links_its_github_release) fails because no field could carry/releases/tag/v<version>into the record.Decision needed from the Day shift
The Command record is served through the Console API (
/api/v1/runs, Inbox JSON) under ADR 0026 (docs/adr/0026-each-console-serves-an-api-that-can-do-what-the-cli-can.md), so adding a field changes a public contract. Please decide:release: Option<String>, the Release's html_url) or a general list of links on the record./api/v1/runsand the Inbox JSON expose it. Older records lack it, so it must be optional and defaulted on read.Proposed follow-up once decided (agent-ready)
release::Ended, using the URL the publish step already knows orhttps://github.com/<owner>/<repo>/releases/tag/v<version>.Accountinsrc/run_ending.rsand to the Command record insrc/logs/command_record.rs::finish, with serde default for older records.src/logs/reading/inbox.rsand in the Console Inbox row, expose it in the API as decided, and update the API docs anddocs/guide.md(then regenerate the site manual) where Inbox rows are described.a_published_release_run_links_its_github_releasetotests/release/native.rs, plus Inbox/API tests for the new field.This can land on the Spec branch before PR #2162 merges, or as a follow-up Ticket after it. Until then the Done row links the merged bump PR, and the Release is one click away from its tag.
JacobStephens2 commentedon Nov 15, 2026
This comment was generated by AI.
thirdshift's Run on this issue failed, so it waits for the Day shift.
issue-2228on origin, with pull request Link published GitHub Releases on Release run rows and notifications #2248Put
ready-for-agentback to retry.Validate status release_url via ReleaseLink and reject control chars (#…