Skip to content

fix: sanitize and shorten cycle failure notifications - #500

Merged
Pigbibi merged 1 commit into
mainfrom
fix/cycle-error-notification-20260908
Sep 8, 2026
Merged

fix: sanitize and shorten cycle failure notifications#500
Pigbibi merged 1 commit into
mainfrom
fix/cycle-error-notification-20260908

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Unhandled strategy-cycle failures still sent the full traceback as both the detailed log and compact Telegram message. Replace those outputs with the existing localized failure summary and stable stage codes, retaining the exception class and HTTP status. Schwab health-probe failures use the corresponding short probe message.

Regression tests execute the actual exception-handler bodies and verify that provider text cannot enter notifications, structured logs, or report errors. Request-handling tests also pass. No trading, risk, order outcome, or delivery semantics change.

Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 147c617 into main Sep 8, 2026
1 check passed
@Pigbibi
Pigbibi deleted the fix/cycle-error-notification-20260908 branch September 8, 2026 16:04
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