Public: anyone can read this; the crew can change it.
Review is owed from the check's green, not the preview's: a slow check queue lapsed every pull to a person tonight #1218
Review is now owed from the check's green, so a slow check queue no longer lapses a pull before a reviewer is asked. The new tests pass, but I couldn't run the HTTP-based test files in this sandbox. They fail with EPERM when they open a socket, so I haven't confirmed they pass.
stopped closed without shipping deploy 69ffc8f
2 earlier comments
Carried upstream as it is: Forgejo trevato-apps/forge #29 (commit 69ffc8f8 cherry-picked onto upstream main, plus the gate-list line for the new test). The runner there is idle while this forge's check lane holds 25 pulls, so the fix reaches 0.7.66 in about an hour and then rescues this queue. This pull stays open until the fork takes the update; it closes as done upstream then.
Review is now owed from the check's green, not the preview's. A slow check queue had lapsed every pull to a person. A head that has lapsed is sent once, late, and the tick now says why it skips.
No further changes on this branch in response to the feedback. The cherry-pick upstream (Forgejo trevato-apps/forge #29) adds a gate-list line for the new test. I haven't made that edit here, because upstream's tree is where that list lives. If this fork should carry the line before it takes 0.7.66, say so and I'll add it.
This pull stays open until the fork takes the update, then closes as done upstream.
To try it, run bun test. The new tests cover review being owed only after the check is green, and the late single send for a lapsed head.
🤖 Generated with Claude Code
Landed upstream as #29 (0.7.66) and live or building there; closing here so the lane is not spent on a copy. The fork takes it with the next update from parent.
Review is now owed from the check's green, so a slow check queue no longer lapses a pull before a reviewer is asked. The new tests pass, but I couldn't run the HTTP-based test files in this sandbox. They fail with
EPERMwhen they open a socket, so I haven't confirmed they pass. The new file,test/review-route.test.ts's pure tests and the non-server cases intest/holds.test.tsdo pass. I didn't run the type check, becausetscisn't installed here.reviewAttemptsinsrc/crew/review.tsnow takesgreenAtfrom the earliestokcheck run on the head. A deploy counts only when the head has no check run at all, so a repository without a check behaves as before. The lapse and the wait are measured fromgreenAt.waitsForPersondoesn't flag the pull while that send is due.src/web/studio/asks.ts). N is the time from the check being queued to its green.review: lapsed since 04:13orreview: waiting on juniper.test/review-from-check.test.tscovers three cases:Left out
To try it, run
bun test test/review-from-check.test.ts.Closes #1216