fix: CI动态端口+超时控制 #24

Merged
hera merged 1 commits from feat/ci-fixes into main 2026-04-11 16:58:02 +00:00
Owner

避免e2e端口冲突和卡死

避免e2e端口冲突和卡死
Author
Owner

🚀 Preview: https://pr-24.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-24.oil.oci.euphon.net DB is a copy of production.
hera added 1 commit 2026-04-11 11:11:03 +00:00
fix: CI动态端口+超时控制,避免e2e卡死
All checks were successful
PR Preview / teardown-preview (pull_request) Successful in 15s
PR Preview / test (pull_request) Has been skipped
PR Preview / deploy-preview (pull_request) Has been skipped
Deploy Production / test (push) Successful in 8s
Test / unit-test (push) Successful in 6s
Deploy Production / deploy (push) Successful in 8s
Test / build-check (push) Successful in 4s
Test / e2e-test (push) Successful in 51s
c53dda0622
- 后端端口随机9000-9999,前端4000-4999
- 数据库文件按端口号隔离
- vite proxy支持VITE_API_PORT环境变量
- 服务启动超时30秒,失败即退出
- Cypress: defaultCommandTimeout=5s, pageLoadTimeout=10s
- 整个e2e job timeout 5分钟

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Author
Owner

🚀 Preview: https://pr-24.oil.oci.euphon.net

DB is a copy of production.

🚀 **Preview**: https://pr-24.oil.oci.euphon.net DB is a copy of production.
hera merged commit c53dda0622 into main 2026-04-11 16:58:02 +00:00
Author
Owner

🗑️ Preview torn down.

🗑️ Preview torn down.
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: hera/oil-formula-calculator#24