GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@dezren39 dezren39 commented Nov 23, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.


Prove it works
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
All reactions
  • 👍 1 reaction
@dezren39
test(id-sync): run the relay ingest acceptance against the graph-back…
3a10033
…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

coderabbitai Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Explain Change →

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

  • [pkgs/id] GraphFrontier re-resolves the whole store on every gated message #13043: The tests exercise the GraphFrontier authorization path discussed in this issue, but they do not change or address its per-message cost.
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: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
Merge branch 'main' into lane-jw-3796
4c32bf4
@dezren39 dezren39 mentioned this pull request Nov 23, 2026
epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056
Closed
3 tasks done
@dezren39
dezren39 merged commit d3bec26 into main Nov 23, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the lane-jw-3796 branch November 23, 2026 08:31
This was referenced Nov 23, 2026
id: protocol v1 phase 3 — relay envelope + hop records over iroh-gossip for chained messages (#2036) #3796
Closed
id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member #2249
Closed
test(id-sync): five-node bridge-relay PoC for #2249 #13454
Merged
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
@developing-today-fleet developing-today-fleet Bot added audit:complete PR fully implemented spawning issue audit:completed-later Gap completed by later merged PR and removed audit:complete PR fully implemented spawning issue labels Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:completed-later Gap completed by later merged PR

Projects

None yet

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.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.