Skip to content

Link published GitHub Releases on Release run rows and notifications - #2248

Merged
JacobStephens2 merged 5 commits into
mainfrom
issue-2228
Nov 15, 2026
Merged

JacobStephens2 merged 5 commits into
mainfrom
issue-2228

Conversation

@JacobStephens2

@JacobStephens2 JacobStephens2 commented Nov 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

Published Release runs retain the GitHub Release's URL alongside the bump PR. Done and Needs you rows keep the bump PR as their main link and add Release v<version>; notifications list the Release URL immediately after the PR URL.

verified published GitHub Release URL
  → optional Command record release_url
  → CLI status/show + Console API/OpenAPI
  → Inbox/History bump PR + Release links
  → saved and emailed Run notification

The field is omitted when absent, and older records remain readable. Console Release links are checked against the row's repository. The manual and hand-written site pages describe the new behavior.

Evidence

Execution evidence

The implementation session recorded these before/after results, retained here for the whole branch:

  • Before: cargo test --locked --test status status_and_status_json_and_show_include_release_url panicked at tests/status.rs:3817: status --all lacked the Release URL.
    After: cargo test --locked --test status -- --test-threads=2 → 80 passed; 0 failed; 2 ignored.
  • Before: cargo test --locked --test console inbox::release_run_done_and_needs_you_rows_link_bump_pr_and_github_release panicked at tests/console/inbox.rs:1774 because the bump PR and Release links were missing. cargo test --locked --test console api::openapi_equals_cli_and_describes_operations_without_local_secrets failed at tests/console/api.rs:390 because OpenAPI lacked release_url.
    After: cargo test --locked --test console -- --test-threads=2 → 349 passed; 0 failed; 2 ignored, including API/CLI/OpenAPI parity and local/Fleet Inbox coverage.
  • Before: node --test --test-name-pattern="Release run Done" console/tests/inbox.test.cjs timed out waiting for .subject > a.
    After: cd console && node --test --test-concurrency=1 tests/*.test.cjs → 257 passed; 0 failed. The Release case checks desktop/mobile, all built-in Themes, JavaScript enabled/disabled, Copy, and live updates.
  • cargo test --locked --test release -- --test-threads=1 → 148 passed; 0 failed; 3 ignored, including the issue's native::a_published_release_run_links_its_github_release regression and publication followed by merge failure, record retention, and saved/emailed notification ordering.
  • The prior local scripts/affected-tests main run stopped on one 5-second parallel Console navigation timeout; all 257 Console browser cases subsequently passed sequentially. Its remaining affected Rust suites passed separately, as recorded in the implementation session.
  • Current head: gh run view 43738174408 --json headSha,conclusion → {"conclusion":"success","headSha":"9dfce660044cbd08f6e21c6b45e04b708ce3a00a"}. Successful CI covers all four Rust partitions and their coverage gate, Console browser tests, and site tests. This continuation reuses that exact-head CI coverage; no implementation files changed.

Test seams: the installed release command and its retained Command record/notification; CLI status/show; Console HTTP API/OpenAPI; rendered local/Fleet Inbox rows and browser interactions.

Visual evidence

Desktop (1440×900), Console Inbox Done rows:

Before
After

Mobile (390×844), the same flow:

Before
After

Merge Danger

Door: two-way

The record change adds an optional field; reverting presentation and recording leaves older and newer retained records readable.

Blast Radius: Low

Release publication/recovery accounting, Run notifications, CLI status, Console API/OpenAPI and Inbox/History presentation. Rows without a Release URL retain their existing presentation.

Unaddressed findings

Standards

None.

Spec

None.

Independent thirdshift-code-review against refs/remotes/origin/main (2598bdf16b59658c5bdc62640bdbcdbf3940bcd5) found 0 actionable Standards findings and 0 actionable Spec findings on 9dfce660. Each reviewer read all 34 changed files, including generated site/docs/index.html directly. No generated-output exclusions and no changed files left unread on either axis. No findings were skipped or declined. The preceding implementation session's three Standards findings were already addressed in 5d675f2c.

Security

None.

0 unaddressed findings introduced by #2228. Fixed one introduced finding in 393ca6c9 with a failing regression proof-of-concept test kept in tests/console/fleet.rs:

  • CLI/Fleet status release_url validation & control-character rejection: print_command_line in src/logs/status.rs previously formatted facts.release_url from Command records and Fleet peer /api/v1/status payloads directly without verifying kind == "Release run" or validating the URL via ReleaseLink::parse (allowing off-repository URLs, non-Release rows, or terminal control/escape sequences). Additionally, ReleaseLink::parse in src/logs/status/inbox.rs called reqwest::Url::parse before rejecting control characters (is_control() / \u{2028} / \u{2029}). Extracted shared inbox::command_release_link, enforced control-character rejection before URL parsing, and verified with fleet::status_keeps_fleet_release_urls_safe_and_on_the_repository_the_row_names and logs::status::inbox::tests::a_fleet_release_link_stays_on_the_repository_the_row_names.

Closes #2228

Built with codex codex-cli 0.167.2 · gpt-6.1-sol · xhigh

Security review outcome

No unaddressed introduced findings.

…1): UNAVAILABLE (code 503): The service is currently unavailable.)

2026-11-15T16:55:18Z, host thirdshift. Uncommitted work at the time of failure is included in this commit.
@JacobStephens2
JacobStephens2 marked this pull request as draft November 15, 2026 16:55
@JacobStephens2
JacobStephens2 marked this pull request as ready for review November 15, 2026 17:53
@JacobStephens2
JacobStephens2 merged commit ead7fd4 into main Nov 15, 2026
25 checks passed
@JacobStephens2
JacobStephens2 deleted the issue-2228 branch November 15, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Release run Done rows do not link the published GitHub Release

1 participant