Skip to content

fix(roadmap): accept a clean merge by a person on a branch - #3603

Merged
dan-petty merged 6 commits into
mainfrom
fix/3392-accept-clean-branch-update-merge
Nov 5, 2026
Merged

dan-petty merged 6 commits into
mainfrom
fix/3392-accept-clean-branch-update-merge

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The implement job, the stage job and the takeover of worktrees add stopped a branch when a person had written a commit to it. GitHub writes such a commit when a person presses Update branch. That merge commit changes no file by hand. Each of the three paths now leaves out a clean merge by a person. A clean merge is a merge commit whose tree is the one that git merge-tree --write-tree gives for its two parents. A merge that changes a file or resolves a conflict still counts as a commit by a person.

Closes #3392

Change: openspec/changes/archive/2026-11-05-3392-accept-clean-branch-update-merge/

Plan the change for #3392: a merge commit that git merge-tree reproduces does not count as a commit by a person. The spec deltas cover the implement job, the takeover by worktrees add and the stage reconcile.
A merge commit that git merge-tree --write-tree reproduces with the same tree changes no file by hand. The implement job and the stage reconcile no longer count its author as a commit by a person. A merge that changed a file or resolved a conflict keeps its author.
The takeover of a staged branch reads the authors with the same rule as the implement job. A clean merge by a person no longer refuses the takeover. A merge that changed a file or resolved a conflict still refuses it, and names the author. The dry run of the implement job lists the new log format.
The implement job, the stage reconcile and worktrees add read the same rule for a clean merge. The docstrings and CONTRIBUTING.md say so.
Split the long sentences that describe a clean merge, and wrap the docstrings of the implement job and worktrees add to 100 columns. The rule does not change.
Archive the change. Strict validation refused three requirements whose
text was over 500 characters. Shorten each text, and move the Planned
item clause of the implement job into its own requirement with its
scenarios. The rules do not change.
@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 5, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Finish notes for #3392. The pull request stays a draft.

Local CI (uv run devops ci) on HEAD f14e748, the archive commit:

  • All checks pass except test and coverage. The coverage check fails because the test run failed. Total coverage is 94.50%, and the required 85.0% is reached.
  • Test run: 4 failed, 18641 passed, 2 skipped, 1 error.
  • The five failures are the known host failures of fix(ci): host state fails four tests and one case #3585. They are not caused by this change:
    • 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
    • tests/ai/test_tool_executor_contract.py::test_the_direct_executor_refuses_a_network_profile_before_it_starts_the_tool[direct] (failed, and an error at teardown)
  • The run also warns that the tests took 6m 46s, above the 5 minute budget. The run shared the host with another CI run. This warning is an open item.
  • Lint, format, docs, typecheck, security, OpenSpec and the other static checks pass.

Fail-to-pass (devops ci fail-to-pass --base origin/main), run on e7f595d. The archive commit changes no file under src/ or tests/:

  • 4 failed on base, 0 errored, no host path guard hit.
  • The four tests that fail on the base are the tests that this fix adds or changes.

Deviations from the plan:

  • The archive ran, then strict validation refused three requirements over 500 characters. The archive commit fixes this in the main specs and in the archived deltas:
    • repos-worktrees-add "A staged branch is taken over": shorter text. The output sentence is now in its scenario.
    • roadmap-stage "A closed item loses its staged branch when only the App wrote to it": shorter text.
    • roadmap-implement-job: the Planned clause moved to the new requirement "The job leaves out a Planned item that is held, archived or incomplete", with the four Planned scenarios.
  • Task 4.1 is ticked in the archive commit.

Open items:

  • A person must review the diff before the pull request is marked ready (tasks.md, "Pending a person").
  • The pytest timing above 5 minutes was seen in this run. It is not filed, because the stage notes do not name it.
  • The known host failures stay open under fix(ci): host state fails four tests and one case #3585.

@dan-petty
dan-petty marked this pull request as ready for review November 5, 2026 09:49
@dan-petty
dan-petty merged commit 4fff490 into main Nov 5, 2026
23 checks passed
@dan-petty
dan-petty deleted the fix/3392-accept-clean-branch-update-merge branch November 5, 2026 12:06
dan-petty pushed a commit that referenced this pull request Nov 5, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.61.0](v0.60.0...v0.61.0)
(2026-11-05)


### Features

* **roadmap:** check each behavior group fails on base before the change
([#3602](#3602))
([7b8a4a1](7b8a4a1))
* **roadmap:** the inbox lists every person wait of each service repo
([#3616](#3616))
([b81913b](b81913b))
* **telemetry:** measure how long roadmap items wait in each state
([#3601](#3601))
([05c9ebd](05c9ebd))


### Bug Fixes

* **github:** send a GET again when its connection is lost
([#3608](#3608))
([4528f49](4528f49))
* **roadmap:** accept a clean merge by a person on a branch
([#3603](#3603))
([4fff490](4fff490))
* **roadmap:** the stage job waits for an open plan that creates a path
([#3613](#3613))
([7e66373](7e66373))

---
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/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): the implement job takes a branch a person updated

1 participant