From c58895843aa374c45822d9502ff1d080aec2c960 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Sat, 11 Jul 2026 17:35:00 +0800 Subject: [PATCH] chore: pin capacity-aware drift review 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 1623e8c..694c7bb 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: fcddef20eea5deb876e739263042acdcb3e9cd1b + ref: 4f8465b28a6787d39d21e50f9d95a77841d6ad56 path: external/QuantPlatformKit - name: Set up Python @@ -194,7 +194,7 @@ jobs: contents: read issues: write id-token: write - uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@fcddef20eea5deb876e739263042acdcb3e9cd1b + uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@4f8465b28a6787d39d21e50f9d95a77841d6ad56 with: strategy_domain: cn_equity caller_event_name: ${{ github.event_name }} @@ -203,7 +203,7 @@ jobs: snapshot_checkout_path: external/CnEquitySnapshotPipelines snapshot_repository_ref: ${{ needs.preflight_backtests.outputs.snapshot_repository_ref }} ai_gateway_service_url: ${{ vars.AI_GATEWAY_SERVICE_URL }} - quant_platform_kit_ref: fcddef20eea5deb876e739263042acdcb3e9cd1b + quant_platform_kit_ref: 4f8465b28a6787d39d21e50f9d95a77841d6ad56 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 2a0c8cb..968b526 100644 --- a/tests/test_drift_workflow_config.py +++ b/tests/test_drift_workflow_config.py @@ -18,7 +18,7 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert '"conclusion": "success"' in workflow assert "cn_etf_market_history.csv" in workflow assert "repository: QuantStrategyLab/QuantPlatformKit" in workflow - assert "ref: fcddef20eea5deb876e739263042acdcb3e9cd1b" in workflow + assert "ref: 4f8465b28a6787d39d21e50f9d95a77841d6ad56" 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_snapshot_history_and_preflight_bundle() -> No assert "Upload lifecycle preflight artifact" in workflow assert "actions/upload-artifact@v4" 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@fcddef20eea5deb876e739263042acdcb3e9cd1b" in workflow + assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@4f8465b28a6787d39d21e50f9d95a77841d6ad56" in workflow assert "strategy_domain: cn_equity" in workflow assert "caller_event_name: ${{ github.event_name }}" in workflow assert "caller_pr_head_repository: ${{ github.event.pull_request.head.repo.full_name || '' }}" in workflow