Repository navigation
feat(ci): run checks and issue their results - #161
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-runner
branch
from
November 22, 2026 15:04
cebae8f to
ca7f8ce
Compare
PiquelChips
force-pushed
the
feat/ci-runner
branch
2 times, most recently
from
November 22, 2026 18:54
6156c93 to
8b21ef2
Compare
With checks parsed and checkouts made, something has to run the checks and issue their results, through origin's public API only. `Runner` checks a record through a `Remote`, the SDK over HTTP or the service in-process. It reads the checks from the `checks.toml` of a snapshot it's given: the record's own, or for a worker, the tip of the target the record lands on. It asks the remote to promote existing results first, and skips a check that a result of its issuer, ran or promoted, already covers, counting only statements whose claims hold, as the server does. Otherwise it runs the check in a checkout of its own and issues a `ci.<name>` statement: `pass` if the command exits with 0, with the last 64 KiB of its output as the payload, superseding its issuer's previous result. A check defined by another `checks.toml` than the one its result declares, as when the target's tip moved past the record's base, is declared external, so its result is never promoted. `Remote` gains the `statements` and `promote` calls the runner makes.
PiquelChips
force-pushed
the
feat/ci-runner
branch
from
November 22, 2026 19:20
8b21ef2 to
1b0db4f
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.
With checks parsed and checkouts made, something has to run the checks and issue their results, and it should use only origin's public API.
Runnerchecks a record through aRemote, the SDK over HTTP or the service in-process:checks.tomlof a snapshot it's given: the record's own, or for a worker, the tip of the target the record lands on.POST /promote), and skips a check that a result of its issuer, ran or promoted, already covers. It only counts statements whose claims hold, so it agrees with the server on every claim.ci.<name>statement:passif the command exits with 0, with the last 64 KiB of its output as the payload, superseding its issuer's previous result.A check defined by another
checks.tomlthan the one its result declares, as when the target's tip moved past the record's base, is declared external, so its result is never promoted. The remote gainsstatementsandpromotecalls for it.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)