Skip to content

add tracing spans to reconcile_stale_sessions and update_agent_session_status #4348

@bug-ops

Description

@bug-ops

Description

reconcile_stale_sessions and update_agent_session_status in crates/zeph-memory/src/store/agent_sessions.rs lack #[tracing::instrument] spans. list_agent_sessions and upsert_agent_session already have them. The gap makes stale-session reconciliation invisible in traces.

Expected Behavior

Both methods annotated with #[tracing::instrument(name = "memory.fleet.*", skip_all, level = "debug", err)] matching the convention used in upsert_agent_session.

Actual Behavior

No tracing spans on these two methods.

Environment

  • Version: 0.21.1

Metadata

Metadata

Assignees

Labels

P3Research — medium-high complexityperformancePerformance improvements

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions