Skip to content

Add crisis plugin trigger rehearsal tests#46

Merged
Pigbibi merged 1 commit into
mainfrom
test/crisis-plugin-trigger-rehearsal
May 10, 2026
Merged

Add crisis plugin trigger rehearsal tests#46
Pigbibi merged 1 commit into
mainfrom
test/crisis-plugin-trigger-rehearsal

Conversation

@Pigbibi
Copy link
Copy Markdown
Collaborator

@Pigbibi Pigbibi commented May 10, 2026

Summary

  • add a Schwab request-handling rehearsal for a triggered crisis_response_shadow signal
  • verify true_crisis/defend reaches the execution report while shadow execution controls still deny broker orders and live allocation mutation
  • add zh notification rendering coverage for true_crisis/defend
  • keep Schwab profile/notification tests compatible with QuantPlatformKit exposing global_etf_confidence_vol_gate as either an alias or canonical profile

Tests

  • /home/ubuntu/Projects/CharlesSchwabPlatform/.venv/bin/python -m pytest tests/test_request_handling.py::RequestHandlingTests::test_handle_schwab_attaches_strategy_plugin_report tests/test_request_handling.py::RequestHandlingTests::test_handle_schwab_rehearses_triggered_shadow_plugin_report tests/test_request_handling.py::RequestHandlingTests::test_strategy_plugin_notification_line_uses_i18n tests/test_request_handling.py::RequestHandlingTests::test_strategy_plugin_notification_line_renders_triggered_shadow_signal tests/test_request_handling.py::RequestHandlingTests::test_handle_schwab_reports_plugin_config_error_without_blocking_strategy tests/test_rebalance_service.py::RebalanceServiceTests::test_run_strategy_core_adds_plugin_context_to_heartbeat tests/test_runtime_composer.py
  • /home/ubuntu/Projects/CharlesSchwabPlatform/.venv/bin/python -m unittest discover -s tests -v
  • /home/ubuntu/Projects/CharlesSchwabPlatform/.venv/bin/python -m ruff check .

@Pigbibi Pigbibi force-pushed the test/crisis-plugin-trigger-rehearsal branch from 051255d to 54b71f9 Compare May 10, 2026 05:35
@Pigbibi Pigbibi merged commit 4f0abf1 into main May 10, 2026
1 check passed
@Pigbibi Pigbibi deleted the test/crisis-plugin-trigger-rehearsal branch May 10, 2026 05:36
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