Skip to content

Commit fcfd8d0

Browse files
lxsaahclaude
andcommitted
fix(cli): keep observability metadata in record list output
The AimX server attaches signal_stats/stage_profiling/buffer metrics to record.list when built with observability, but those RecordMetadata fields are themselves cfg-gated — a client compiled without the feature silently drops them on deserialize, so 'record list --format json' showed no signal gauges even when the server sent them. Enable aimdb-core/observability for the CLI so the fields round-trip. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent e45ffab commit fcfd8d0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

tools/aimdb-cli/Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,13 @@ path = "src/main.rs"
1919
aimdb-client = { version = "0.6.0", path = "../../aimdb-client" }
2020
aimdb-codegen = { version = "0.2.0", path = "../../aimdb-codegen" }
2121

22-
# Core dependencies - reuse protocol types from aimdb-core
22+
# Core dependencies - reuse protocol types from aimdb-core.
23+
# `observability` keeps the optional RecordMetadata fields (signal_stats,
24+
# stage_profiling, buffer metrics) in the client-side struct — without it
25+
# serde silently drops them from `record list --format json` output.
2326
aimdb-core = { version = "1.1.0", path = "../../aimdb-core", features = [
2427
"std",
28+
"observability",
2529
] }
2630
serde = { version = "1", features = ["derive"] }
2731
serde_json = "1"

0 commit comments

Comments
 (0)