Public: anyone can read this; the crew can change it.

A pull's Next line says a person lands it where autonomy is off, not the queue #17570

opened this From outside

Approved, waiting for its check

number 3 in the queue: lands in about 2 h

nextActor said 'queue, approved and green' (and 'green, reviews are off: it lands') in any repository, but only an autonomous one with autonomyBy set has a queue that lands (landadmit.ts answers off, approvedweek land() says 'a person lands it').

Notes · 3 files · +18 −9

Combined with main

The preview is built from combined/17570 (1455144f4c): main merged into this pull's head. Merging lands that branch.

The checks line says which commit the check ran on.

What happens next

The crew's reviewer reads this pull first, then a person who can write here decides whether it lands.

Look

9 pages beside main · 0 new to this pull

/apps

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/changelog

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/docs

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/explore

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/looks/failed

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/looks/missing

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/notes

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/review

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

/security

main

at 27f5834 ·

this pull

In the dark

main

at 27f5834 ·

this pull

at 51001b8 · · the head has moved since; a new picture follows its deploy

opened this

nextActor said 'queue, approved and green' (and 'green, reviews are off: it lands') in any repository, but only an autonomous one with autonomyBy set has a queue that lands (land_admit.ts answers off, approved_week land() says 'a person lands it'). nextOfPull now passes personLands from the repo's autonomy, and a ready pull there answers who: person with lands: true; the pull pane still offers Merge for it. Item 3 of #16452.

Fixes item 3 of "Related, not fixed" in #16452 (the Live-lane fix itself is #17343).

What was wrong. For an approved, green pull in a repository whose autonomy is off (or assisted, or autonomous with no autonomyBy), the pull page, the terminal, MCP pull/flow and waitsFor all said "Next: queue, approved and green". No queue lands there: land_admit.ts answers off and approved_week.ts land() says "a person lands it". The home's Landing lane already says "Approved: waits for you to land it", so the two surfaces disagreed (e.g. trevato/listing-launch#139).

Change.

  • NextInput.personLands (set by nextOfPull from the repo's autonomy/autonomyBy): an approved-green pull, or a green one with reviews off, answers { who: "person", why: "…: a person lands it", lands: true }. Unset still reads as a landing queue, so plain-data callers are unchanged.
  • The pull pane treats lands: true as ready (tone success, Merge/Close offered), so a person still gets the Merge button.
  • Tests: four new next_actor cases; mcp-flow-why, pull-waits-for and pull-next-tui now check both sides (autonomy off → a person lands it; autonomous → the queue). tsc --noEmit clean.

Not changed (for whoever picks it up): landingLine still words an approved pull's ETA as "first in the queue" in a non-autonomous repository; the first-change branch ("green, the app's first change: it lands") is left as is.

Not security-sensitive: only the wording/actor of the Next line; no permission or merge path changes.

Validation

validate on 74c9e03b: pass in 126s (forge.json check.fast, verbatim, in a scrubbed env).

  • bun install --frozen-lockfile: ok (exit 0, 0s)
  • forge.json check.fast: ok (exit 0, 126s)
2 earlier comments
commented

Handed to a person by the crew: two follow-up runs on the review's changes ended without a push, so no more start here until you say what to try. (The forge posts this under the reviewer's name; the reviewer did not write it.)

commented

Follow-up for @juniper's review, in bfff031b:

  • docs/features/reviews-off-lands-on-green.md: a green pull with reviews off lands by itself only where autonomy is on. A new section, "Where autonomy is off (#16452)", says a person lands it there (admit answers off) and gives the Next words: "green, reviews are off: a person lands it" and "approved and green: a person lands it".
  • docs/features/pull-pane.md: describes the ready state with Merge and Close that the pane shows when a person lands the pull. The page, the terminal and the waits-for line all read the same Next.
  • test/next_actor.test.ts (the optional item): each case now carries the flags its Next has (held, changes, lands), which replaces the nested ternary.

No code changes. Local validate (check.fast) passed with the gate on the head merged into the current main. The only failure was one flaky test, crew-merge-conflict "a clash outside the list docs…", which this pull does not touch and which passes when run alone.

commented

I resolved the conflicts by merging main into the branch (no rebase, no force-push). The new head is fd998728.

Main already carries the same Next-line change as #17719, so I took main's side in src/flow/next_actor.ts (including noQueueLands), test/mcp-flow-why.test.ts, test/pull-waits-for.test.ts and docs/features/pull-pane.md. Against main, this pull now adds two things:

  • docs/features/reviews-off-lands-on-green.md: the "Where autonomy is off (#16452)" section. It covers the queue refusing the pull (admit answers off), the "approved and green: a person lands it" wording, the ready state with Merge and Close, and noQueueLands as the one shared test.
  • test/next_actor.test.ts: the held/changes/lands flags column in place of the nested ternary. The two green person-lands rows are dropped because main covers them in its own describe.

On the head, tests and tsc pass. Local validate (check.fast) is green apart from one flaky test, crew-merge-conflict "a clash outside the list docs…", which this pull does not touch and which passes when run alone.

The earlier approval was on bfff031b, so this head needs a fresh review.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs