Repository navigation
feat(ci): run a command as a check with origin ci exec - #162
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 18 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-exec
branch
4 times, most recently
from
November 22, 2026 19:20
5ab9528 to
6695a7c
Compare
PiquelChips
force-pushed
the
feat/ci-exec
branch
2 times, most recently
from
November 23, 2026 09:32
2fdd7a8 to
8ef9307
Compare
PiquelChips
force-pushed
the
feat/ci-exec
branch
2 times, most recently
from
November 23, 2026 10:11
3fa8733 to
ae3fba1
Compare
PiquelChips
force-pushed
the
feat/ci-exec
branch
3 times, most recently
from
November 23, 2026 15:01
f641cd1 to
d45ac3b
Compare
PiquelChips
force-pushed
the
feat/ci-exec
branch
5 times, most recently
from
November 24, 2026 22:47
0261f14 to
f26194c
Compare
PiquelChips
force-pushed
the
feat/ci-exec
branch
from
November 24, 2026 22:59
f26194c to
2bdf82a
Compare
PiquelChips
force-pushed
the
feat/ci-exec
branch
from
November 25, 2026 16:21
2bdf82a to
76a44e0
Compare
PiquelChips
force-pushed
the
feat/ci-exec
branch
from
November 25, 2026 17:34
76a44e0 to
48a4e84
Compare
A check that isn't in `checks.toml` yet, or a rerun with another command, should still give a proper result: one that declares its inputs, so it can be promoted. `origin ci exec <name> [--rev <rev>] [--inputs ...] [--toolchain <cmd>] [--external] -- <command...>` runs a command exactly as `ci run` runs a check of `checks.toml`: in a checkout of the revision, with its output as the payload, its exit status as the verdict and its words, quoted for the shell, as the definition. It always runs, even where a result covers it, superseding your previous result of that kind. `require_tests` moves to the shared end-to-end helpers, so the plugin's tests can use it.
PiquelChips
force-pushed
the
feat/ci-exec
branch
from
November 25, 2026 18:16
48a4e84 to
a609a45
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.
What and why
Sometimes a check isn't in
checks.tomlyet, or you want to rerun one with another command. That should still produce a proper result: one that declares its inputs and can be promoted.origin ci exec <name> [--rev <rev>] [--inputs ...] [--toolchain <cmd>] [--external] -- <command...>runs an ad-hoc check exactly asci runruns one ofchecks.toml: in a checkout of the revision, with its output as the payload, its exit status as the verdict and its command, quoted for the shell, as the definition. It always runs, superseding your previous result of that kind.Proved with
exec_runs_a_command_as_a_checkanda_failed_exec_wins_over_a_promoted_pass.require_testsmoves to the shared test helpers so the plugin's tests can use it.It follows the engineering standard, which the stack below it adopts: it drops or turns into docs and markers its own plain comments.
Testing
CI runs
just lint,just testandjust standardon this commit. Rebuilding the stack checkedjust standardandjust linton every commit, andjust teston the top.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)