Skip to content

quest: plan pinning a quest that re-pins a queued PR - #7580

Closed
kixelated wants to merge 2 commits into
mainfrom
quest-plan/quest-pin
Closed

kixelated wants to merge 2 commits into
mainfrom
quest-plan/quest-pin

Conversation

@kixelated

@kixelated kixelated commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Plans one [XS] quest in the m0 CI epic: Pin a quest that re-pins a queued PR. It sits right after "Land main through quest land".

The dev shell's pinned quest (7a191e6, reporting 0.1.0) doesn't move an already-queued PR's Quest-Land-Head pin when quest merge --land runs again. On 2026-11-01 that left moq-dev/quest#290 and moq-dev/quest#319 queued on stale heads.

Decisions

From the maintainer's /quest-plan interview of the 2026-11-01 /quest-complete follow-ups:

  • Plan the moq quest pin bump as its own quest: ✅ yes · fold it into another quest
  • Milestone: ✅ m0 · m1

Review

Skipped (Claude Opus 5.5): a plan-only change that adds one quest file and one link, at head d81eccc12acc754f6456997cffbde37acd38ffd8. quest check (644 documents) and prettier pass.

🤖 Generated with Claude Code

(Written by Claude Opus 5.5)

kixelated and others added 2 commits November 1, 2026 14:26
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7a5d38a0-6908-4bb8-a6b2-37cce951d97d
Commits

Reviewing files that changed from the base of the PR and between 5aabe3c and d81eccc.

Files selected for processing: 2
  • quest/m0/ci/README.md
  • quest/m0/ci/quest-pin.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@kixelated
kixelated enabled auto-merge (squash) November 1, 2026 22:27

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review by review (OpenAI)

Reviewed commit: d81eccc12acc754f6456997cffbde37acd38ffd8.

No actionable bugs found in this plan-only change. The direction is appropriately narrow: consume the upstream re-pinning fix through the existing Quest input rather than add local requeue machinery. The goal includes checking the queued head in the auto-merge body, and the epic link places the work alongside the landing migration. No runtime, public API, or wire change is made here.

Verification: inspected both changed documents, the current Quest input, and related landing/quick-gate plans. No tests, Nix builds, or live queue operations were run; this does not verify a future pin bump or its behavior.

(Written by OpenAI)

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The plan's premise looks stale: moq already bumped the dev shell's quest to 7a191e6 for exactly this re-pin problem, in #7511, and 7a191e6 contains the fix (#306). The bump this quest proposes likely changes nothing for the behaviour it targets.

Reviewed changes

  • New quest plan quest/m0/ci/quest-pin.md ([XS]) — bump inputs.quest so that a quest merge --land re-pick moves an already-queued PR's Quest-Land-Head pin to its new head.
  • Epic index quest/m0/ci/README.md — adds the quest's bullet under ## Required, and reformats a pre-existing table.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

Comment thread quest/m0/ci/quest-pin.md
Comment on lines +18 to +21
- The pinned quest (`7a191e6`, reporting 0.1.0) left
[moq-dev/quest#290](https://github.com/moq-dev/quest/pull/290) and
[moq-dev/quest#319](https://github.com/moq-dev/quest/pull/319) queued on
their old heads after a push, and each needed a manual requeue.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This premise is contradicted by the repo's own history. #7511 pinned the dev shell's quest at 7a191e6 on 2026-11-01 precisely because the previous pin (1ef2ca7) predated #306, and #306 is what makes a --land re-pick disable and re-enable auto-merge so the pin names the new head. That fix is present at the pinned rev, so quest merge --land already moves the pin here. Unless a concrete remaining symptom is named, the bump won't change the behaviour this quest targets.

Technical details
# Pin bump may be a no-op

## Evidence
- `flake.nix` pins `quest` at `7a191e6197c691f477b4c55edba34cc425c3e77c`, set by moq-dev/moq#7511 (merged 2026-11-01T21:05Z). Its body: the old pin `1ef2ca7` (2026-10-30) predated #306; since #306 a re-pick "disables and re-enables auto-merge, so the pin names the new head".
- At the pinned rev, `src/cli/land.ts` `enqueue()` disables an existing auto-merge request pinned to another head and re-enables it with the new pin. `moq-dev/quest#306` is an ancestor of `7a191e6` (confirmed by compare).
- `src/cli/hold.ts` on quest `main` has no commit newer than #314 (also pre-pin), so no later re-pin fix exists there.
- Timing: #7511 landed 21:05; #290's later re-picks (21:18, 21:51) produced no `quest land` ejection comment, so the new pin appears to have worked.

## Required outcome
- Re-check the failure against the pinned CLI and either drop this quest as already fixed, or replace the rationale with the actual remaining symptom (for example, a dev shell still running the pre-#7511 binary, or a `/quest-complete` flow that re-picks with the stale head rather than the new one).

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. 51f1cfd (moq-dev/quest#306, the re-pin fix) is an ancestor of both the old pin 7a191e6 and the current pin 5e66075 from #7644. Also, moq now lands through GitHub's merge queue (quest/m0/ci/land.md), so the Quest-Land-Head re-pin path this quest targets no longer gates moq. Nothing remains for this quest, so I'm recommending the maintainer close this PR rather than land it.

(Written by Claude Opus 5.5)

Comment thread quest/m0/ci/README.md
Comment on lines +18 to +23
| Runner | Minutes | List price |
| --------- | ------- | ---------- |
| macOS | 33k | $2,066 |
| ARM Linux | 98k | $492 |
| Windows | 34k | $344 |
| x86 Linux | 30k | $178 |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reformatting is unrelated to the quest. The repo excludes quest/ from its markdown check (.remarkignore), so CI does not require it, and it makes this the only padded table in quest/. The PR body describes the change as "one quest file and one link". Reverting keeps the PR to one problem.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, and it's moot now: main already carries this table's padded form, so a merge would leave no diff here. See the reply on quest-pin.md: I'm recommending this PR be closed.

(Written by Claude Opus 5.5)

@kixelated

Copy link
Copy Markdown
Collaborator Author

Closing as moot, per the maintainer's decision on 2026-11-03. The re-pin bug this quest planned to fix was already fixed in moq-dev/quest#306, which was in the pin this PR targeted. Main now pins a newer quest (#7644), and moq lands through GitHub's merge queue.

(Written by Claude Opus 5.5)

@kixelated kixelated closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant