Skip to content

fix(runner): restore five_signal_metrics in spawn_metrics_sync_with_five_signal#4434

Merged
bug-ops merged 1 commit into
mainfrom
4427-five-signal-prometheus-metrics
May 18, 2026
Merged

fix(runner): restore five_signal_metrics in spawn_metrics_sync_with_five_signal#4434
bug-ops merged 1 commit into
mainfrom
4427-five-signal-prometheus-metrics

Conversation

@bug-ops
Copy link
Copy Markdown
Owner

@bug-ops bug-ops commented May 18, 2026

Summary

  • Commit 2a105e9 accidentally passed None to spawn_metrics_sync_with_five_signal, silently disabling the four five_signal Prometheus counters (zeph_five_signal_recall_total, zeph_five_signal_consolidation_*).
  • Restores memory.five_signal_runtime().map(|rt| Arc::clone(&rt.metrics)) and passes it instead of None.
  • Adds regression test test_spawn_metrics_sync_receives_five_signal in src/metrics_export.rs.

Test plan

  • cargo +nightly fmt --check — clean
  • cargo clippy --workspace -- -D warnings — clean
  • cargo nextest run --workspace --lib --bins — 9969 passed, 21 skipped
  • New regression test added and passes
  • Reviewed and approved by code reviewer

Closes #4427

@github-actions github-actions Bot added bug Something isn't working size/S Small PR (11-50 lines) labels May 18, 2026
@bug-ops bug-ops enabled auto-merge (squash) May 18, 2026 20:52
@bug-ops bug-ops force-pushed the 4427-five-signal-prometheus-metrics branch from 7b88e44 to fb5e498 Compare May 18, 2026 20:52
…ive_signal

Commit 2a105e9 accidentally replaced the five_signal_metrics derivation
with None, silently disabling all four five_signal Prometheus counters.

Restore memory.five_signal_runtime().map(|rt| Arc::clone(&rt.metrics))
and pass it to spawn_metrics_sync_with_five_signal.

Add regression test test_spawn_metrics_sync_receives_five_signal to
src/metrics_export.rs to guard against recurrence.

Closes #4427
@bug-ops bug-ops force-pushed the 4427-five-signal-prometheus-metrics branch from fb5e498 to 46c1474 Compare May 18, 2026 20:53
@bug-ops bug-ops merged commit 275d769 into main May 18, 2026
32 checks passed
@bug-ops bug-ops deleted the 4427-five-signal-prometheus-metrics branch May 18, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size/S Small PR (11-50 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

runner: five_signal Prometheus metrics silently disabled in 2a105e93

1 participant