Repository navigation
iroh: consume AddressLookupService behind a debug flag (registry resolve + record publish) #10914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
lawrencecchen
wants to merge
87
commits into
main
Choose a base branch
from
feat-iroh-address-lookup
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
98c03a6
test(iroh): host must not publish its binding before the home relay i…
lawrencecchen 21bba9c
iroh host: cache-first activation and register-when-ready publication
lawrencecchen 6ed798b
test(iroh): failing tests for unbounded dials and zero-route refresh …
lawrencecchen 01c9410
fix(iroh): bound the admission barrier, dial cached hints on refresh …
lawrencecchen 721d8bc
Delete dead legacy broker relay-token route
lawrencecchen 017a52e
Delete the dormant n0-hosted relay minter compatibility path
lawrencecchen 226af47
Delete orphaned relay-issuance plumbing and the producer-less quota e…
lawrencecchen 2b5b6c4
Delete never-wired offline-pair server subgraph and other unreference…
lawrencecchen e49eecb
iroh host: a relay-readiness timeout never publishes the binding
lawrencecchen ca8eb73
iroh host: apply the readiness check on every publication path
lawrencecchen 4f2daab
test(iroh): bounded close wait for terminal reconcile teardown
lawrencecchen 51198c1
Delete unreferenced CmxIrohInboundStream from CmuxIrohTransport
lawrencecchen 0bd0ddb
iroh host: decouple the live reconcile from relay readiness
lawrencecchen 71df508
iroh host: relay-required deferred retries carry the publication gate
lawrencecchen 1ae07e4
fix: restore app target compilation broken by worktree identity fields
lawrencecchen 9bbb072
fix: add explicit return in task-group closure in worktree rollback test
lawrencecchen defdffe
Merge remote-tracking branch 'origin/main' into feat-iroh-dead-code
lawrencecchen 7bd2a24
Drop stale comments referencing the deleted relay minter
lawrencecchen 2db949d
iroh host: binding adoption drains and re-arms the startup ready gate
lawrencecchen d3d80f8
Merge remote-tracking branch 'origin/fix-main-compile-worktree-result…
lawrencecchen 4be3540
Merge remote-tracking branch 'origin/feat-iroh-host-cache-first' into…
lawrencecchen e964d32
Merge remote-tracking branch 'origin/feat-ios-bounded-dials' into fea…
lawrencecchen a62e906
debug: CMUX_IROH_RELAY_URL_OVERRIDE forces one test relay in debug bu…
lawrencecchen 83268d0
Merge remote-tracking branch 'origin/feat-iroh-dead-code' into feat-i…
lawrencecchen fb56f99
iroh-diag: report the active relay profile source and URLs
lawrencecchen bab67f9
test: quit requests must fire from a run-loop callout, not the caller…
lawrencecchen 9179965
fix: schedule socket-driven quit onto the run loop to avoid terminate…
lawrencecchen e4c8887
web: publish relay routes from fleet attach/detach reports
lawrencecchen e37b144
review: age out uncorroborated attach routes; let deleted custom rela…
lawrencecchen b4ddad5
review: bound report event age against replay
lawrencecchen 00da9ae
iroh: delete client-held relay token machinery end to end
lawrencecchen 0d3a58b
review: clear Aziz policy findings with injectable diagnostics and ac…
lawrencecchen e3c16d6
docs: relay admission is the allow hook, not client-held tokens
lawrencecchen c1f25f6
ios: refresh stale comment on the policy refresh gate
lawrencecchen ed80b8d
review: give the relay diag mirror synchronous read-after-write visib…
lawrencecchen 9489483
review: delete legacy token-era Keychain record on binding replacemen…
lawrencecchen 7e783c9
review: default CmxIrohEndpoint.replaceRelayProfile rejects every pro…
lawrencecchen 6309838
Merge remote-tracking branch 'origin/feat-iroh-attach-reporting' into…
lawrencecchen 5d9a460
Merge remote-tracking branch 'origin/feat-iroh-diag-and-quit' into fe…
lawrencecchen 8405058
merge fix: drop token-era minter wiring from relay-report DB behavior…
lawrencecchen f5f40f5
test: a fresh endpoint must not dial managed relays before registrati…
lawrencecchen 484a6c4
Withhold managed relays from a fresh endpoint until registration is a…
lawrencecchen 498a9be
test: a peer stalled mid-handshake must not block other admissions
lawrencecchen 9fb464e
fix: own the server-side handshake per connection so one stalled peer…
lawrencecchen 0343583
polish: split CmxIrohEstablishedIncomingConnection into its own file …
lawrencecchen e1ed22e
fix: reject over-capacity incoming attempts on the accept loop, not i…
lawrencecchen 60ba949
Merge remote-tracking branch 'origin/feat-iroh-host-wedge' into feat-…
lawrencecchen cdfea9e
test: regression coverage for reviewed iroh P1s (red)
lawrencecchen 767ea35
fix: enforce reviewed iroh P1s: transport-abort dial deadline, gated …
lawrencecchen 554cdea
test: a fresh host must not dial managed relays before registration i…
lawrencecchen c0214d8
Withhold managed relays from a fresh host until registration is ackno…
lawrencecchen bf5de1c
test: dead client connection must not hold admission capacity against…
lawrencecchen 4661bae
fix: release admission capacity on connection liveness, not the idle …
lawrencecchen d17f788
Merge remote-tracking branch 'origin/feat-iroh-host-registration-race…
lawrencecchen 728f72b
Merge remote-tracking branch 'origin/feat-iroh-capacity-release' into…
lawrencecchen de2eede
test: host bind with unavailableManagedSelection must honor the debug…
lawrencecchen c0950bc
fix: apply the debug relay override at host bind time
lawrencecchen acd2278
Merge feat-iroh-override-at-bind: debug relay override wins at host bind
lawrencecchen 1823b87
itest: trust the cmux-itest relay-policy signing key in Debug builds
lawrencecchen 8700ea6
itest: DEBUG-only deployment-protection bypass header for broker prev…
lawrencecchen f30713e
test: reproduce three iroh admission/publication ownership gaps
lawrencecchen 616fc69
fix: close orphaned admissions, hold consumed-handshake slots, re-arm…
lawrencecchen eeef2db
Merge feat-iroh-final-p1s: admission ownership + ready-gate re-arm (P…
lawrencecchen e841b8a
itest: trust the cmux-itest relay-policy signing key in iOS Debug builds
lawrencecchen 3689a27
test: credential-less control-stream admission wire contract (red)
lawrencecchen 2090293
auth: regression tests for expiry-scheduled token freshness (red)
lawrencecchen 67f0428
auth: schedule token refresh off real expiry, not issued age (cmux#10…
lawrencecchen e88dfc8
iroh: red test for relay-policy recovery republication (cmux#10873)
lawrencecchen 4e4111b
iroh: republish registration when the installed relay set changes (cm…
lawrencecchen 2fe7eed
iroh: surface persistent relay-policy refresh failure (cmux#10873)
lawrencecchen e32f96d
iroh: admit paired phones from a Mac-side EndpointId allowlist
lawrencecchen b4adf83
test: red tests for client cache-first activation and warm cache-firs…
lawrencecchen 5dabef1
iroh: review round 1 policy fixes for the paired-peer allowlist
lawrencecchen 0f504b8
Merge feat-iroh-pairing-allowlist: Mac-side paired-phone EndpointId a…
lawrencecchen 7e55e63
Merge feat-iroh-hygiene: expiry-scheduled token refresh; visible + re…
lawrencecchen 3c103f3
test: pin the registry AddressLookupService contract (red)
lawrencecchen ec2df4f
iroh: registry-backed AddressLookupService resolve/publish (green)
lawrencecchen 2e6a7f2
feat: client cache-first activation and warm cache-first dials
lawrencecchen 6ebb06e
test: red tests for one-round self-proof registration
lawrencecchen d0e047e
feat: collapse challenge+register into one broker round with a self-p…
lawrencecchen 2ea6757
fix: expose relay dialability publicly for the relay-only cache-first…
lawrencecchen cb90da9
style: review round 1 policy fixes (file-scope helper, split test fix…
lawrencecchen 0642313
fix: fence the cache-first refresh to the lifecycle that authorized it
lawrencecchen cba75b2
Merge remote-tracking branch 'origin/feat-iroh-integration-test' into…
lawrencecchen 9b46aca
review: nibble-table hex, DocC on new public surface, real-Promise re…
lawrencecchen 6a3dfcf
merge: adapt cache-first dial tests to the optional admission credential
lawrencecchen 9df8825
Merge remote-tracking branch 'origin/feat-iroh-integration-test' into…
lawrencecchen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
Do not merge to
mainwhile the Iroh dependency uses the prerelease pin.Package.swiftand the package resolutions currently use1.0.2-cmux.9-dev.1, which provides the new address-lookup API but is not the required stablev1.0.2-cmux.9release. After that tag exists, update the manifest and all committed package-resolution files together.📍 Affects 2 files
Packages/Shared/CmuxIrohTransport/Package.swift#L21-L21(this comment)Packages/Shared/CmuxIrohTransport/Sources/CmuxIrohTransport/CmxIrohLibEndpointFactory.swift#L3-L24🤖 Prompt for AI Agents
Source: Path instructions