Repository navigation
fix: expose bounded candidate publisher failure diagnostics - #489
Conversation
Co-Authored-By: Codex <noreply@openai.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Pigbibi
left a comment
There was a problem hiding this comment.
Author self-review of 1e3715a..4ed6710 (not an independent review): no in-scope blocking findings. Diagnostic values are selected from fixed vocabularies; unknown exceptions are never stringified. Existing success output, same-run alert suppression, nonzero failure exit and candidate storage retry behavior remain unchanged. Synthetic tests cover raw sender-output suppression and read/write failure boundaries. No workflow, cloud configuration, dependency or trading paths changed. Full local suite and remote CI are still required before merge.
|
Post-hoc SHA-bound review
Findings: none requiring correction. Reviewed all three changed files (238 additions, 6 deletions), including the actual archive/projector/storage and heartbeat-sender call paths. The reviewed head and merge commit have identical Git trees.
Verification on the exact reviewed head: 111 relevant tests passed, plus 2 supplemental offline checks of the exact secondary stderr diagnostic, one fallback attempt, redaction, and preservation of the primary failure. Focused Ruff and base-to-head Governance note: Author self-review is not a substitute for the Grok record. The earlier author self-review and CodeRabbit's skipped-review notice did not supply that record. Under the owner's amendment, R2 requires both a current-head AI review verdict and a SHA-bound Grok approval record; human sign-off remains required for deployment, IAM, secrets, and live-trading execution changes. This comment records the requested delegated post-hoc decision only: it does not establish that review existed before the merge, assert an independent GitHub reviewer identity, or certify acceptance by an automated governance evaluator. No follow-up PR is warranted because no actionable code issue was found. No deployment, cloud/IAM/secret change, workflow replay, or live notification/trading execution was performed. |
AI assistance
OpenAI Codex; the exact host model identifier is not exposed in this session. The author performed a local self-review of the base-to-head diff; this is not an independent review.
What changed
The scheduled candidate publisher hides binding, archive, schedule and projection failures behind
candidate_projection_failed. Add fixedstageanderror_codefields using exact allowlisted local codes, preserve the existing storageerror_category, and keep unknown failures explicit without printing exception text, identities, credentials or object paths.Preserve the existing coverage-alert attempt and same-run suppression, but suppress raw legacy-sender output and report only a bounded secondary delivery diagnostic. Keep the original nonzero result, candidate merge/write behavior and success output. Document that
uploaded=falsedoes not prove an uncertain write or earlier target was not persisted.This change does not modify cloud configuration, IAM, schedules, dependencies or trading behavior. No deployment or workflow replay was performed.
How verified
uv run --no-sync python -m pytest -q -o pythonpath=.). The path override uses the installed locked dependencies instead of adjacent development checkouts. One existing third-party NumPy deprecation warning.git diff --checkpassed. Documentation check: zero blocking findings, one existing README advisory.