strip-owner waits for a suite taker's main to require the release, starting no take-up (MQ-8) #21

Merged
merge-queue merged 1 commit from strip-owner-follows-bumps into main 2026-12-01 00:06:41 -08:00
Owner

Work package: https://openproject.home.romaine.life/wp/MQ-8

For a taker on pipeline-templates' suites, strip-owner no longer starts any take-up. It waits until the taker's default branch's go.mod requires the released module at that version or newer, then goes on as it did after a take-up PR merged. This works today, when a take-up PR still merges onto main, and after the cascade is removed, when merge-queue pushes the bump straight onto main.

Removed

  • Starting go/dependencies.yml for a suite taker, and following its run and its deps/ PR (bumpOf, releaseOf, suiteBump).
  • Forge.OpenTakeUp, and takeUp's fallback to an open take-up the run queued again. That fallback was the suites' deps-pr.mjs behaviour only.
  • Starting the publishing suite (release/ci.yml and the like) when a suite taker's main already carried the version. The push that brought the bump runs that suite, so starting it again would only race it.

Added

  • A suite taker whose main doesn't carry the version reads the landing PR's comments. If merge-queue commented merge-queue couldn't write <owner/repo>'s dependency bump for this change, so it doesn't take it yet: <why> for that repo, the session gets a Dependency bump failed notice with merge-queue's reason. The target keeps waiting for main to carry the version, as after a failed take-up today. The notice text doesn't change between looks, so it is told once.
  • tookUp: one way to settle a taker whose main carries the module, shared by the suite path and the off-suites dispatch.yml path. A release.yml of its own that only runs when started is started. Where a push runs a workflow, the release it makes is waited for. Where nothing runs on a push, main carrying the version is the delivery.
  • A target recorded as following go/dependencies.yml before this change is reset to wait for main, so no in-flight delivery restarts a take-up.
  • A suite taker's wait from being listed to its release is timed for "usual". It used to count only when strip-owner started the run.
  • The Claude rows in a suite taker's notices describe merge-queue's bump instead of a take-up PR.
  • carries compares versions as Go does (golang.org/x/mod/semver, already in the module graph), so a pseudo-version before a release doesn't count as that release. Tags Go can't read keep the old numeric comparison.
  • Forge.Comments (forgejo-api's Client.Comments). strip-owner's eventForge already has it through the embedded client; checked by vetting strip-owner against this branch.

Left alone

  • The off-suites path: dispatch.yml is still started and its PR followed (takeUp: failed check, conflict retake, bringing it level).
  • GitHub-module takers that take a module by commit, and the Forgejo copy check.
  • The release, cluster, apply and install steps.

What brings a look: strip-owner's pr-events listener (owner.event) already calls deliverRepo(repo) for every push, pull request and CI run event. That covers merge-queue's push to the taker's main, the CI runs on it, and merge-queue's failure comment on the landing PR (a pull-request event with action commented, whose repo is the delivery's own). strip-owner needs no change.

🤖 Generated with Claude Code

Work package: https://openproject.home.romaine.life/wp/MQ-8 For a taker on pipeline-templates' suites, strip-owner no longer starts any take-up. It waits until the taker's default branch's go.mod requires the released module at that version or newer, then goes on as it did after a take-up PR merged. This works today, when a take-up PR still merges onto main, and after the cascade is removed, when merge-queue pushes the bump straight onto main. **Removed** - Starting `go/dependencies.yml` for a suite taker, and following its run and its deps/<run id> PR (`bumpOf`, `releaseOf`, `suiteBump`). - `Forge.OpenTakeUp`, and takeUp's fallback to an open take-up the run queued again. That fallback was the suites' deps-pr.mjs behaviour only. - Starting the publishing suite (release/ci.yml and the like) when a suite taker's main already carried the version. The push that brought the bump runs that suite, so starting it again would only race it. **Added** - A suite taker whose main doesn't carry the version reads the landing PR's comments. If `merge-queue` commented `merge-queue couldn't write <owner/repo>'s dependency bump for this change, so it doesn't take it yet: <why>` for that repo, the session gets a **Dependency bump failed** notice with merge-queue's reason. The target keeps waiting for main to carry the version, as after a failed take-up today. The notice text doesn't change between looks, so it is told once. - `tookUp`: one way to settle a taker whose main carries the module, shared by the suite path and the off-suites dispatch.yml path. A release.yml of its own that only runs when started is started. Where a push runs a workflow, the release it makes is waited for. Where nothing runs on a push, main carrying the version is the delivery. - A target recorded as following `go/dependencies.yml` before this change is reset to wait for main, so no in-flight delivery restarts a take-up. - A suite taker's wait from being listed to its release is timed for "usual". It used to count only when strip-owner started the run. - The Claude rows in a suite taker's notices describe merge-queue's bump instead of a take-up PR. - `carries` compares versions as Go does (`golang.org/x/mod/semver`, already in the module graph), so a pseudo-version before a release doesn't count as that release. Tags Go can't read keep the old numeric comparison. - `Forge.Comments` (forgejo-api's `Client.Comments`). strip-owner's `eventForge` already has it through the embedded client; checked by vetting strip-owner against this branch. **Left alone** - The off-suites path: `dispatch.yml` is still started and its PR followed (`takeUp`: failed check, conflict retake, bringing it level). - GitHub-module takers that take a module by commit, and the Forgejo copy check. - The release, cluster, apply and install steps. **What brings a look:** strip-owner's pr-events listener (`owner.event`) already calls `deliverRepo(repo)` for every push, pull request and CI run event. That covers merge-queue's push to the taker's main, the CI runs on it, and merge-queue's failure comment on the landing PR (a `pull-request` event with action `commented`, whose repo is the delivery's own). strip-owner needs no change. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
strip-owner waits for a suite taker's main to require the release, starting no take-up (MQ-8)
All checks were successful
Suite go / check-format (pull_request) Successful in 18s
Suite default / scope (pull_request) Successful in 20s
Suite go / check-test-linux (pull_request) Has been skipped
Suite default / check-fetches (pull_request) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite release / scope (pull_request) Successful in 20s
Suite release / reserve (pull_request) Has been skipped
Suite go / scope (pull_request) Successful in 20s
Suite go / check-services (pull_request) Has been skipped
Suite release / check-package (pull_request) Has been skipped
Suite release / reused-checks (pull_request) Has been skipped
Suite release / deliver (pull_request) Has been skipped
Suite release / module (pull_request) Has been skipped
Suite release / check-manifest (pull_request) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (pull_request) Has been skipped
Suite release / deploy-image (pull_request) Has been skipped
Suite release / deliver-prune (pull_request) Has been skipped
Suite release / finalize (pull_request) Has been skipped
Suite release / publish (pull_request) Has been skipped
Suite go / check-test-windows (pull_request) Successful in 1m6s
Suite default / check-logs (pull_request) Successful in 15s
Suite default / check-rules (pull_request) Successful in 15s
Suite default / reused-checks (pull_request) Successful in 16s
Suite go / reused-checks (pull_request) Successful in 10s
merge-queue / group passed with the 6 modules that use it
merge-queue landed on main
a2533ca54e
merge-queue deleted branch strip-owner-follows-bumps 2026-12-01 00:06:41 -08:00
Sign in to join this conversation.
No reviewers
No labels
queue
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/pr!21
No description provided.