Repository navigation
Filter signer discovery by orchestrator address - #125
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the orchestrator-address filtering change.
No open issues 🎉
What changed in this PR
Extends signer discovery with orchestrator-address filtering, building on the Ethereum addresses exposed by #123.
Changes:
- Adds case-insensitive, repeated-address matching after inventory merging, combined with
appandgpufilters. - Adds tests for malformed values, multiple addresses, and freshness handling.
- Documents filter behavior and updates usage examples.
| File | Description |
|---|---|
| signer/service.go | Applies orchestrator-address filtering to merged inventories. |
| signer/discovery_test.go | Tests address matching, combined filters, and merge behavior. |
| docs/signer.md | Adds an address-filter example. |
| docs/http-api.md | Defines matching rules and response behavior. |
| docs/discovery.md | Lists the supported signer filters. |
Review effort: Balanced
j0sh
force-pushed
the
ja-codex/discovery-orchestrator-filter
branch
from
December 5, 2026 09:25
fb79011 to
d7d0e77
Compare
This branch was previously deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Add
orchestratorto the signer'sGET /discover-orchestrators. Callers can match advertised Ethereum addresses case-insensitively and combine the filter withappandgpu. Repeated addresses can select multiple orchestrators, and empty or malformed values match no address.The signer filters after merging complete inventories. It uses the Ethereum address and recipient selection added in #123.
Verification
go test -race -count=1 ./signer ./discovery/... ./orchestrator