Skip to content

feat(roadmap): an open job creates each bot PR from a push #5974

Closed

Description

@dan-petty

Problem

The stage job and the implement job each open their own pull request at the end of a long model run (they call the open step of #5020, devops roadmap step open). They write the title, the type, the scope, the body and the labels with the tools and the context that remain at that point, and nothing checks these attributes against the rules of CI before the pull request exists. On 2026-11-16 two bot pull requests failed the Semantic PR title check for this reason: #5940 and #5920 had the type test (hidden in release-please, so no release) while they change runtime code (src/devops_cli/lang/en/help.py, src/devops_cli/k8s/volume_move.py); a person had to retitle them.

Owner, 2026-11-16: "pr attributes can be generated and validated consistently when pr creation is a separate job. That's why I'm asking for it. We are making plan and implement jobs do too many things with not enough tools or capabilities." The target pipeline is on #5014.

Expected behavior

  • The stage job and the implement job end when devops ci passes and their branch is pushed (feat(roadmap): the implement Job gates before its PR #4719, refactor(roadmap): the implement Job ends at its draft #5029). They open no pull request.
  • A separate open Job, started by the push (the watch row or an event), creates the pull request with devops roadmap step open and owns its attributes:
    • It derives the type from the diff and the item (a change to runtime code gets feat, fix, perf, refactor or revert, never a type that release-please hides), the scope from the labels, the summary within 60 characters, and the body within the limit, with the closing keyword only for the delivered issue, or Plans #N for a plan-only pull request.
    • It checks each attribute with the same rules that CI runs (the title check of .github/workflows/ and its type rule, the body limit, the keyword rule) before it creates the pull request, and fixes what the rules name.
    • It adds the labels and the Status in one place.
  • A branch that was pushed but has no pull request is the open Job's work, not a cleanup of stage.

Test first: a pushed branch whose diff changes runtime code and whose item has the type test gets a pull request with a type that ships a release, and a title that the CI title rules accept.

Related

Activity

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

    @dan-petty
    OwnerAuthor
    • Related: refactor(roadmap): one open step for every pull request #5020, which asks for a different change. Both concern the open step for pull requests; #5020 consolidates the open code into one step, while the candidate adds a separate pipeline job triggered by push that validates attributes before calling that step.
  3. added
    effort/medium
    priority/p2-medium
    owner/agent
    status/in-progress
    status/in-review
    and removed
    status/new
    status/in-progress
    on Nov 16, 2026
  4. removed
    status/in-review
    owner/agent
    on Nov 16, 2026
  5. devops-cli-service commented on Nov 16, 2026

    @devops-cli-service
    Contributor

    Live since 2026-11-16 18:14 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/mediumpriority/p2-mediumscope/roadmapsource/agenttype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions