From 1cf29a1a5eec86c43e78c23b3a4024bcf82e9dfc Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 28 Aug 2026 18:24:08 +0800 Subject: [PATCH 1/3] ci: update artifact actions to v5 Co-Authored-By: Codex --- .github/workflows/drift-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/drift-check.yml b/.github/workflows/drift-check.yml index 2ac105d..611d928 100644 --- a/.github/workflows/drift-check.yml +++ b/.github/workflows/drift-check.yml @@ -181,7 +181,7 @@ jobs: PY - name: Upload lifecycle preflight artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }} path: ${{ runner.temp }}/lifecycle-preflight-bundle From 45d2178e2d522de25c19ab6b8e796744d7f04fb4 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 28 Aug 2026 18:26:39 +0800 Subject: [PATCH 2/3] test: align artifact action contract Co-Authored-By: Codex --- tests/test_drift_workflow_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_drift_workflow_config.py b/tests/test_drift_workflow_config.py index ca71659..4586f15 100644 --- a/tests/test_drift_workflow_config.py +++ b/tests/test_drift_workflow_config.py @@ -29,7 +29,7 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert "--returns-output" in workflow assert "LIFECYCLE_PREFLIGHT_BUNDLE_ROOT" in workflow assert "Upload lifecycle preflight artifact" in workflow - assert "actions/upload-artifact@v4" in workflow + assert "actions/upload-artifact@v5" in workflow assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81" in workflow assert "strategy_domain: us_equity" in workflow assert "caller_event_name: ${{ github.event_name }}" in workflow From 2d4056e523fc641af6f0f4f275977ce19d0f5e11 Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Fri, 28 Aug 2026 18:33:52 +0800 Subject: [PATCH 3/3] chore: bump QPK artifact workflow pin Co-Authored-By: Codex --- .github/workflows/drift-check.yml | 4 ++-- pyproject.toml | 2 +- qsl.toml | 2 +- tests/test_drift_workflow_config.py | 6 +++--- tests/test_qsl_compat_metadata.py | 2 +- uv.lock | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/drift-check.yml b/.github/workflows/drift-check.yml index 611d928..ef67f4a 100644 --- a/.github/workflows/drift-check.yml +++ b/.github/workflows/drift-check.yml @@ -194,7 +194,7 @@ jobs: contents: read issues: write id-token: write - uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81 + uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@6b887d9954eb656141597eac077ca22053a525ef with: strategy_domain: us_equity caller_event_name: ${{ github.event_name }} @@ -203,7 +203,7 @@ jobs: snapshot_checkout_path: external/UsEquitySnapshotPipelines snapshot_repository_ref: ${{ needs.preflight_backtests.outputs.snapshot_repository_ref }} ai_gateway_service_url: ${{ vars.AI_GATEWAY_SERVICE_URL }} - quant_platform_kit_ref: bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81 + quant_platform_kit_ref: 6b887d9954eb656141597eac077ca22053a525ef lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }} secrets: codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }} diff --git a/pyproject.toml b/pyproject.toml index 9d40435..b802803 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ requires-python = ">=3.11" dependencies = [ "pandas>=2.0", "pytz>=2024.1", - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@6b887d9954eb656141597eac077ca22053a525ef", ] [tool.setuptools] diff --git a/qsl.toml b/qsl.toml index 41e7cd1..44b942d 100644 --- a/qsl.toml +++ b/qsl.toml @@ -6,5 +6,5 @@ bundle = "2026.08.0" requires = [ "pandas>=2.0", "pytz>=2024.1", - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@6b887d9954eb656141597eac077ca22053a525ef", ] diff --git a/tests/test_drift_workflow_config.py b/tests/test_drift_workflow_config.py index 4586f15..7b360bc 100644 --- a/tests/test_drift_workflow_config.py +++ b/tests/test_drift_workflow_config.py @@ -21,7 +21,7 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert '"conclusion": "success"' in workflow assert '"QuantStrategyLab/UsEquitySnapshotPipelines"' in workflow assert "repository: QuantStrategyLab/QuantPlatformKit" in workflow - assert "ref: bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81" in workflow + assert "ref: 6b887d9954eb656141597eac077ca22053a525ef" 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-lifecycle-profiles"' in workflow @@ -30,7 +30,7 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert "LIFECYCLE_PREFLIGHT_BUNDLE_ROOT" in workflow assert "Upload lifecycle preflight artifact" in workflow assert "actions/upload-artifact@v5" in workflow - assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81" in workflow + assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@6b887d9954eb656141597eac077ca22053a525ef" in workflow assert "strategy_domain: us_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 @@ -38,6 +38,6 @@ def test_drift_workflow_wires_real_snapshot_history_and_preflight_bundle() -> No assert "snapshot_checkout_path: external/UsEquitySnapshotPipelines" in workflow assert "ai_gateway_service_url: ${{ vars.AI_GATEWAY_SERVICE_URL }}" in workflow assert "lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }}" in workflow - assert "quant_platform_kit_ref: bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81" in workflow + assert "quant_platform_kit_ref: 6b887d9954eb656141597eac077ca22053a525ef" in workflow assert "codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }}" in workflow assert "secrets.SNAPSHOT_REPOSITORY_TOKEN || secrets.QSL_REPO_SYNC_TOKEN || github.token" in workflow diff --git a/tests/test_qsl_compat_metadata.py b/tests/test_qsl_compat_metadata.py index dea1368..7c6bdca 100644 --- a/tests/test_qsl_compat_metadata.py +++ b/tests/test_qsl_compat_metadata.py @@ -3,7 +3,7 @@ ROOT = Path(__file__).resolve().parents[1] -QPK_REVISION = "bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81" +QPK_REVISION = "6b887d9954eb656141597eac077ca22053a525ef" QPK_URL = ( "quant-platform-kit @ git+https://github.com/QuantStrategyLab/" f"QuantPlatformKit.git@{QPK_REVISION}" diff --git a/uv.lock b/uv.lock index 99ea7e4..3a09fd8 100644 --- a/uv.lock +++ b/uv.lock @@ -241,7 +241,7 @@ wheels = [ [[package]] name = "quant-platform-kit" version = "0.10.0" -source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81#bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81" } +source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=6b887d9954eb656141597eac077ca22053a525ef#6b887d9954eb656141597eac077ca22053a525ef" } [[package]] name = "six" @@ -275,5 +275,5 @@ dependencies = [ requires-dist = [ { name = "pandas", specifier = ">=2.0" }, { name = "pytz", specifier = ">=2024.1" }, - { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=bb91e4cad1a32d58dc0e4023f1cbe0c7ec150d81" }, + { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=6b887d9954eb656141597eac077ca22053a525ef" }, ]