Skip to content

Improve the LaunchSingleInstance in cvd start#2812

Open
SuperStrongDinosaur wants to merge 1 commit into
google:mainfrom
SuperStrongDinosaur:startSingleInstanceFix
Open

Improve the LaunchSingleInstance in cvd start#2812
SuperStrongDinosaur wants to merge 1 commit into
google:mainfrom
SuperStrongDinosaur:startSingleInstanceFix

Conversation

@SuperStrongDinosaur

Copy link
Copy Markdown
Collaborator

This change improves the robustness of the single-instance boot (LaunchSingleInstance) in cvd start:
1. Fix Client Hang: Forwarded --daemon=true to the run_cvd subprocess in LaunchSingleInstance. Previously, run_cvd was launched without arguments, defaulting to the foreground, which caused the client to wait indefinitely for the
VM to exit.

  1. Refine Bypass Validation Checks:
    - Prevented bypass if the user requests foreground mode (--daemon=false), since LaunchSingleInstance does not implement foreground log tailing.
    - Prevented bypass if any configuration-altering flags are passed (only --daemon is considered safe), ensuring assemble_cvd is not skipped when config changes are requested.
    - Enforce that the main instance itself cannot bypass the full boot, and that the main instance must be in RUNNING state before a secondary instance is allowed to use the fast-track bypass.

@SuperStrongDinosaur SuperStrongDinosaur added the kokoro:run Run e2e tests. label Jul 2, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:run Run e2e tests. label Jul 2, 2026
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.

2 participants