Skip to content

fix(id): report mixed revocation window counts as unavailable - #12045

Merged
dezren39 merged 1 commit into
mainfrom
aster/12041-revocation-window-20261119
Nov 19, 2026
Merged

dezren39 merged 1 commit into
mainfrom
aster/12041-revocation-window-20261119

Conversation

@dezren39

@dezren39 dezren39 commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Fixes #12041.

The owner report now uses the existing Unavailable(RevokeTimeNotRecorded) whenever any revoked participant lacks a revocation timestamp. A timed subset can no longer appear as a complete Known window total. The existing reason's display text and field documentation now accurately describe mixed coverage.

No new fields, serialization changes, journal changes, or authorization semantics. Unrelated live/replay behavior is explicitly out of scope.

Verification

  • Red: synthetic mixed timed/untimed fixture returned Known(1) instead of Unavailable(RevokeTimeNotRecorded).
  • Green: all26 world_owner_report::tests passed, including mixed timed dates inside/before/at the exclusive window end, fully timed inclusive/exclusive bounds, and zero revocations with an untimed join.
  • Command: CARGO_BUILD_JOBS=2 FLEET_BUILD_LOCK_BROKER_WAIT=0 timeout 480s ~/tools/fleet-build-lock cargo test --offline --locked -p id-worlds --lib --features ssh world_owner_report::tests.
  • Independent scoped review approved; rustfmt and git diff --check clean.

Merge Danger

Two-way door; owner-report completeness presentation only. Timed counts remain known when every relevant revocation is timestamped. No deployment or live service operations.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 19, 2026 13:37
@coderabbitai

coderabbitai Bot commented Nov 19, 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 20 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: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1a46c2cb-bf30-4fc3-a936-50231621655d
Commits

Reviewing files that changed from the base of the PR and between ca489f2 and 9b5e76b.

Files selected for processing: 2

  • pkgs/id/crates/id-worlds/src/world_owner_report.rs
  • pkgs/id/crates/id-worlds/src/world_owner_report_tests.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

Copy link
Copy Markdown
Member Author

@codex review

Please review exact head 9b5e76b. Narrow owner-report completeness fix: any untimed revoked participant makes the window total unavailable; existing enum/serialization preserved and display wording corrected. Synthetic regression red first, all26 focused owner-report tests green, independent review approved. No auth/journal/live-replay changes.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T13:39:57.246350Z 9b5e76b Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Breezy!

Reviewed commit: 9b5e76bb87

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@dezren39
dezren39 merged commit 1caf0f5 into main Nov 19, 2026
1 check passed
@dezren39
dezren39 deleted the aster/12041-revocation-window-20261119 branch November 19, 2026 13:42
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.

id(worlds): mixed timed and untimed revocations report an incomplete window count as Known

1 participant