Config validation rejects breadsearch provider URLs so no breadsearch provider can be configured #47
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?
Found while building the RAM-30 daemon-driven breadsearch test. Confidence: high, reproduced live. validate_endpoint in crates/breadram-core/src/config/mod.rs accepts unix:, http://, https:// and hook: URLs but has no breadsearch: branch, so a provider with the documented url breadsearch:/run/user/1000/breadmill.sock fails startup with unsafe endpoint bench-mill: endpoint needs a scheme such as http://. The adapter registry (adapter/mod.rs), the socket helpers, and tests/breadsearch_adapter.rs all use the breadsearch: shape, so validation and the adapter disagree and validation wins at startup. No breadsearch provider can be managed by any daemon with config validation enabled. Expected: accept breadsearch: with an absolute socket path, automation permitted because it names a local socket like unix:. Reproduce: add providers name=bench-mill kind=breadsearch url=breadsearch:/tmp/x.sock allow_automation=true to a daemon config and start breadramd.