From dd0ed103da8bf0cb9e2ca123778cca2ba08547bf Mon Sep 17 00:00:00 2001 From: "Molecule AI Dev Engineer A (Kimi)" Date: Sun, 14 Jun 2026 15:39:30 +0000 Subject: [PATCH] ci(local-provision-e2e): extend platform boot DEADLINE to 480s on slow runners (#2520) GCP-class runners (fleet-gcp-1, e2-standard-8) boot the platform ~33% slower than dedicated AMD runners, causing the 300s health deadline to fire on otherwise-healthy runs. Move the deadline to a workflow env var (default 480s) so both lifecycle-stub and lifecycle-real jobs get the same headroom without hard-coding the value in two places. Fixes #2520 --- .gitea/workflows/local-provision-e2e.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/local-provision-e2e.yml b/.gitea/workflows/local-provision-e2e.yml index 038270a4d..d927f9b71 100644 --- a/.gitea/workflows/local-provision-e2e.yml +++ b/.gitea/workflows/local-provision-e2e.yml @@ -52,6 +52,10 @@ concurrency: env: GITHUB_SERVER_URL: https://git.moleculesai.app + # #2520: GCP-class runners (e2-standard-8, shared Intel) boot the platform + # ~33% slower than AMD/dedicated runners. Keep the default generous so a + # slow provisioner/image-pull does not false-positive as a platform failure. + PLATFORM_BOOT_DEADLINE: 480 jobs: # =========================================================================== @@ -237,7 +241,7 @@ jobs: - name: Wait for /health (+ migrations applied) run: | - DEADLINE=300; PID="$(cat workspace-server/platform.pid 2>/dev/null || true)"; start=$(date +%s) + DEADLINE=${PLATFORM_BOOT_DEADLINE:-300}; PID="$(cat workspace-server/platform.pid 2>/dev/null || true)"; start=$(date +%s) while :; do # Verify OUR server is still alive before trusting /health. Our server # binds the allocated port or exits FATAL, so "our PID alive" <=> @@ -457,7 +461,7 @@ jobs: - name: Wait for /health (+ migrations applied) run: | - DEADLINE=300; PID="$(cat workspace-server/platform.pid 2>/dev/null || true)"; start=$(date +%s) + DEADLINE=${PLATFORM_BOOT_DEADLINE:-300}; PID="$(cat workspace-server/platform.pid 2>/dev/null || true)"; start=$(date +%s) while :; do # Verify OUR server is still alive before trusting /health. Our server # binds the allocated port or exits FATAL, so checking our PID first -- 2.52.0