fix(torghut): materialize source lifecycle before import#10702
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Related Issues
None
Testing
uv sync --frozen --extra devuv run --frozen pytest tests/test_run_empirical_promotion_jobs.py -k 'source_window_repair or runtime_window_import_repairs_source_windows or audit_only_dry_runs_source_window_repair' -quv run --frozen pytest tests/test_repair_order_feed_source_windows_script.py -quv run --frozen pytest tests/test_order_feed.py -k 'repair_helpers_filter_to_runtime_window or backfill_order_feed_events_from_executions' -quv run --frozen pytest tests/test_order_feed.py -quv run --frozen pytest tests/test_repair_order_feed_source_windows_script.py tests/test_run_empirical_promotion_jobs.py -quv run --frozen ruff check app/trading/order_feed.py scripts/repair_order_feed_source_windows.py scripts/renew_latest_empirical_promotion_jobs.py tests/test_order_feed.py tests/test_repair_order_feed_source_windows_script.py tests/test_run_empirical_promotion_jobs.pyuv run --frozen ruff format --check app/trading/order_feed.py scripts/repair_order_feed_source_windows.py scripts/renew_latest_empirical_promotion_jobs.py tests/test_order_feed.py tests/test_repair_order_feed_source_windows_script.py tests/test_run_empirical_promotion_jobs.pyuv run --frozen python -m compileall app/trading/order_feed.py scripts/repair_order_feed_source_windows.py scripts/renew_latest_empirical_promotion_jobs.py tests/test_order_feed.py tests/test_repair_order_feed_source_windows_script.py tests/test_run_empirical_promotion_jobs.pyuv run --frozen pyright --project pyrightconfig.jsonuv run --frozen pyright --project pyrightconfig.alpha.jsonuv run --frozen pyright --project pyrightconfig.scripts.jsonuv run --frozen pytest tests/test_order_feed.py tests/test_repair_order_feed_source_windows_script.py tests/test_run_empirical_promotion_jobs.py --cov --cov-branch --cov-report=xml --cov-fail-under=0 -quv run --frozen python scripts/check_diff_coverage.py --coverage-xml coverage.xml --threshold 90 --base-ref origin/maingit diff --checkScreenshots (if applicable)
N/A
Breaking Changes
None
Checklist
N/Awith justification).