fix(deploy): preserve recovered Cloud adapter pin (#2417)

Co-authored-by: Chan <dadachann@users.noreply.github.com>
This commit is contained in:
Hyu
2026-08-12 18:06:34 +08:00
committed by GitHub
parent c3299fd1a6
commit 338ee733cb
2 changed files with 12 additions and 1 deletions
@@ -0,0 +1,11 @@
from pathlib import Path
_REPO_ROOT = Path(__file__).resolve().parents[3]
_RECOVERY_SPACE_REF = '1c31172dee7aa912ce807d899018de27ff29054f'
def test_production_build_pins_recovered_cloud_adapter_revision():
workflow = (_REPO_ROOT / '.github' / 'workflows' / 'deploy-prod.yml').read_text(encoding='utf-8')
assert f'SPACE_REF: {_RECOVERY_SPACE_REF}' in workflow