fix(ci): ensure Temp directory and dummy packet json exist to avoid test crashes
Quant Engine CI/CD Pipeline / validate-core (push) Failing after 8s
Quant Engine CI/CD Pipeline / validate-ui-and-storage (push) Has been skipped
Snapshot Admin Deployment / build-and-deploy (push) Failing after 34s
Deploy to Production / Build Release Package (push) Failing after 19s
Deploy to Production / Deploy to Production Server (push) Has been skipped
Deploy to Production / Post-Deployment Checks (push) Has been skipped
Quant Engine CI/CD Pipeline / validate-core (push) Failing after 8s
Quant Engine CI/CD Pipeline / validate-ui-and-storage (push) Has been skipped
Snapshot Admin Deployment / build-and-deploy (push) Failing after 34s
Deploy to Production / Build Release Package (push) Failing after 19s
Deploy to Production / Deploy to Production Server (push) Has been skipped
Deploy to Production / Post-Deployment Checks (push) Has been skipped
This commit is contained in:
@@ -169,6 +169,13 @@ jobs:
|
|||||||
- name: Validate Live Data Activation Gate
|
- name: Validate Live Data Activation Gate
|
||||||
run: python3 tools/validate_live_data_activation_gate_v1.py
|
run: python3 tools/validate_live_data_activation_gate_v1.py
|
||||||
|
|
||||||
|
- name: Ensure Temp Directory and Mock Packet
|
||||||
|
run: |
|
||||||
|
mkdir -p Temp
|
||||||
|
if [ ! -f Temp/final_decision_packet_active.json ]; then
|
||||||
|
echo '{"formula_id":"FINAL_DECISION_PACKET_V2","meta":{"generated_at":"2026-06-29T00:00:00Z"},"canonical_metrics":{},"portfolio_snapshot":{},"order_table":[]}' > Temp/final_decision_packet_active.json
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Validate Replay Live Separation
|
- name: Validate Replay Live Separation
|
||||||
run: python3 tools/validate_replay_live_separation_v1.py
|
run: python3 tools/validate_replay_live_separation_v1.py
|
||||||
|
|
||||||
|
|||||||
@@ -208,7 +208,7 @@ jobs:
|
|||||||
# Wait for service to be ready (localhost:5000/quant/ through Kestrel inside remote host)
|
# Wait for service to be ready (localhost:5000/quant/ through Kestrel inside remote host)
|
||||||
for i in {1..30}; do
|
for i in {1..30}; do
|
||||||
HTTP_CODE=$(ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 ${{ env.DEPLOY_USER }}@${{ env.DEPLOY_HOST }} \
|
HTTP_CODE=$(ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~/.ssh/id_ed25519 ${{ env.DEPLOY_USER }}@${{ env.DEPLOY_HOST }} \
|
||||||
"curl -s -o /dev/null -w \"%{http_code}\" http://127.0.0.1:5000/quant/" || echo "000")
|
'curl -s -o /dev/null -w "%{http_code}" http://127.0.0.1:5000/quant/' || echo "000")
|
||||||
|
|
||||||
if [ "$HTTP_CODE" = "200" ]; then
|
if [ "$HTTP_CODE" = "200" ]; then
|
||||||
echo "✅ Health check passed (HTTP $HTTP_CODE inside remote host)"
|
echo "✅ Health check passed (HTTP $HTTP_CODE inside remote host)"
|
||||||
|
|||||||
Reference in New Issue
Block a user