openwork icon indicating copy to clipboard operation
openwork copied to clipboard

Regression: signup onboarding no longer launches first worker after PR #1181

Open pascalandr opened this issue 6 months ago • 0 comments

Summary

PR #1181 introduced a regression in Den signup/onboarding by removing the generic first-worker launch trigger.

The removed call was:

void launchWorker({ source: "signup_auto", workerNameOverride: ... });

and it was replaced with:

markOnboardingComplete();

This was described as stopping automatic sandbox creation during signup, but the removed path was not tied to a separate "cloud sandbox mode". It used the existing worker creation API:

POST /v1/workers

with destination: "cloud", and the Den API then selected the configured provisioner server-side (render, daytona, static, etc.).

As a result, new signup/onboarding flows can complete without creating the first worker for any provisioner that depended on this generic trigger.

Faulting change

  • PR: https://github.com/different-ai/openwork/pull/1181
  • Commit: https://github.com/different-ai/openwork/commit/4e63d6898e55406f1b592f2dccc972aa22b81f8b
  • Relevant behavior change: signup/onboarding stopped calling launchWorker({ source: "signup_auto" }) and now only calls markOnboardingComplete().

Expected behavior

After a new user completes signup/onboarding, OpenWork should create or request the first worker through the canonical worker creation path when no worker exists yet:

POST /v1/workers

Den API should remain responsible for selecting the configured provisioner.

Actual behavior

Onboarding can be marked complete without any worker being created. The user can reach the app with no available shared/background worker even though the first-worker provisioning trigger should have run.

Impact

  • The regression is generic, not static-only.
  • It affects the first-worker onboarding trigger that feeds the server-selected provisioner path.
  • Static/on-prem deployments surface this clearly because a fresh Product Owner-created organization can end up with zero workers and no automatic attach.
  • Render/Daytona style deployments are also affected conceptually because the removed trigger was the common /v1/workers entry point, not a dedicated static path.

pascalandr avatar May 26 '26 13:05 pascalandr