From 1b086f6aafa29e908bd6a4093bd06a898605ba40 Mon Sep 17 00:00:00 2001 From: QuantStrategyLab QPK Sync Date: Sun, 6 Sep 2026 12:35:55 +0000 Subject: [PATCH 1/3] chore(deps): align QPK pin to c812ed70f83d Automated downstream QPK pin update after QPK_PIN landed on main. Co-Authored-By: Claude --- pyproject.toml | 2 +- qsl.toml | 2 +- tests/test_drift_workflow_config.py | 2 +- tests/test_qsl_compat_metadata.py | 2 +- uv.lock | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c206e3b..2f49f5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "Shared crypto strategy catalog and implementations" readme = "README.md" requires-python = ">=3.11" dependencies = [ - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@c812ed70f83d61bdf1816fa5ca112b0f6976c6b6", ] [project.optional-dependencies] diff --git a/qsl.toml b/qsl.toml index b04986f..d7d8442 100644 --- a/qsl.toml +++ b/qsl.toml @@ -4,5 +4,5 @@ upgrade_ring = "ring_b" [compat] bundle = "2026.09.1" requires = [ - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@c812ed70f83d61bdf1816fa5ca112b0f6976c6b6", ] diff --git a/tests/test_drift_workflow_config.py b/tests/test_drift_workflow_config.py index b8b7687..ca1a8f0 100644 --- a/tests/test_drift_workflow_config.py +++ b/tests/test_drift_workflow_config.py @@ -24,7 +24,7 @@ def test_drift_workflow_wires_real_pipeline_inputs_and_preflight_bundle() -> Non " ref: aae333fe8b3fe5aeb32e1ff135ab14ea7db32420\n" " path: external/QuantPlatformKit" ) in workflow - assert "quant_platform_kit_ref: cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab" in workflow + assert "quant_platform_kit_ref: c812ed70f83d61bdf1816fa5ca112b0f6976c6b6" 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 diff --git a/tests/test_qsl_compat_metadata.py b/tests/test_qsl_compat_metadata.py index 104e8fc..6258394 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 = "cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab" +QPK_REVISION = "c812ed70f83d61bdf1816fa5ca112b0f6976c6b6" QPK_URL = ( "quant-platform-kit @ git+https://github.com/QuantStrategyLab/" f"QuantPlatformKit.git@{QPK_REVISION}" diff --git a/uv.lock b/uv.lock index 7cb7eec..169aa89 100644 --- a/uv.lock +++ b/uv.lock @@ -28,7 +28,7 @@ research = [ requires-dist = [ { name = "numpy", marker = "extra == 'research'", specifier = ">=1.26" }, { name = "pandas", marker = "extra == 'research'", specifier = ">=2.0" }, - { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab" }, + { name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=c812ed70f83d61bdf1816fa5ca112b0f6976c6b6" }, ] provides-extras = ["research"] @@ -182,7 +182,7 @@ wheels = [ [[package]] name = "quant-platform-kit" version = "0.10.0" -source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab#cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab" } +source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=c812ed70f83d61bdf1816fa5ca112b0f6976c6b6#c812ed70f83d61bdf1816fa5ca112b0f6976c6b6" } [[package]] name = "six" From 2d306817fbe497625a628a91077e5b6febf19e6f Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Sun, 6 Sep 2026 20:40:25 +0800 Subject: [PATCH 2/3] fix(ci): sync drift-check workflow QPK refs with pin Keep reusable drift workflow and checkout refs aligned with the package pin so workflow contract tests stay green. Co-authored-by: Cursor --- .github/workflows/drift-check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/drift-check.yml b/.github/workflows/drift-check.yml index c3e076a..88b2962 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: aae333fe8b3fe5aeb32e1ff135ab14ea7db32420 + ref: c812ed70f83d61bdf1816fa5ca112b0f6976c6b6 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@33e506f1c89977f55f284d777fb5b748cfd30798 + uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@c812ed70f83d61bdf1816fa5ca112b0f6976c6b6 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: cd6edbb32bb85ec6d280c2dafea4dd8ecd3ccdab + quant_platform_kit_ref: c812ed70f83d61bdf1816fa5ca112b0f6976c6b6 lifecycle_preflight_artifact: lifecycle-preflight-${{ github.run_id }}-${{ github.run_attempt }} secrets: codex_audit_service_url: ${{ secrets.CODEX_AUDIT_SERVICE_URL }} From 010144bd5c8773acd971a75e716802550e0e068e Mon Sep 17 00:00:00 2001 From: Pigbibi <20649888+Pigbibi@users.noreply.github.com> Date: Sun, 6 Sep 2026 20:43:14 +0800 Subject: [PATCH 3/3] fix(ci): align drift workflow test SHAs with pin Co-authored-by: Cursor --- tests/test_drift_workflow_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_drift_workflow_config.py b/tests/test_drift_workflow_config.py index ca1a8f0..90984bb 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_pipeline_inputs_and_preflight_bundle() -> Non assert "repository: QuantStrategyLab/QuantPlatformKit" in workflow assert ( "repository: QuantStrategyLab/QuantPlatformKit\n" - " ref: aae333fe8b3fe5aeb32e1ff135ab14ea7db32420\n" + " ref: c812ed70f83d61bdf1816fa5ca112b0f6976c6b6\n" " path: external/QuantPlatformKit" ) in workflow assert "quant_platform_kit_ref: c812ed70f83d61bdf1816fa5ca112b0f6976c6b6" in workflow @@ -34,7 +34,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@33e506f1c89977f55f284d777fb5b748cfd30798" in workflow + assert "uses: QuantStrategyLab/QuantPlatformKit/.github/workflows/reusable-drift-check.yml@c812ed70f83d61bdf1816fa5ca112b0f6976c6b6" in workflow assert "strategy_domain: crypto" in workflow assert "snapshot_repository: QuantStrategyLab/CryptoLivePoolPipelines" in workflow assert "snapshot_checkout_path: external/CryptoLivePoolPipelines" in workflow