Repository navigation
Link published GitHub Releases on Release run rows and notifications - #2248
Merged
Merged
Conversation
…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
marked this pull request as draft
November 15, 2026 16:55
JacobStephens2
marked this pull request as ready for review
November 15, 2026 17:53
This was referenced Nov 16, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.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:
cargo test --locked --test status status_and_status_json_and_show_include_release_urlpanicked attests/status.rs:3817:status --alllacked the Release URL.After:
cargo test --locked --test status -- --test-threads=2→80 passed; 0 failed; 2 ignored.cargo test --locked --test console inbox::release_run_done_and_needs_you_rows_link_bump_pr_and_github_releasepanicked attests/console/inbox.rs:1774because the bump PR and Release links were missing.cargo test --locked --test console api::openapi_equals_cli_and_describes_operations_without_local_secretsfailed attests/console/api.rs:390because OpenAPI lackedrelease_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.node --test --test-name-pattern="Release run Done" console/tests/inbox.test.cjstimed 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'snative::a_published_release_run_links_its_github_releaseregression and publication followed by merge failure, record retention, and saved/emailed notification ordering.scripts/affected-tests mainrun 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.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
releasecommand and its retained Command record/notification; CLIstatus/show; Console HTTP API/OpenAPI; rendered local/Fleet Inbox rows and browser interactions.Visual evidence
Desktop (
1440×900), Console Inbox Done rows:Mobile (
390×844), the same flow: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-reviewagainstrefs/remotes/origin/main(2598bdf16b59658c5bdc62640bdbcdbf3940bcd5) found 0 actionable Standards findings and 0 actionable Spec findings on9dfce660. Each reviewer read all 34 changed files, including generatedsite/docs/index.htmldirectly. 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 in5d675f2c.Security
None.
0 unaddressed findings introduced by
#2228. Fixed one introduced finding in393ca6c9with a failing regression proof-of-concept test kept intests/console/fleet.rs:statusrelease_urlvalidation & control-character rejection:print_command_lineinsrc/logs/status.rspreviously formattedfacts.release_urlfrom Command records and Fleet peer/api/v1/statuspayloads directly without verifyingkind == "Release run"or validating the URL viaReleaseLink::parse(allowing off-repository URLs, non-Release rows, or terminal control/escape sequences). Additionally,ReleaseLink::parseinsrc/logs/status/inbox.rscalledreqwest::Url::parsebefore rejecting control characters (is_control()/\u{2028}/\u{2029}). Extracted sharedinbox::command_release_link, enforced control-character rejection before URL parsing, and verified withfleet::status_keeps_fleet_release_urls_safe_and_on_the_repository_the_row_namesandlogs::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.