Skip to content

fix(canvas/e2e): raise deadline 15→20 min — matches SaaS E2E tolerance - #2006

Merged
HongmingWang-Rabbit merged 1 commit into
stagingfrom
fix/canvas-e2e-20min-deadline
Apr 24, 2026
Merged

fix(canvas/e2e): raise deadline 15→20 min — matches SaaS E2E tolerance#2006
HongmingWang-Rabbit merged 1 commit into
stagingfrom
fix/canvas-e2e-20min-deadline

Conversation

@HongmingWang-Rabbit

Copy link
Copy Markdown
Contributor

Matches the 20-min budget shipped in #1930 for `tests/e2e/test_staging_full_saas.sh`. Canvas E2E was stuck at 15 min which regularly flakes on tenant cold boots in the 12-15 min range.

Concrete blocker: sync PR #1981 kept failing on `tenant provision: timed out after 900s` even after the actual SaaS E2E went green.

Also bumps WORKSPACE_ONLINE_TIMEOUT_MS 10→20 min to cover hermes cold-install tail (apt + uv + hermes-agent clone + gateway boot can take 13-15 min on slow apt days).

No behavior change when things are fast.

Test plan

  • Local type-check passes
  • Next Canvas E2E run reaches tenant-running without timeout

Matches tests/e2e/test_staging_full_saas.sh's 20-min budget (#1930).
Canvas E2E was still stuck at 900s (15 min) which regularly flakes on
tenant cold boots in 12-15 min range — especially on staging where
workspace-server image pulls + AMI bootstrapping add 3-5 min vs prod.

Concrete blocker: 2026-04-24 staging→main sync (#1981) kept failing on
"tenant provision: timed out after 900s" in canvas/e2e/staging-setup.ts
despite the actual sync E2E going green. Canvas-side timeout was
strictly tighter than the sync-side timeout.

Also raises WORKSPACE_ONLINE_TIMEOUT_MS to 20 min to cover the case
where the workspace EC2 is provisioned but hermes cold-install (apt +
uv + hermes-agent clone + gateway boot) takes longer than the original
10-min budget — matches the 20-min workspace deadline in SaaS E2E.

No behavior change when things are fast. Just covers the tail.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@HongmingWang-Rabbit
HongmingWang-Rabbit added this pull request to the merge queue Apr 24, 2026
Merged via the queue into staging with commit 30d8f0c Apr 24, 2026
13 of 14 checks passed
@molecule-ai
molecule-ai Bot deleted the fix/canvas-e2e-20min-deadline branch May 20, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant