Files
QuantEngineByItz/docs/SYNOLOGY_ACT_RUNNER_REFACTOR_PR_BODY.md
kjh2064 af1236202d WBS-7.3: GAS→Python 마이그레이션 5개 항목 완료 (F14, F02-F06)
- F14: late_chase_risk_score 검증
  * GAS가 유일한 생산처 (Python canonical 없음)
  * migration_action: KEEP_IN_GAS로 정정, status: DONE

- F02/F03/F04/F06: priceBasis 로직 포팅
  * formulas/price_basis_v1.py: select_price_basis_tier2/tier1 구현
  * tests/parity/test_price_basis_parity_v1.py: 8 parity 테스트 (모두 PASS)
  * GAS Number.isFinite() 의미론 정확히 재현 (math.isfinite 사용)
  * 모든 테스트 112/112 PASS

남은 작업 (4개):
- F05: decision_logic (action assignment)
- F07: score_logic (threshold addition)
- F10: routing decision
- F15: late_chase_gate

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-22 22:45:00 +09:00

1.7 KiB

Synology Act Runner Split PR Body

Title

chore: split Synology act_runner start and re-registration scripts

Body

  • Added tools/re_register_act_runner_synology.sh for explicit host-mode re-registration.
  • Added tools/start_act_runner_synology.sh for boot-time daemon start only.
  • Kept tools/setup_act_runner.sh as the bootstrap path, but made the re-registration flow explicit and repeatable.
  • Switched the runner registration labels to self-hosted:host,snapshot-admin-host:host so the job runs in host mode instead of Docker job containers and can be targeted by a dedicated deployment label.
  • Updated docs/SYNOLOGY_SNAPSHOT_ADMIN_POC.md and docs/ROADMAP_WBS.md so the operator flow and WBS notes match the new runner split.
  • The snapshot_admin.yml workflow is split into push smoke validation and manual full validation, which reduces routine CI cost while preserving the full web smoke path on demand.
  • The deploy workflow now waits for 127.0.0.1:8787/api/state readiness before asserting success, so startup latency does not fail the run spuriously.
  • The ci.yml workflow now keeps push traffic on the core gate only, with UI/storage validation retained for non-push events.

Verification

  • python tools/validate_snapshot_admin_workflow_v1.py
  • python -c "import yaml, pathlib; yaml.safe_load(pathlib.Path('.gitea/workflows/snapshot_admin.yml').read_text(encoding='utf-8'))"
  • git diff -- .gitea/workflows/snapshot_admin.yml tools/setup_act_runner.sh docs/SYNOLOGY_SNAPSHOT_ADMIN_POC.md docs/ROADMAP_WBS.md
  • Deploy job evidence:
    • healthcheck retried after startup and passed
    • snapshot-admin-web-v6 returned from the verification step
    • Job succeeded