InferenceFault.detail is a &'static str, so no inference port (local, connector, SDK) can put an endpoint, request or reply text into a fault. The connector and SDK details that were built from error text are now fixed per kind or reason. LocalBinding loses its public response_timeout field; the short timeout the PlayTable canary needs comes from open_local_port_with_timeout, which exists only under the ghostlight test-support feature (a dungeon dev-dependency feature), so a release has one timeout, RESPONSE_TIMEOUT. Canary tests on the malformed-body path (port and PlayTable), on the SDK and connector ports, and on the default timeout at both resolving sites. Not yet built or tested at this commit. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
31 lines
749 B
TOML
31 lines
749 B
TOML
[package]
|
|
name = "ghostlight"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
async-trait.workspace = true
|
|
chrono.workspace = true
|
|
codex-connector.workspace = true
|
|
cultcache-rs.workspace = true
|
|
ghostlight-persona-projection = { path = "../ghostlight-persona-projection" }
|
|
reqwest.workspace = true
|
|
rmp-serde.workspace = true
|
|
serde.workspace = true
|
|
serde_bytes = "0.11"
|
|
serde_json.workspace = true
|
|
sha2.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
tracing.workspace = true
|
|
uuid.workspace = true
|
|
zeroize.workspace = true
|
|
|
|
[features]
|
|
# Exposes `open_local_port_with_timeout` to a consumer's tests. Production
|
|
# builds never enable it.
|
|
test-support = []
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|