Skip to content

refactor(roadmap): stage runs its three phases on one run folder #6813

Closed as not planned
1 of 1 issue completed
Closed as not planned

Description

@dan-petty

Problem

#6705 gives the stage agent a real shell, and the agent phase must hold no GitHub credential. Today devops roadmap stage runs in one process, and CronJob roadmap-stage has one container stage that holds DEVOPS_CLI_SERVICE_GITHUB_APP_PRIVATE_KEY and DEVOPS_CLI_AI_API_KEY. The command has no --phase option, and stage/stage_phases.py holds only push_plan.

Change

  • devops roadmap stage takes --phase prepare|agent|publish|all and --work, as the implement and fix-checks jobs do (roadmap/phases/). all stays the default, so the CronJob does not change in this item.
  • prepare reads the item and makes the clone in the run folder. agent runs the current stage engine on that clone and writes its result to the run folder. publish reads the result and calls push_plan, then opens or updates the plan pull request.
  • --phase agent refuses to start with the App key or a GitHub token, as the agent phase of implement does.
  • The engine of the agent does not change. refactor(roadmap): the stage agent is stock Coder #6705 changes it.

Acceptance criteria

  • A test runs prepare, agent and publish in turn on one run folder and gets the same plan pull request as --phase all.
  • A test shows that --phase agent refuses to start with the App key.

Dependencies

None.

Source

Source: #6705

Alternatives check of 2026-11-23: not-applicable.
Class: refactor, no search.
Tool: none found.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    type/refactor
    source/agent
    scope/roadmap
    status/new
    value/medium
    on Nov 23, 2026
  2. dan-petty commented on Nov 23, 2026

    @dan-petty
    OwnerAuthor
    • Related: refactor(roadmap): stage runs on the phases #6704, which asks for a different change. Both split stage into prepare, agent and publish phases, but the candidate adds the --phase CLI option and the credential refusal that #6704 did not require.
  3. added
    priority/p2-medium
    status/in-progress
    and removed
    status/new
    on Nov 23, 2026
  4. dan-petty commented on Nov 23, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned. The owner decided on 2026-11-23 to build the stage phases together with the stock Coder agent in #6705, and then the template (#6814). PR #6822 is closed unmerged; its comment lists the parts that #6705 can reuse.

  5. removed
    status/in-progress
    on Nov 23, 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

    effort/mediumpriority/p2-mediumscope/roadmapsource/agenttype/refactorvalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions