Repository navigation
feat(ci): answer check requests as a worker - #163
Open
PiquelChips wants to merge 1 commit into
Open
PiquelChips wants to merge 1 commit into
PiquelChips wants to merge 1 commit into
Conversation
|
Warning Review limit reachedYou'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 34 minutes. View limit details
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. |
PiquelChips
force-pushed
the
feat/ci-worker
branch
from
November 22, 2026 15:04
9ffc6cf to
033c81b
Compare
PiquelChips
force-pushed
the
feat/ci-worker
branch
3 times, most recently
from
November 22, 2026 18:54
b3ba18c to
f81bfcc
Compare
Nothing answered `check.requested`: a landing waiting for a `ci.*` result waited until someone ran the check by hand. `origin ci worker --remote <url>` long-polls a remote's `check.requested` events with a scoped token, and runs each check requested on the landing's subject, as the `checks.toml` at the tip of the target it lands on defines it, never the candidate's: a change can't redefine the checks that guard its target. Its statements let the landings continue. The events are only a prompt, so the worker also reconciles: at start, once the remote can be reached again, and every minute, it answers every check a waiting landing lacks that it hasn't answered yet. While the remote can't be reached (`RemoteError::is_unreachable`), it waits and tries again, so it outlives server restarts and loses no check. The end-to-end helpers can restart a server at the same address, and start one with an admin.
PiquelChips
force-pushed
the
feat/ci-worker
branch
from
November 22, 2026 19:20
f81bfcc to
c5a4715
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nothing answered
check.requested: a landing waiting for aci.*result waited until someone ran the check by hand.origin ci worker --remote <url>long-pollscheck.requestedwith a scoped token, such as one fromorigin token issue --scope "read /" --scope "annotate ci.*", and its results let the waiting landings continue.checks.tomlat the tip of the target being landed on defines it, never the candidate's, so a change can't redefine the checks that guard its target. Its results declare that file as a target path (ci: a result can stand for a checks.toml other than the target's #19).RemoteError::is_unreachable), it waits and tries again.Proved end to end against
origin serve, includingresults_stand_for_the_checks_in_force_on_the_targetfor #19 andworkers_outlive_the_server_and_lose_no_check.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)