Skip to content

feat(roadmap): Re-stage an item whose draft plan fails - #5816

Merged
dan-petty merged 6 commits into
mainfrom
feat/3387-stage-items-whose-draft-plan-fails
Nov 15, 2026
Merged

dan-petty merged 6 commits into
mainfrom
feat/3387-stage-items-whose-draft-plan-fails

Conversation

@devops-cli-service

@devops-cli-service devops-cli-service Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

The stage job leaves out an item whose branch is on origin, so a draft plan that fails a check, or whose files main changed, has no way back (#3387). After a draft plan with placeholder text opened for #3307, devops roadmap explain 3307 gave the reason of a pushed branch, and a person had to edit or abandon the draft. The job must replace its own bad plan on the branch it already made.

Closes #3387

Change: openspec/changes/archive/2026-11-15-3387-stage-items-whose-draft-plan-fails/

@devops-cli-service
devops-cli-service Bot force-pushed the feat/3387-stage-items-whose-draft-plan-fails branch from f1910ef to ea85341 Compare November 15, 2026 10:58
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3387-stage-items-whose-draft-plan-fails branch from b0d8fe2 to 5f5dffb Compare November 15, 2026 11:33
@devops-cli-service
devops-cli-service Bot force-pushed the feat/3387-stage-items-whose-draft-plan-fails branch from 472df51 to c1d1431 Compare November 15, 2026 11:54
@devops-cli-service devops-cli-service Bot added type/feature Type feature: a new function scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 15, 2026
@devops-cli-service

Copy link
Copy Markdown
Contributor Author

The steps of the job:

Stopped at scoped checks.

Failure class: ci_infra.
Action taken: none.
Action left: retry: run the item again.

Step Status Attempts Tokens in/out Last failing command
group 1 done 2 8594384/32583 pytest on base: tests/roadmap/stage/test_roadmap_stage_held.py
group 2 done 1 11832583/48030 pytest on base: tests/roadmap/stage/test_roadmap_stage_held_read.py
group 3 done 1 8962917/33292 pytest on base: tests/roadmap/stage/test_roadmap_stage_selection.py
group 4 done 1 12375918/38353 pytest on base: tests/roadmap/stage/test_roadmap_stage_restage.py
group 5 done 1 1439392/7114 -
scoped checks stopped 1 0/0 -

Reason:

SecurityError: Prohibited dangerous environment variable override: 'PYTEST_ADDOPTS'

Last message of the agent (a claim that no check verified): none.

The item is Blocked, and the job will not run it. Fix the cause. Then comment implement: retry. The Service clears the stop on its own when a new runner image rolls out, but only if a retry can fix the class of the stop and the limits of roadmap.implement.digest_clears_per_class and roadmap.implement.digest_clears_per_item allow it.

The job kept the commits that passed on the branch feat/3387-stage-items-whose-draft-plan-fails on origin. The last is a8cc009dc9ac3ec8ace8e276787b9244329b76b3. The pull request stays a draft. The next run continues from it, runs no group that is ticked, and runs the scoped checks again.

Step Status Attempts Tokens in/out Last failing command
group 1 done 2 8594384/32583 pytest on base: tests/roadmap/stage/test_roadmap_stage_held.py
group 2 done 1 11832583/48030 pytest on base: tests/roadmap/stage/test_roadmap_stage_held_read.py
group 3 done 1 8962917/33292 pytest on base: tests/roadmap/stage/test_roadmap_stage_selection.py
group 4 done 1 12375918/38353 pytest on base: tests/roadmap/stage/test_roadmap_stage_restage.py
group 5 done 1 1439392/7114 -
  • scoped check pre-push: passed, 9 s
  • scoped check static: passed, 30 s
  • scoped check tests: passed, 34 s
  • scoped check tests: the changed files select more than 30 test modules, so only the changed test modules ran. The required checks of CI run the others
  • fail-to-pass of group 1: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_held::test_a_draft_at_another_commit_than_the_recorded_one_stays_held, tests.roadmap.stage.test_roadmap_stage_held::test_a_pull_request_that_is_no_draft_stays_held, tests.roadmap.stage.test_roadmap_stage_held::test_a_draft_that_the_job_re_staged_once_stays_held, tests.roadmap.stage.test_roadmap_stage_held::test_a_re_stage_of_the_same_text_holds_the_draft, tests.roadmap.stage.test_roadmap_stage_held::test_a_draft_plan_that_passes_check_proposal_stays_held, tests.roadmap.stage.test_roadmap_stage_held::test_a_re_stage_of_another_text_holds_no_draft, tests.roadmap.stage.test_roadmap_stage_held::test_a_draft_with_a_commit_of_a_person_stays_held, tests.roadmap.stage.test_roadmap_stage_held::test_a_draft_plan_that_fails_check_proposal_is_replaced, tests.roadmap.stage.test_roadmap_stage_held::test_a_read_of_no_draft_replaces_nothing, tests.roadmap.stage.test_roadmap_stage_held::test_a_re_stage_records_the_pull_and_the_hash_of_the_text, tests.roadmap.stage.test_roadmap_stage_held::test_a_record_that_is_no_re_stage_is_read_as_none, tests.roadmap.stage.test_roadmap_stage_held::test_a_draft_with_an_unresolved_review_thread_stays_held, tests.roadmap.stage.test_roadmap_stage_held::test_an_item_with_no_re_stage_record_holds_none, tests.roadmap.stage.test_roadmap_stage_held::test_a_branch_with_a_path_outside_the_change_folder_stays_held.
  • fail-to-pass of group 2: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_at_another_commit_than_the_recorded_one_is_read_as_held, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_with_an_unresolved_review_thread_is_read_as_held, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_whose_branch_origin_lacks_is_read_as_none, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_whose_plan_passes_the_check_is_read_as_held, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_pull_request_that_is_no_draft_is_read_as_none, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_whose_plan_check_finds_a_problem_is_read_as_replaceable, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_whose_branch_changes_a_path_outside_the_change_folder_is_read_as_held, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_that_the_job_re_staged_once_is_read_as_restaged, tests.roadmap.stage.test_roadmap_stage_held_read::test_an_item_with_no_recorded_draft_is_read_as_none, tests.roadmap.stage.test_roadmap_stage_held_read::test_a_draft_whose_plan_a_person_pushed_is_read_as_held.
  • fail-to-pass of group 3: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_selection::test_the_walk_judges_no_item_past_the_limit_unless_it_is_the_probe, tests.roadmap.stage.test_roadmap_stage_selection::test_the_holder_is_asked_about_the_new_branch_of_the_item, tests.roadmap.stage.test_roadmap_stage_selection::test_a_held_item_with_a_passing_plan_a_thread_or_a_commit_beyond_the_plan_stays_out[passing-plan], tests.roadmap.stage.test_roadmap_stage_selection::test_the_probe_past_the_limit_that_breaks_a_rule_has_its_reason, tests.roadmap.stage.test_roadmap_stage_selection::test_a_held_item_is_left_out_with_the_sentence_of_its_holder, tests.roadmap.stage.test_roadmap_stage_selection::test_a_retried_item_of_a_higher_priority_goes_before_a_new_item_of_a_lower_priority, tests.roadmap.stage.test_roadmap_stage_selection::test_the_planned_count_holds_only_open_planned_items, tests.roadmap.stage.test_roadmap_stage_selection::test_a_title_that_gives_no_branch_name_is_left_out[the job drops a comment-Conventional Commit type], tests.roadmap.stage.test_roadmap_stage_selection::test_the_limit_caps_the_run_by_priority_and_then_by_number, tests.roadmap.stage.test_roadmap_stage_selection::test_a_named_issue_that_is_closed_or_no_item_carries_its_kind, tests.roadmap.stage.test_roadmap_stage_selection::test_a_staged_item_takes_the_type_of_its_title_not_fix, tests.roadmap.stage.test_roadmap_stage_selection::test_one_item_by_number_must_be_ready[Blocked], tests.roadmap.stage.test_roadmap_stage_selection::test_inside_one_priority_an_item_with_no_digest_clear_goes_before_a_retried_item, tests.roadmap.stage.test_roadmap_stage_selection::test_at_the_planned_limit_the_job_takes_no_item_and_gives_the_limit_as_the_reason, tests.roadmap.stage.test_roadmap_stage_selection::test_a_named_item_that_an_agent_claimed_is_left_out, tests.roadmap.stage.test_roadmap_stage_selection::test_a_tracker_is_left_out_under_the_wide_default_filter[sub-issues], tests.roadmap.stage.test_roadmap_stage_selection::test_a_recorded_split_of_an_earlier_measure_does_not_stop_the_item, tests.roadmap.stage.test_roadmap_stage_selection::test_the_branch_name_comes_from_the_title, tests.roadmap.stage.test_roadmap_stage_selection::test_a_held_item_with_a_passing_plan_a_thread_or_a_commit_beyond_the_plan_stays_out[commit-beyond-the-plan], tests.roadmap.stage.test_roadmap_stage_selection::test_a_ready_p0_item_goes_before_a_ready_p3_item_under_the_default_filter, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_with_a_recorded_split_waits_for_a_person, tests.roadmap.stage.test_roadmap_stage_selection::test_a_title_that_gives_no_branch_name_is_left_out[wip: the job drops a comment-The title type wip is not a type of the project], tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_an_agent_or_a_person_claimed_is_left_out[owner/human-It is claimed by human.], tests.roadmap.stage.test_roadmap_stage_selection::test_a_tracker_is_left_out_under_the_wide_default_filter[epic-with-sub-issues], tests.roadmap.stage.test_roadmap_stage_selection::test_under_the_planned_limit_the_job_takes_items_as_before, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_an_agent_or_a_person_claimed_is_left_out[owner/agent-It is claimed by agent.], tests.roadmap.stage.test_roadmap_stage_selection::test_closed_recorded_blocker_does_not_leave_item_out, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_is_started_or_to_split_is_left_out[filters0-labels0-Blocked-Status Blocked], tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_with_a_folder_on_the_default_branch_is_left_out_by_its_issue_number_alone, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_fails_another_rule_keeps_that_reason_at_the_planned_limit, tests.roadmap.stage.test_roadmap_stage_selection::test_a_named_issue_that_is_no_item_has_the_shared_reason, tests.roadmap.stage.test_roadmap_stage_selection::test_a_tracker_is_left_out_under_the_wide_default_filter[epic-label], tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_whose_text_looks_like_a_secret_is_left_out, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_is_started_or_to_split_is_left_out[filters2-labels2-In Review-Status In Review], tests.roadmap.stage.test_roadmap_stage_selection::test_items_with_the_same_priority_and_attempt_state_go_by_number, tests.roadmap.stage.test_roadmap_stage_selection::test_a_title_that_gives_no_branch_name_is_left_out[fix(roadmap): \u2728-word for the branch name], tests.roadmap.stage.test_roadmap_stage_selection::test_each_left_out_item_carries_the_kind_of_its_reason, tests.roadmap.stage.test_roadmap_stage_selection::test_one_item_by_number_must_be_ready[New], tests.roadmap.stage.test_roadmap_stage_selection::test_over_the_planned_limit_the_job_takes_no_item, tests.roadmap.stage.test_roadmap_stage_selection::test_a_filter_with_no_status_family_still_takes_only_ready_items, tests.roadmap.stage.test_roadmap_stage_selection::test_a_re_staged_item_is_held_with_the_failed_check_proposal, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_depends_on_an_open_issue_is_left_out, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_the_service_holds_is_staged_as_one_with_no_owner, tests.roadmap.stage.test_roadmap_stage_selection::test_a_held_item_with_a_passing_plan_a_thread_or_a_commit_beyond_the_plan_stays_out[review-thread], tests.roadmap.stage.test_roadmap_stage_selection::test_a_p0_item_and_a_p1_item_get_a_plan_at_the_planned_limit, tests.roadmap.stage.test_roadmap_stage_selection::test_a_named_issue_that_is_closed_has_the_shared_reason, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_is_started_or_to_split_is_left_out[filters3-labels3-Ready-needs-split], tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_of_an_account_without_write_access_is_left_out, tests.roadmap.stage.test_roadmap_stage_selection::test_open_recorded_blocker_leaves_item_out, tests.roadmap.stage.test_roadmap_stage_selection::test_one_item_by_number_must_be_an_item, tests.roadmap.stage.test_roadmap_stage_selection::test_a_held_item_whose_draft_plan_fails_check_proposal_is_staged_again, tests.roadmap.stage.test_roadmap_stage_selection::test_one_item_by_number_ignores_the_filter, tests.roadmap.stage.test_roadmap_stage_selection::test_one_item_by_number_must_be_open, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_names_an_open_issue_by_its_quoted_title_is_left_out, tests.roadmap.stage.test_roadmap_stage_selection::test_values_of_one_family_are_alternatives_and_families_all_apply, tests.roadmap.stage.test_roadmap_stage_selection::test_the_default_filter_names_every_ready_item, tests.roadmap.stage.test_roadmap_stage_selection::test_an_item_that_is_started_or_to_split_is_left_out[filters1-labels1-In Progress-Status In Progress], tests.roadmap.stage.test_roadmap_stage_selection::test_one_item_by_number_must_be_ready[In Progress], tests.roadmap.stage.test_roadmap_stage_selection::test_a_named_item_passes_the_planned_limit.
  • fail-to-pass of group 4: fails on the base commit. Tests that fail on the base commit: tests.roadmap.stage.test_roadmap_stage_restage::test_a_branch_that_moved_past_the_recorded_commit_refuses_the_push, tests.roadmap.stage.test_roadmap_stage_restage::test_a_re_stage_pushes_to_the_same_branch_updates_its_draft_and_names_it.
  • verify of group 5: uv run devops ci docs exits 0.
\u2139 Quality gate root: /home/devops/.data/agent/worktrees/w-3387
\u2713 All documentation files are up to date.
Bytecode compiled 23327 files in 579ms
Bytecode compiled 23327 files in 593ms

@dan-petty
dan-petty marked this pull request as ready for review November 15, 2026 12:56
@dan-petty
dan-petty self-requested a review as a code owner November 15, 2026 12:56
@dan-petty
dan-petty merged commit 631a0b3 into main Nov 15, 2026
24 checks passed
@dan-petty
dan-petty deleted the feat/3387-stage-items-whose-draft-plan-fails branch November 15, 2026 12:58
dan-petty pushed a commit that referenced this pull request Nov 15, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.153.0](v0.152.1...v0.153.0)
(2026-11-15)


### Features

* **monitoring:** Turn on the Loki pattern ingester
([#5833](#5833))
([1189ce3](1189ce3))
* **roadmap:** Re-stage an item whose draft plan fails
([#5816](#5816))
([631a0b3](631a0b3))


### Bug Fixes

* **github:** retry a connect failure on GitHub session GET
([#5832](#5832))
([7fc5a87](7fc5a87))
* **roadmap:** Read the plan head by SHA, not FETCH_HEAD
([#5831](#5831))
([2b46370](2b46370))
* **security:** configure read-only root file system for GFD
([#5807](#5807))
([3c902d7](3c902d7)),
closes [#5791](#5791)
* **security:** Keep a lower-case name after a token keyword
([#5824](#5824))
([c4b2fc9](c4b2fc9))
* **tests:** Name the ceiling file and the usual fix
([#5829](#5829))
([cd0974c](cd0974c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(roadmap): Stage items whose draft plan fails the check

1 participant