Repository navigation
feat(server): promote results over the API - #157
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-promote-api
branch
3 times, most recently
from
November 22, 2026 18:54
bcff35c to
ef62fee
Compare
Promotion ran only in a working copy, with `origin promote`, and the landing queue. A CI worker talking to a server needs it too: a check whose result a promotion covers needn't run again. `POST /promote` promotes results to a record the caller sees, from the records they see on the same target with the same input digest, as statements the server issues, and returns them. A promotion claims nothing new, so any signed-in caller may ask for one. It retries the landings waiting for evidence about the record if it has any statement, even when nothing new was promoted: a result put by a call a crash cut short may be what they wait for. `origin promote` goes through the same call.
PiquelChips
force-pushed
the
feat/ci-promote-api
branch
from
November 22, 2026 19:20
ef62fee to
e40365a
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.
Promotion only ran in a working copy (
origin promote) and in the landing queue. A CI worker talking to a server needs it too: a check whose result a promotion covers needn't run again.POST /promotepromotes results to a record the caller sees, from the records they see on the same target with the same input digest, as statements the server issues, and returns them. A promotion claims nothing new, so any signed-in caller may ask for one, and it never copies a result, or its payload, the caller can't read.It also retries the landings waiting for evidence about the record whenever the record has a statement, even if nothing new was promoted: a result put by a call a crash cut short may be what they wait for.
origin promotegoes through the same call.Note
Written by Claude Opus 5.5 in Claude Code (via T3 Code)