Skip to content

Show github issue / pull request titles on /?page=lanes #2222

Closed

Description

@JacobStephens2
Screenshot 2026-11-14 at 9 27 47 AM

here I just see repo and number

Activity

  1. added
    enhancement
    needs-triage
    in-progress
    and removed
    needs-triage
    on Nov 14, 2026
  2. JacobStephens2 commented on Nov 14, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Agent Brief

    Problem. Lanes cards often show only owner/repo#N where the title should be, with no pull-request title at all.

    Confirmed cause (code reading).

    • src/logs/status/time.rs:186-191 (run()) sets Run.title to record.issue.title, then process_label(), then record.name. For a Run, Spec run or Base fix, record.name is owner/repo#N (src/logs/command_record.rs:540-555). It repeats the <h3> subject Run · repo#N and the Issue #N link rendered by src/console/time.html:28-29.
    • The issue title is often absent from the Command record. Ticket runs record it only after the Claim (src/run.rs:610) or at child start (src/run.rs:579), so a run before its Claim or one that ended before reaching it has none. CommandRecord::new (src/logs/command_record.rs:518-537) sets a title only for Pickup runs, so Triage runs on an existing issue never get one.
    • Lanes never shows the run's pull request. The Inbox reads pull-request titles from the cached GitHub data: PullRequestState.title (src/github.rs:1857), read in src/logs/status/inbox.rs:420 and :813-816. IssueState keeps no title, so issue titles can't come from that cache.

    Change.

    1. In src/logs/status/time.rs, when the record has no issue title, use the pull-request title from the cached GitHub data, as the Inbox does. Pass the needed data from Read::times / src/console/time.rs.
    2. Never fall back to record.name when it is just repo#N. Show (title unavailable) to match the Inbox (src/logs/status/inbox.rs:151-153), or nothing. Keep the Process label fallback.
    3. Add the run's pull request (record.pull_request) as a link labelled with its title next to the Issue #N link in src/console/time.html, for both the Lanes cards and the Stages column headers, which share Run.
    4. Optional, if cheap: record the issue title earlier, before the Claim for Ticket and Spec runs, and for Triage runs on an existing issue, through logs::issue_title.

    Tests. Extend the Lanes/Stages console tests in tests/console.rs (around lines 532, 655 and 735) with a record that has no issue title but has a pull request with a cached title. Assert that the title appears and that no bare owner/repo#N title line remains. Add a unit test in src/logs/status/time.rs. Before finishing, run scripts/affected-tests main.

    Docs. If the change is user-visible, search site/how-it-works/, site/architecture/ and docs/guide.md for mentions of Lanes and update them.

    Limitation. The issue's screenshot was not available locally, so the exact runs it showed are unknown; the code explains the symptom for any run without a recorded title.

    ready-for-agent was recommended; ready-for-human is applied until the Day shift permits readiness.

  3. added
    ready-for-human
    ready-for-agent
    in-progress
    and removed
    in-progress
    ready-for-human
    ready-for-agent
    on Nov 14, 2026
  4. removed
    in-progress
    on Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions