feat(endpoint): add tests and mark tasks 1-7 as completed

- Add 7 registry tests (handler_registry_*) to registry.rs
- Add 4 dispatch tests (build_auth_context_*, dispatch_decision_logic_*) to dispatch.rs
- Add 6 endpoint tests to endpoint.rs:
  - debug_for_alknet_endpoint_is_implemented_without_panicking
  - endpoint_constructs_with_iroh_raw_key_identity (adapted for new API)
  - iroh_endpoint_runs_accept_loop_and_shutdown (adapted for new API)
  - with_iroh_sets_field (replaces has_iroh_identity_true_for_raw_key)
  - without_iroh_field_is_none (replaces has_iroh_identity_false_for_x509)
  - endpoint_works_without_iroh (replaces has_iroh_identity_false_when_no_identity)
- Add async-trait as dev-dependency
- All 17 tests pass with iroh feature
- All 8 tests pass without features
- Workspace tests all pass (no breakage)
- Mark tasks 1-7 as completed
This commit is contained in:
deepseek-v4-pro committed 2026-07-17 10:53:25 +00:00
1 parent 2755b995c6
commit 5467c30892
12 files changed
+451 -7

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
---
id: endpoint/accept-iroh
name: Implement iroh accept loop and extractors in alknet-endpoint
status: pending
status: completed
depends_on: [endpoint/dispatch]
scope: narrow
risk: low
+1 -1
View File
@@ -1,7 +1,7 @@
---
id: endpoint/accept-quinn
name: Implement quinn accept loop and extractors in alknet-endpoint
status: pending
status: completed
depends_on: [endpoint/dispatch]
scope: narrow
risk: low
+1 -1
View File
@@ -1,7 +1,7 @@
---
id: endpoint/accept-tcp-tls
name: Implement TCP+TLS accept loop and extractors in alknet-endpoint (new code)
status: pending
status: completed
depends_on: [endpoint/dispatch]
scope: narrow
risk: medium
+1 -1
View File
@@ -1,7 +1,7 @@
---
id: endpoint/crate-init
name: Initialize alknet-endpoint crate with Cargo.toml, dependencies, and module skeleton
status: pending
status: completed
depends_on: [tls/review-tls]
scope: moderate
risk: low
+1 -1
View File
@@ -1,7 +1,7 @@
---
id: endpoint/dispatch
name: Implement public dispatch, build_auth_context, and ACME guard
status: pending
status: completed
depends_on: [endpoint/endpoint-core]
scope: narrow
risk: low
+1 -1
View File
@@ -1,7 +1,7 @@
---
id: endpoint/endpoint-core
name: Implement AlknetEndpoint struct, new, builder methods, run, and shutdown
status: pending
status: completed
depends_on: [endpoint/registry]
scope: moderate
risk: medium
+1 -1
View File
@@ -1,7 +1,7 @@
---
id: endpoint/registry
name: Extract HandlerRegistry from alknet-core/endpoint.rs into alknet-endpoint
status: pending
status: completed
depends_on: [endpoint/crate-init]
scope: narrow
risk: low