GeezerVison is showing github.com — test(id-sync): run the relay ingest acceptance against the graph-backed frontier by dezren39 · Pull Request #13076 · developing-today/code
Conversation
dezren39
commented
Nov 23, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
What
The phase-3 acceptance scenarios at the live ingest call site (relay_ingest) ran only against the hand-kept AllowlistFrontier stand-in. This adds the bridge, removed-member and duplicate scenarios a second time with each relay's gate reading authorization from a real event store holding the group's signed membership operations — the GraphFrontier backing a production host wires in (landed in PR #13011) — replicated to both relays the way gossip would carry them.
The removed-member case is the one the stand-in cannot express honestly: the refusal state is the fold of the signed create + remove operations themselves, and a current member's message still forwards through the same store.
Tests only, plus two doc lines recording that the ingest acceptance now runs against both backings. One file: pkgs/id/crates/id-sync/src/relay_ingest.rs (+268/−2).
Verification (laptop worktree off origin/main, nix develop in pkgs/id)
cargo test -p id-sync --lib — 238 passed / 0 failed, including the three new tests by name:
bridge_then_leaf_exchange_with_graph_frontier
removed_member_origin_is_refused_at_ingest_with_graph_frontier
duplicate_arrival_is_suppressed_at_ingest_with_graph_frontier
cargo fmt -p id-sync applied; diff stays in the one file.
cargo clippy -p id-sync --all-targets finished; zero diagnostics reference the changed file.
Tracking
Refs #3796 — this is the acceptance re-check that tracking issue was waiting on (the graph frontier in the loop at the ingest level). The tracking issue is shut by hand with the evidence once this lands; no keyword automation is used for it.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Tests
- Added coverage for graph-authorized message relaying across bridge and leaf connections, including envelope and hop-chain preservation.
- Verified that removed members’ messages are refused, current members’ messages are forwarded, and duplicate messages are delivered only once.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
chatgpt-codex-connector[bot] reacted with thumbs up emoji
…ed frontier
The phase-3 acceptance scenarios at the live ingest call site ran
only against the hand-kept AllowlistFrontier stand-in. Add the
bridge, removed-member and duplicate scenarios a second time with
each relay's gate reading authorization from a real event store
holding the group's signed membership operations (GraphFrontier),
replicated to both relays the way gossip would carry them. The
removed-member case is the one the stand-in cannot express
honestly: the refusal state is the fold of the signed create and
remove operations themselves.
Refs #3796.
coderabbitai
Bot
commented
Nov 23, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The relay ingest test module adds graph-backed test fixtures and live acceptance tests. The tests cover bridge-to-leaf delivery, authorization after member removal, and duplicate-message handling.
Changes: Graph-backed relay ingest tests
| Layer / File(s) |
Summary |
GraphFrontier test setup pkgs/id/crates/id-sync/src/relay_ingest.rs |
Adds helpers to create signed group operations, populate event stores, construct graph-backed relay protocols, and sign test envelopes. Module documentation and imports describe and support coverage of both frontier backings. |
GraphFrontier ingest scenarios pkgs/id/crates/id-sync/src/relay_ingest.rs |
Adds live tests for bridge-to-leaf delivery with verified envelope and hop data, refusal of a removed member while forwarding a current member’s message, and duplicate delivery suppression. |
Estimated code review effort: 2 (Simple) | ~15 minutes
Change: Other
Possibly related issues
Merge Risk: Minimal · up to 4c32b
-
This change adds graph-backed acceptance tests for relay ingest and updates two documentation lines. Production behavior is unchanged, so merge risk is minimal.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title "test(id-sync): run the relay ingest acceptance against the graph-backed frontier" matches the main change. The raw summary and PR objectives both show the PR adds graph-backed variants of t… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title "test(id-sync): run the relay ingest acceptance against the graph-backed frontier" matches the main change. The raw summary and PR objectives both show the PR adds graph-backed variants of the bridge, removed-member, and duplicate acceptance tests for relay_ingest, using GraphFrontier instead of the AllowlistFrontier stand-in. The title names the scope (id-sync), the test nature of the change, and the graph-backed frontier. It is specific and concise, and it does not describe anything absent from the changeset.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Warning Some tools did not complete. Review the errors below.
Clippy (1.99.1)
-
Clippy execution timed out
Clippy (1.99.1) exceeded its 180-second time budget. Findings from completed work are retained; remaining checks are incomplete.
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
-
Recent review info
-
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:
7708e766-fedf-438d-97b0-b122e6ec75e5
Commits
-
Reviewing files that changed from the base of the PR and between b4aacb7 and 4c32bf4.
Files selected for processing: 1
-
pkgs/id/crates/id-sync/src/relay_ingest.rs
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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-23T08:00:21.002509Z |
3a10033 |
PR opened |
ℹ️ 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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 23, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|