Skip to content

fix(roadmap): Show every source in the alternatives comment #6177

Closed

Description

@dan-petty

Problem Description

The comment of devops roadmap alternatives shows at most five sources. When the reply cites more, it shows the first five and the line "N more sources are left out". CONST_ROADMAP_ALTERNATIVES_MAX_COMMENT_SOURCES sets this bound.

On 2026-11-17 the owner said that the jobs must have no hard caps that make a job fail or lose context. Refine, stage and implement read this comment as context, so the bound removes sources that they could read. Since #6174 (#6168), the sources are in the closed <details> block, so a long list of sources does not make the open comment longer.

Reproduction Steps

  1. Give the check a reply that cites eight sources that the tools returned.
  2. Read the comment: it lists five sources and the line "3 more sources are left out".

Expected vs Actual Behavior

Expected: the closed block lists every source of the reply, and the comment has no "left out" line.

Actual: the comment lists five sources and leaves out the others.

Environment Diagnostics

devops-cli at 3f422ad (after #6174).

Logs, Traces, or Terminal Output

None.

Source: #6174

Activity

  1. added
    type/bug
    source/agent
    scope/roadmap
    status/new
    value/medium
    effort/low
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 17, 2026
  2. removed
    status/in-review
    owner/agent
    on Nov 17, 2026
  3. devops-cli-service commented on Nov 17, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-17 15:42 UTC

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

    effort/lowpriority/p2-mediumscope/roadmapsource/agenttype/bugvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions