Skip to content

perf(roadmap): read the default tree once per run - #3636

Merged
dan-petty merged 3 commits into
mainfrom
perf/3430-read-the-default-tree-once-per-run
Nov 5, 2026
Merged

dan-petty merged 3 commits into
mainfrom
perf/3430-read-the-default-tree-once-per-run

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The plan check of the implement job lists the files of the default branch for each Planned item that a run judges. The lookup of the base specs lists them once more. The default branch does not change during a run, so a run over many Planned items repeats the same git ls-tree for each item. The judge now lists the default tree once for each run and gives the list to the check of every item and to the lookup of the base specs. The check still lists the branch of each Staged item for that item. A run gives the same targets and the same left-out reasons as before.

Closes #3430

Change: openspec/changes/archive/2026-11-05-3430-read-the-default-tree-once-per-run/

The plan check of the implement job listed the files of the default branch for each Planned item, and the lookup of the base specs listed them once more. A run now lists them one time and gives the list to the check of every item. The check still lists the branch of each Staged item for that item.
@dan-petty dan-petty added type/infra Type infra: the build, CI, images or cluster scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 5, 2026
@dan-petty

dan-petty commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner Author

Test results

Review findings. Both findings were true. Commit 23e68a9 fixes them.

  • The Feasibility section no longer names pull request numbers. It keeps the issue number and the code evidence.
  • The change artifacts and the page docs/roadmap/implement.md now use sentences of at most 25 words. The task steps use at most 20 words. A script counted the words with each code span as one word.
  • Task 1.1 is now five tasks, one for each test.
  • The Modified Capabilities entry is one short phrase.

Fail-to-pass run. Command: uv run devops ci fail-to-pass --base origin/main. The run exited 0.

  • Result: 1 failed on base, 76 passed on base. The 77 tests are in tests/roadmap/test_roadmap_implement_job.py.
  • The test that fails on base is test_a_run_over_two_planned_items_lists_the_default_tree_once (assert 3 == 1). Two Planned items give 3 listings of origin/main before the change and 1 after it.
  • The four other new tests pass on base. They guard behavior that the change keeps.

Full gate. Command: uv run devops ci, on the code before the archive commit.

  • 23 of 25 rows pass. The rows lint, typecheck, security, docs, openspec, swallowed-failures and test-tree are among them.
  • The row test fails with 4 failed tests and 1 error, in 18750 passed and 2 skipped. The row coverage fails only because the row test fails. The total coverage is 94.52% (the limit is 85%).
  • The failed tests read the state of this host: tests/crypto/test_ssh.py::test_get_ssh_key_prefix_resolution, tests/telemetry/test_config_env_overrides.py::test_find_project_config_path_skips_directory, tests/commands/test_devcontainer_install_tools_dry_run.py::test_mark_only_commands_under_global_dry_run and tests/ai/test_tool_executor_contract.py::test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool[direct].
  • The same four tests fail with the same messages in a clean worktree of origin/main 66a8a63. Issue fix(ci): host state fails four tests and one case #3585 tracks them. A comment with this evidence is on that issue.
  • The pytest step took 6m 9s, over the 5 minute budget. The same issue tracks the time.

@dan-petty
dan-petty marked this pull request as ready for review November 5, 2026 15:30
@dan-petty
dan-petty merged commit 2db71f2 into main Nov 5, 2026
23 checks passed
@dan-petty
dan-petty deleted the perf/3430-read-the-default-tree-once-per-run branch November 5, 2026 15:33
dan-petty pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.62.5](v0.62.4...v0.62.5)
(2026-11-05)


### Bug Fixes

* **security:** keep prose after a token colon unmasked
([#3639](#3639))
([73eff22](73eff22))


### Performance Improvements

* **roadmap:** read the default tree once per run
([#3636](#3636))
([2db71f2](2db71f2))

---
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/infra Type infra: the build, CI, images or cluster

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf(roadmap): the implement plan gate reads the default tree and base specs once per run

1 participant