From 2bd37029a8154db5aceadd74f3045956d0836096 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 28 Aug 2026 09:28:24 +0800 Subject: [PATCH] fix: align drift check with QPK pin Co-Authored-By: Codex --- .github/workflows/drift-check.yml | 6 +++--- tests/test_drift_workflow_config.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/drift-check.yml b/.github/workflows/drift-check.yml index 0ddf618..c92f227 100644 --- a/.github/workflows/drift-check.yml +++ b/.github/workflows/drift-check.yml @@ -26,7 +26,7 @@ jobs: uses: actions/checkout@v6 with: repository: QuantStrategyLab/QuantPlatformKit - ref: 3acab1923a97b805b077c85c6c19657be0143bac + ref: aae333fe8b3fe5aeb32e1ff135ab14ea7db32420 path: external/QuantPlatformKit - name: Set up Python @@ -199,7 +199,7 @@ jobs: contents: read issues: write id-token: write - uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@3acab1923a97b805b077c85c6c19657be0143bac + uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@aae333fe8b3fe5aeb32e1ff135ab14ea7db32420 with: strategy_domain: crypto caller_event_name: ${{ github.event_name }} @@ -208,7 +208,7 @@ jobs: snapshot_checkout_path: external/CryptoLivePoolPipelines snapshot_repository_ref: ${{ needs.preflight_backtests.outputs.snapshot_repository_ref }} ai_gateway_service_url: ${{ vars.AI_GATEWAY_SERVICE_URL }} - quant_platform_kit_ref: 3acab1923a97b805b077c85c6c19657be0143bac + quant_platform_kit_ref: aae333fe8b3fe5aeb32e1ff135ab14ea7db32420 lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }} secrets: codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }} diff --git a/tests/test_drift_workflow_config.py b/tests/test_drift_workflow_config.py index a219ee2..db76ac1 100644 --- a/tests/test_drift_workflow_config.py +++ b/tests/test_drift_workflow_config.py @@ -19,7 +19,7 @@ def test_drift_workflow_wires_real_pipeline_inputs_and_preflight_bundle() -> Non assert "research_panel.csv.gz" in workflow assert "market_history.csv.gz" in workflow assert "repository: QuantStrategyLab/QuantPlatformKit" in workflow - assert "ref: 3acab1923a97b805b077c85c6c19657be0143bac" in workflow + assert "ref: aae333fe8b3fe5aeb32e1ff135ab14ea7db32420" in workflow assert "python -m pip install --no-deps -e external/QuantPlatformKit" in workflow assert "scripts/run_walk_forward_backtest.py" in workflow assert '"--list-profiles"' in workflow @@ -29,7 +29,7 @@ def test_drift_workflow_wires_real_pipeline_inputs_and_preflight_bundle() -> Non assert "Upload lifecycle preflight artifact" in workflow assert "lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }}" in workflow assert workflow.count("github.ref == format('refs/heads/{0}', github.event.repository.default_branch)") == 2 - assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@3acab1923a97b805b077c85c6c19657be0143bac" in workflow + assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@aae333fe8b3fe5aeb32e1ff135ab14ea7db32420" in workflow assert "strategy_domain: crypto" in workflow assert "snapshot_repository: QuantStrategyLab/CryptoLivePoolPipelines" in workflow assert "snapshot_checkout_path: external/CryptoLivePoolPipelines" in workflow