gunk-dev/the-valley
the-valley:bd-ee6abe4bugopen

An approved change made stale by another landing is left held: the restacker waits on the request the integrator already judged stale

State
free to start
Created
2026-11-17 by contributor

Body

Observed: two ready changes in one project that merge cleanly with each other. Both were approved; the other landed first. For the second:

- `valley status` printed `needs attention; the integrator reported stale` and `The stored outcome has no detailed reason`.
- Its restack report stayed `held before rebasing onto main at <tip> by the request c-…: request might still land: no outcome yet, so the integrator has still to judge it`.
- `valley pending` listed it under moving with `◇ restack: held before rebasing…`, with all its checks passed, and under nothing that needs the operator.

It stayed so for the minutes it was watched; a client rebase and a new version cleared it. Not established: whether a later restacker wake would have rebased it without help.

Two defects:

1. The restacker's hold is decided before the integrator's stale outcome is recorded and is not revisited when that outcome lands, or is revisited only on a later unrelated wake. A stale outcome should wake the restacker for that change.
2. The listing shows a change that needs a new approval as "moving". After a stale outcome the change needs the operator (or a restack and then the operator) and should say so.

Related: approvals carrying across a rebase that leaves the delta unchanged (oc-d28b43a) would let the second approval stand; conflicting changes ordered before review (ida-9232186); the pair comparison that lapses while a restack is pending (bd-7f73771).

Comments

No comments.