Skip to content

fix(bootstrap): increase namespace wait timeout to ~180s#434

Closed
riyadhctg wants to merge 1 commit intoNVIDIA:mainfrom
riyadhctg:patch-433
Closed

fix(bootstrap): increase namespace wait timeout to ~180s#434
riyadhctg wants to merge 1 commit intoNVIDIA:mainfrom
riyadhctg:patch-433

Conversation

@riyadhctg
Copy link

Summary

Increases the wait_for_namespace() timeout from ~120s to ~180s to prevent
bootstrap failures on first run when K3s needs extra time to pull images and
initialize.

Related Issue

Fixes part of #143

Changes

  • Increase attempts from 60 to 90 in wait_for_namespace()
    (crates/openshell-bootstrap/src/lib.rs)

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)
  • Manual testing: verified gateway starts successfully on Colima (4 CPU, 8GB
    RAM) where it previously timed out

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

  The 60-attempt (~120s) timeout in wait_for_namespace() is insufficient
  on first run when K3s images need to be pulled and initialized. This
  causes the CLI to exit before reaching PKI generation, leaving the
  cluster without TLS secrets.

  Increase attempts from 60 to 90 (~180s) to accommodate slower machines
  and first-run scenarios.

  Fixes part of NVIDIA#433
@riyadhctg riyadhctg requested a review from a team as a code owner March 18, 2026 10:12
@github-actions
Copy link

Thank you for your interest in contributing to OpenShell, @riyadhctg.

This project uses a vouch system for first-time contributors. Before submitting a pull request, you need to be vouched by a maintainer.

To get vouched:

  1. Open a Vouch Request discussion.
  2. Describe what you want to change and why.
  3. Write in your own words — do not have an AI generate the request.
  4. A maintainer will comment /vouch if approved.
  5. Once vouched, open a new PR (preferred) or reopen this one after a few minutes.

See CONTRIBUTING.md for details.

@github-actions
Copy link

Thank you for your submission! We ask that you sign our Developer Certificate of Origin before we can accept your contribution. You can sign the DCO by adding a comment below using this text:


I have read the DCO document and I hereby sign the DCO.


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the DCO Assistant Lite bot.

@github-actions github-actions bot closed this Mar 18, 2026
@riyadhctg
Copy link
Author

I have read the DCO document and I hereby sign the DCO.

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