Skip to content

feat(annotations): say whether each statement's claim holds - #118

Open
PiquelChips wants to merge 1 commit into
feat/server-index-refreshfrom
feat/server-holds
Open

PiquelChips wants to merge 1 commit into
feat/server-index-refreshfrom
feat/server-holds

Conversation

@PiquelChips

Copy link
Copy Markdown
Member

Readers of the statements about a record, such as CI runners over the API, had to work out themselves which ones count. A statement can be superseded, and a promotion can lose its original or be replaced by a new result. Counting differently from the landing queue makes a runner rerun checks that already pass, or trust ones that don't.

Annotations::about now returns the API's Annotation, whose holds says whether the statement's claim counts, as Annotations::claims finds for the landing queue. A test checks that statements whose claims no longer hold say so.

Note

Written by Claude Opus 5.5 in Claude Code (via T3 Code)

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You'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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9eb8ba9d-7fca-4fa9-8aab-28df91e47d95
Commits

Reviewing files that changed from the base of the PR and between 11e4d52 and 3dba8d2.

Files selected for processing: 2

  • apps/origin-src/src/annotations/mod.rs
  • apps/origin-src/src/annotations/promotion.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@PiquelChips
PiquelChips added this pull request to stack #165 November 22, 2026 14:59
@PiquelChips
PiquelChips force-pushed the feat/server-holds branch 2 times, most recently from b490cd1 to d09b991 Compare November 22, 2026 18:54
Readers of the statements about a record, such as CI runners over the
API, had to work out themselves which ones count: a statement can be
superseded, or a promotion whose original was superseded or that a new
result replaced. Counting them differently from the landing queue
would make a runner rerun checks that already pass, or trust ones that
don't.

`Annotations::about` now returns the API's `Annotation`, whose `holds`
says whether the statement's claim counts, as the landing queue finds
with `Annotations::claims`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant