Skip to content

fix: inspect unassociated account facts failure logs - #464

Merged
Pigbibi merged 1 commit into
mainfrom
codex/firstrade-untraced-log-candidates-20261030
Oct 30, 2026
Merged

Pigbibi merged 1 commit into
mainfrom
codex/firstrade-untraced-log-candidates-20261030

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Why

The bounded snapshot diagnostic found a request trace but no matching application logs. The existing Gunicorn/Flask logger does not attach Cloud Logging traces, so trace-only lookup can miss the fixed failure classifications.

Change

When the unique request has no matching application logs, read bounded text logs containing the existing account-facts marker from the same protected service and time window. Return only allowlisted categories and counts. A single log is explicitly an unassociated same-service/window candidate; multiple, truncated or inaccessible candidates remain ambiguous or unknown. The original request classification stays unchanged.

No service endpoint, broker request, Scheduler invocation, configuration, permissions or production deployment is changed.

Validation

  • 12 existing/new unittest cases pass locally, including ambiguity, truncation and payload privacy.
  • Python compilation passes.
  • Root reviewed the exact three-file diff.
  • Full CI and production read-only verification will be checked separately; this diagnostic does not claim snapshot recovery.

@Pigbibi
Pigbibi merged commit 91464cc into main Oct 30, 2026
2 checks passed
@Pigbibi
Pigbibi deleted the codex/firstrade-untraced-log-candidates-20261030 branch October 30, 2026 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant