Repository navigation
Link the GitHub Issue URL from Stages and Command details - #1181
Merged
Merged
Conversation
Stages headers and Lanes articles show an Issue link beside the peek-linked subject, and the Command details panel shows the same link above the Command log. Subjects keep opening details; the new link goes to the Issue URL. Closes #1099
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
/?page=stagesshowed each Command with a peek-link subject but no path to its GitHub issue. Each Stages header, Lanes article, and the Command details (peek) panel now carries an explicitIssue #Nlink to the record's Issue URL. Subjects still open details; the new link goes outward.Seams under test: Console HTTP
/?page=stages(Stages grid) and/peek?command=(Command details panel).Evidence
stages_and_command_details_link_the_github_issuefailed — the stages page rendered noIssue #7anchor (red confirmed before the fix).After: that test passes; neighboring peek tests (
urls_in_inbox_and_peek_text_are_links,peek_and_full_logs,dispatched_run_and_its_security_command_have_distinct_peeks) pass;cargo fmt --checkclean;scripts/affected-tests maingreen on this head (fail-fast fullcargo testfallback reaching the final targets withtest result: ok, exit 0).Merge Danger
Door: two-way — a pure Console view addition; rollback is a revert with no data or config migration.
Blast Radius: console — Stages/Lanes headers and the shared peek panel gain one link each when the Command has an
https://Issue URL; no CLI, scheduling, or auth behavior changes.Unaddressed findings
Security:
Issue #Nanchors render only anhttps://allowlisted record URL through escaped template interpolation with a derivedIssue #Nlabel; hostile-URL probes (attribute-quote breakout, executable scheme, markup in URL) rendered inert, and the record's issue title is never rendered by this change.Standards (all judgement calls, none claiming wrong behaviour, so no failing-test runs apply):
{% match %}block insrc/console/time.html(lanes<p>vs grid<br>wrappers) — kept: the wrappers differ per placement and a shared fragment adds indirection for a one-line anchor. Plan decision, no ADR/run against it.https://guard +(url, label)shape insrc/logs/status/time.rs(issue_link),src/logs/status/inbox.rs:290(issue_url), andsrc/console/peek.rs(untyped JSON re-derivation) — kept separate:peek.rsworks fromshow --jsondetails where the typedIssueis not reachable without restructuring; unifying would widen the change. Plan decision.issue_url/issue_labeltravelling as a pair onRun(src/logs/status/time.rs:26-27) andPeek(src/console/peek.rs:20-21) — kept: matches the existing plain-data style of both structs; a newtype for one link is speculative generality.Issue #Nlink instead of linking the subject Inbox-style (src/console/row.html:2) — kept deliberately: the Stages subject already links to peek, so reusing the Inbox idiom would break Command details access. No glossary conflict (casing unpinned).Spec:
src/console/time.html:30,/?page=lanes) also gain the link though the spec names only/?page=stages— accepted as intended: both pages share one template (src/console/time.rs:29) and the consistent placement is the point of the request. No Day-shift/Spec decision needed; noneeds-triageissue filed.Review coverage: every changed file was read on both axes; remaining unread changed files: none.
Closes #1099
Built with muse · default model · default effort
Security review outcome
No unaddressed introduced findings.