Skip to content

fix(torghut): advance past stale feature batches#5937

Merged
gregkonush merged 2 commits intomainfrom
codex/torghut-ta-quote-freshness-rollout
May 7, 2026
Merged

fix(torghut): advance past stale feature batches#5937
gregkonush merged 2 commits intomainfrom
codex/torghut-ta-quote-freshness-rollout

Conversation

@gregkonush
Copy link
Copy Markdown
Member

Summary

  • Advance the trading signal cursor after staleness-only feature-quality failures without evaluating decisions or submitting orders.
  • Keep non-staleness feature-quality failures fail-closed, including schema mismatches, duplicates, and non-monotonic batches.
  • Bump Torghut TA and paper TA restart nonces so both jobs load the deployed TA_QUOTE_STALE_AFTER_MS=15000 ConfigMap values.

Related Issues

None

Testing

  • uv run --frozen pytest tests/test_trading_pipeline.py -k 'feature_quality' -q
  • uv run --frozen pytest tests/test_signal_ingest.py tests/test_quote_quality.py tests/test_trading_pipeline.py -q
  • uv run --frozen ruff check app/trading/scheduler/pipeline.py tests/test_trading_pipeline.py
  • uv run --frozen pyright --project pyrightconfig.json
  • uv run --frozen pyright --project pyrightconfig.alpha.json
  • uv run --frozen pyright --project pyrightconfig.scripts.json
  • bun run lint:argocd
  • git diff --check -- services/torghut/app/trading/scheduler/pipeline.py services/torghut/tests/test_trading_pipeline.py argocd/applications/torghut/ta/flinkdeployment.yaml argocd/applications/torghut/ta-sim/flinkdeployment.yaml

Screenshots (if applicable)

N/A

Breaking Changes

None

Checklist

  • Testing section documents the exact validation performed.
  • Screenshots and Breaking Changes sections are handled appropriately.
  • Documentation, release notes, and follow-ups are updated or tracked.

@gregkonush gregkonush force-pushed the codex/torghut-ta-quote-freshness-rollout branch from dab7133 to d9c16fe Compare May 7, 2026 18:19
@gregkonush
Copy link
Copy Markdown
Member Author

gregkonush commented May 7, 2026

Status: merged and promoted.

Final gate:

Decision: production rollout is healthy. #5412 remains the only Torghut no-go item.

@gregkonush gregkonush merged commit b2ab2e7 into main May 7, 2026
21 checks passed
@gregkonush gregkonush deleted the codex/torghut-ta-quote-freshness-rollout branch May 7, 2026 18:28
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