Skip to content

Filter signer discovery by orchestrator address - #125

Merged
j0sh merged 1 commit into
mainfrom
ja-codex/discovery-orchestrator-filter
Dec 5, 2026
Merged

j0sh merged 1 commit into
mainfrom
ja-codex/discovery-orchestrator-filter

Conversation

@j0sh

@j0sh j0sh commented Dec 5, 2026 •

Copy link
Copy Markdown
Collaborator

Add orchestrator to the signer's GET /discover-orchestrators. Callers can match advertised Ethereum addresses case-insensitively and combine the filter with app and gpu. 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

@j0sh
j0sh requested a balanced review from Copilot December 5, 2026 09:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 app and gpu filters.
  • 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
j0sh temporarily deployed to docker-publish December 5, 2026 09:12 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 09:13 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 09:13 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 09:13 — with GitHub Actions Inactive
Base automatically changed from ja/discovery-addr to main December 5, 2026 09:23
@j0sh
j0sh force-pushed the ja-codex/discovery-orchestrator-filter branch from fb79011 to d7d0e77 Compare December 5, 2026 09:25
Copilot AI balanced review requested due to automatic review settings December 5, 2026 09:25
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 09:27 — with GitHub Actions Inactive

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the orchestrator-address filtering change.

No open issues 🎉

Review effort: Balanced

@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 09:27 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 09:27 — with GitHub Actions Inactive
@j0sh
j0sh temporarily deployed to docker-publish December 5, 2026 09:28 — with GitHub Actions Inactive
@j0sh
j0sh merged commit 004b0a4 into main Dec 5, 2026
13 of 14 checks passed
@j0sh
j0sh deleted the ja-codex/discovery-orchestrator-filter branch December 5, 2026 09:32

This branch was previously deployed

1 inactive deployment
docker-publish — d7d0e775 Deployed Dec 5, 2026 by j0sh via docker-pr / promote #250
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.

2 participants