Repository navigation
fix(diagnostics): inspect bounded snapshot request failures - #463
Merged
Merged
Conversation
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.
Problem
The cached-balance diagnostic reads deployment audit events but cannot distinguish snapshot request failures. Its aggregate failure result is insufficient to identify whether the scheduled request reached the existing account-facts sync route.
Change
Add a default-off request-log mode to the existing diagnostic. It retains the exact-main and time-window guards and the existing identity. It performs bounded Cloud Logging reads for the configured service and Scheduler job, and prints only fixed categories, HTTP status codes and counts. No raw logs, URLs, traces, account data or credentials are emitted. Schema modes are mutually exclusive.
Scheduler and request events are candidates from the same target and window; this does not prove they share an invocation. Application classification requires a single request trace and exactly one recognized matching log. Missing, inaccessible, truncated or ambiguous evidence remains explicit. No Scheduler invocation, broker request, sync write, configuration change or permission change is added.
Verification
This change supplies diagnostic evidence; it does not itself restore snapshot publication.