FN-5847: honor onboarding completion marker in auto-launch
CLI onboarding auto-launch now skips once the persisted completion marker is present. - Load `cliOnboardingCompletedAt` from global settings before launching onboarding when the central DB is missing. - Preserve existing skip precedence for non-TTY, command, flag, environment, and central DB guards. - Add unit and backcompat coverage for completion-marker and skipped-central-DB scenarios. - Document the updated auto-launch behavior and add a patch changeset. Files changed: .changeset/fn-5847-onboard-autolaunch-marker.md | 5 ++ docs/cli-reference.md | 12 +-- .../onboard-autolaunch-backcompat-e2e.test.ts | 7 ++ .../onboard-autolaunch-backcompat.test.ts | 8 ++ .../__tests__/onboard-autolaunch-bypass.test.ts | 7 ++ .../commands/__tests__/onboard-autolaunch.test.ts | 93 ++++++++++++++++++++++ packages/cli/src/commands/onboard-autolaunch.ts | 46 ++++++++++- 7 files changed, 171 insertions(+), 7 deletions(-) Fusion-Task-Id: FN-5847 Fusion-Task-Lineage: db3e474e-e4b8-4299-8087-07b6cd1f4518
This commit is contained in:
5
.changeset/fn-5847-onboard-autolaunch-marker.md
Normal file
5
.changeset/fn-5847-onboard-autolaunch-marker.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
CLI auto-launch now honors the persisted `cliOnboardingCompletedAt` marker so onboarding fires only once, even when the Central DB step was skipped during `fn onboard`.
|
||||
Reference in New Issue
Block a user