Skip to content

tests: no integration test for the self-hosted discovery path (PR #829) verifying that nodes using operator-configured discovery can find each other without the n0 DNS/pkarr fallback #967

Closed

Description

@alpergundogdu

PR #829 adds operator-configurable self-hosted iroh discovery, but there is no integration test that spins up two nodes with a custom discovery URL and confirms they successfully exchange NodeAnnounce messages and complete a probe round-trip without any n0 infrastructure.


Filed via GitDailyReporterBot

Activity

  1. added
    kind:feature
    kind:test
    on Jun 22, 2026
  2. added
    prio:medium
    rust
    on Jun 22, 2026
  3. github-actions commented on Jun 22, 2026

    @github-actions

    🎯 Triage report

    This is a test coverage gap filed against PR #829, which introduced operator-configurable self-hosted iroh discovery. The request is to add an integration test that spins up two nodes using only a custom discovery URL, verifies they exchange NodeAnnounce messages, and completes a probe round-trip — all without touching n0's DNS/pkarr infrastructure. The issue is well-scoped, references a specific merged PR, and has a clear success criterion.

    📊 Assessment

    Dimension Value Reasoning
    Type Task Adding a missing integration test for an already-shipped feature path
    Labels testing, enhancement (existing) + rust, technical, medium (added) Rust integration test, medium priority test coverage gap for shipped functionality
    Coding agent Suitable Clear scope (one integration test file/function), referenced PR #829 provides implementation context, success criteria are explicit (two-node setup, custom discovery URL, no n0 fallback), analogous test patterns exist in the codebase (e.g., #711)

    🔗 Similar issues

    💡 Notes and suggestions

    Implementation checklist:

    Pointers:

    • PR feat(node): operator-configurable self-hosted discovery (#818) #829 (iroh: self-hosted discovery + validate-time relay URL checks) is the canonical implementation reference — review the config fields it introduced (discovery_url, relay URL validation logic) to know exactly what to configure in the test harness.
    • The gossip crate's NodeAnnounce pub/sub service and the protocol crate's ProbeMessage are the two subsystems that must cooperate in the round-trip.
    • iroh's Endpoint::builder() likely supports overriding discovery — check the iroh API for a test-friendly hook to inject a custom discovery backend without a live HTTP server.

    Generated by Agentic Triage for issue #967 · ◷

    Add this agentic workflows to your repo

    To install this agentic workflow, run

    gh aw add githubnext/agentics/workflows/issue-triage.md@94ec5db57374c5b04a4b8eef8b4413f9af44d63f
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind:featurekind:testprio:mediumrust

Type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions