1.9 KiB
1.9 KiB
PR Summary
Title
Synology mock KIS validation dry-run and workflow dependency hardening
Short Body
src/quant_engine/snapshot_admin_store_v1.pyno longer importszoneinfo, so the Synology Python 3.8.12 runner can import the snapshot admin store without crashing.src/quant_engine/kis_api_client_v1.pynow lazy-loadsrequests, which keeps the module importable in tests and turns missing dependency failures into explicit runtime validation errors..gitea/workflows/ci.yml,.gitea/workflows/kis_data_collection.yml, and.gitea/workflows/qualitative_sell_strategy.ymlnow reinstall their Python dependencies on every run so cached venvs cannot hide missing packages.tools/validate_kis_api_credentials_v1.pynow supports--dry-run, and the mock validation steps in the workflows use it so repo-variable checks no longer depend on live KIS API access.docs/GITEA_VARIABLES_RUNBOOK.mdanddocs/GITEA_VARIABLES_SMOKE_CHECKLIST.mdnow say the mock credential check is dry-run only.docs/SYNOLOGY_SNAPSHOT_ADMIN_FINAL_EXECUTION_ONE_PAGER.mdremains the compact NAS field run sheet for theWBS-7.9live verification sequence.docs/SYNOLOGY_SNAPSHOT_ADMIN_DEPLOYMENT_CHECKLIST.mdpoints at the one-page run sheet and keeps the evidence rule explicit soWBS-7.9stays open until NAS-side verification is archived.docs/ROADMAP_WBS.mdstill states theWBS-4.1 -> WBS-4.2 -> WBS-4.3wait order explicitly and separates loopback smoke success from actual NAS live verification.
Verified
python tools/validate_snapshot_admin_web_v1.pypython -m pytest tests/unit/test_snapshot_admin_web_v1.py -qpython tools/validate_platform_transition_wbs_v1.pypython tools/validate_snapshot_admin_workflow_v1.py- Local HTTP smoke against
snapshot_admin_server_v1.py:- unauthenticated
GET /api/statereturned401 - authenticated
GET /api/statereturned200 - authenticated
GET /tablesreturned200
- unauthenticated