Skip to content

fix(e2e): increase double-onboard script-level timeout from 900s to 4800s - #2676

Merged
cv merged 1 commit into
mainfrom
fix/double-onboard-script-timeout
Apr 29, 2026
Merged

cv merged 1 commit into
mainfrom
fix/double-onboard-script-timeout

Conversation

@jyaunches

@jyaunches jyaunches commented Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #2658 — the script-level self-wrap timeout (NEMOCLAW_E2E_DEFAULT_TIMEOUT) of 900s (15 min) is far too tight for test-double-onboard.sh, which runs three sequential sandbox creations that each take 5-7 minutes on CI. Phase 4 was being killed by the script timeout (exit 124) before the per-phase timeout could fire. This commit was pushed to #2658 after it was already merged.

Related Issue

Fixes #2654

Changes

  • test/e2e/test-double-onboard.sh: Increase NEMOCLAW_E2E_DEFAULT_TIMEOUT from 900s to 4800s (80 min), leaving a 10-min buffer under the 90-min CI job timeout

Type of Change

  • Code change (feature, bug fix, or refactor)
  • Code change with doc updates
  • Doc only (prose changes, no code sample modifications)
  • Doc only (includes code sample changes)

Verification

  • npx prek run --all-files passes
  • npm test passes
  • Tests added or updated for new or changed behavior
  • No secrets, API keys, or credentials committed
  • Verified via nightly-e2e workflow_dispatch run 25090813418 — double-onboard-e2e passed 33/33 with this change
  • Docs updated for user-facing behavior changes

AI Disclosure

  • AI-assisted — tool: Claude (pi agent)

Signed-off-by: Julie Yaunches [email protected]

Summary by CodeRabbit

  • Tests
    • Extended E2E test timeout to improve reliability for complex test scenarios requiring extended execution time.

The self-wrap timeout of 900s (15 min) is far too tight for a script
that runs three sequential sandbox creations (~5-7 min each on CI)
plus cleanup, reconciliation, and lifecycle phases.  Phase 4 was
killed by the script timeout (exit 124) before the per-phase timeout
could trigger.

Increase to 4800s (80 min) to match the 90-min CI job timeout with
a 10-min buffer.

Fixes #2654
@jyaunches jyaunches self-assigned this Apr 29, 2026
@coderabbitai

coderabbitai Bot commented Apr 29, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 1b79ca1a-7110-4af4-910d-ad524830396b

📥 Commits

Reviewing files that changed from the base of the PR and between 9bfe30b and 32c39ca.

📒 Files selected for processing (1)
  • test/e2e/test-double-onboard.sh

📝 Walkthrough

Walkthrough

The E2E test script's default timeout is increased from 900 seconds to 4800 seconds to accommodate multiple sequential sandbox creations and cleanup operations, with expanded documentation explaining the rationale for the extended timeframe.

Changes

Cohort / File(s) Summary
E2E Test Timeout Configuration
test/e2e/test-double-onboard.sh
Increased NEMOCLAW_E2E_DEFAULT_TIMEOUT from 900s to 4800s; added inline documentation explaining the need for extended duration to accommodate three sequential sandbox creations plus cleanup within CI job timeout window.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

🐰 Five lonely minutes weren't quite enough time,
So eighty we'll grant for this test's grand climb,
With sandboxes spawning in rapid succession,
More seconds will smooth out each onboarding session! ⏱️

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: increasing the E2E timeout for the double-onboard script from 900s to 4800s.
Linked Issues check ✅ Passed The PR addresses timeout issues in issue #2654 by increasing the script-level timeout, which aligns with the objective to prevent Phase 4 from timing out by adding adjusted timeouts.
Out of Scope Changes check ✅ Passed The change is narrowly scoped to a single timeout variable adjustment in the E2E test script, remaining fully within the PR objectives and linked issue requirements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/double-onboard-script-timeout

Review rate limit: 9/10 reviews remaining, refill in 6 minutes.

Comment @coderabbitai help to get the list of available commands and usage tips.

@wscurran wscurran added bug dependencies Pull requests that update a dependency file labels Apr 29, 2026
@cv
cv merged commit 04ea838 into main Apr 29, 2026
19 checks passed
DemianHeyGen pushed a commit to DemianHeyGen/NemoClaw that referenced this pull request Apr 30, 2026
…800s (NVIDIA#2676)

## Summary

Follow-up to NVIDIA#2658 — the script-level self-wrap timeout
(`NEMOCLAW_E2E_DEFAULT_TIMEOUT`) of 900s (15 min) is far too tight for
`test-double-onboard.sh`, which runs three sequential sandbox creations
that each take 5-7 minutes on CI. Phase 4 was being killed by the script
timeout (exit 124) before the per-phase timeout could fire. This commit
was pushed to NVIDIA#2658 after it was already merged.

## Related Issue

Fixes NVIDIA#2654

## Changes

- **`test/e2e/test-double-onboard.sh`**: Increase
`NEMOCLAW_E2E_DEFAULT_TIMEOUT` from 900s to 4800s (80 min), leaving a
10-min buffer under the 90-min CI job timeout

## Type of Change
- [x] Code change (feature, bug fix, or refactor)
- [ ] Code change with doc updates
- [ ] Doc only (prose changes, no code sample modifications)
- [ ] Doc only (includes code sample changes)

## Verification
- [ ] `npx prek run --all-files` passes
- [ ] `npm test` passes
- [ ] Tests added or updated for new or changed behavior
- [x] No secrets, API keys, or credentials committed
- [x] Verified via nightly-e2e workflow_dispatch run 25090813418 —
double-onboard-e2e passed 33/33 with this change
- [ ] Docs updated for user-facing behavior changes

## AI Disclosure
- [x] AI-assisted — tool: Claude (pi agent)

---
Signed-off-by: Julie Yaunches <[email protected]>


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Tests**
* Extended E2E test timeout to improve reliability for complex test
scenarios requiring extended execution time.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@wscurran wscurran added area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure bug-fix PR fixes a bug or regression chore Build, CI, dependency, or tooling maintenance and removed CI/CD chore Build, CI, dependency, or tooling maintenance labels Jun 3, 2026
@jyaunches
jyaunches deleted the fix/double-onboard-script-timeout branch June 12, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ci CI workflows, checks, release automation, or GitHub Actions area: e2e End-to-end tests, nightly failures, or validation infrastructure bug-fix PR fixes a bug or regression dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(e2e): double-onboard-e2e fails — gateway not reused on re-onboard + Phase 4 timeout

3 participants