Repository navigation
fix(sync): export v3 audio purge counter from backend-sync (SCA-3376) - #26329
Merged
Merged
Conversation
The backend-sync GMP sidecar keeps an explicit omi_conversations_v3_* allow-list that omitted omi_conversations_v3_audio_purges_total, so Path E purge outcomes read as no series on Sync. Add it and pin it with a scrape test. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
# Conflicts: # backend/deploy/cloud_run_gmp_sync.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
omi_conversations_v3_audio_purges_totalto the backend-sync Cloud Run GMP sidecar's explicit metric allow-list (backend/deploy/cloud_run_gmp_sync.yaml), and pins it with a scrape test.Why
The Path E v3 audio purge (#26294) runs on backend-sync as well as backend.
utils/conversations/v3/metrics.pypre-creates all fiveoutcomeseries at import, but the sync sidecar keeps an explicitomi_conversations_v3_*list instead ofomi_.*, and that list omitted this counter. During the 2026-11-25 Sync canary of6e3204f2, GMP returned the series only forservice_name="backend"(85 series) and nothing for backend-sync. "No series" on Sync cannot be told apart from a purge path that never ran (SCA-3376).The backend sidecar (
cloud_run_gmp_sidecar.yaml) keepsomi_.*and is unchanged.Failure-Class: FC-metric-dropped-by-scrape-allowlist
Tests
tests/unit/test_v3_audio_purge_metric_is_scraped.py. It fails on the unfixed allow-list and passes with the fix: 1 failed / 2 passed before, 3 passed after.test_projection_finish_guard_metrics_are_scraped.py,test_attach_cloud_run_gmp_sidecar.py,test_monitoring_telemetry_contract.py): 186 passed.Rollback
Revert this commit. It changes observability only, with no runtime or behaviour change. It takes effect on the next backend-sync deploy.
🤖 Generated with Claude Code