[hero_router] /service/<svc> Diagnostics spec-compliance probe checks deprecated bare endpoints #119
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_router#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The service inspector's Diagnostics -> Spec compliance probe reports a healthy, fully-migrated oschema service as Non-compliant (screenshot). It probes the pre-migration bare endpoints on
rpc.sock—POST /rpc,GET /openrpc.json,GET /health,GET /.well-known/heroservice.json— all 404.Per the current
hero_sockets.md, the mandated layout is now/api/{domain}/{rpc,openrpc.json,events}+/health.json+/heroservice.json+/api/domains.json+/api/ping, which the service serves correctly (all 200). The probe — and the "Unknown socket files (not in spec): admin.sock, web.sock" note — need updating to the current spec.This one is real outstanding work, the probe still checks the pre-migration bare endpoints, which is exactly what the issue reports:
Fix up in PR #123 (
development_router_diag_probe→development): #123Both symptoms addressed against the current
hero_sockets.mdcontract:probe_socket(rpc) now probes the canonical surface —/health.json,/heroservice.json,/api/domains.json,/api/ping, and per every domain/api/{domain}/openrpc.json+POST /api/{domain}/rpc— instead of the deprecated bare/rpc,/openrpc.json,/health,/.well-known/heroservice.json.classify_socketrecognizesadmin.sockand the bareweb.sock(plusresp.sock; legacyui.sock→ HTML UI), so they're no longer reported as "Unknown socket files (not in spec)".Verified end-to-end against a live router + two-domain
hero_fake_service:Plus unit tests (classify/parse/validate) and a new live functional test. Will close on merge.