gsxdsm
38e0422d35
FN-5809: add onboarding skip-flag and env bypass handling
Ensure CLI onboarding auto-launch is bypassed cleanly via explicit flag/env controls.
- Parse and strip global `--skip-onboarding` in CLI argument preprocessing while surfacing a dedicated `skipOnboarding` signal.
- Pass the surfaced skip signal into onboarding auto-launch decisions and preserve distinct reasons (`skip-flag` vs `skip-env`).
- Tighten `FUSION_SKIP_ONBOARDING` parsing to strict truthy values only (`1`, `true`, `yes`, `on`).
- Add focused tests covering bypass reasons, truthy env parsing, global flag stripping behavior, and integration with onboarding gating.
- Add a patch changeset for @runfusion/fusion documenting the onboarding bypass behavior update.
Files changed:
.changeset/fn-5809-skip-onboarding-bypass.md | 9 ++
packages/cli/src/bin.ts | 23 +++-
.../__tests__/onboard-autolaunch-bypass.test.ts | 140 +++++++++++++++++++++
packages/cli/src/commands/onboard-autolaunch.ts | 11 +-
4 files changed, 173 insertions(+), 10 deletions(-)
Fusion-Task-Id: FN-5809
Fusion-Task-Lineage: fc461eab-84df-42dc-924d-9d8cc59502cd
2026-06-01 14:07:46 -07:00
..
2026-05-31 20:50:09 -07:00
2026-05-31 21:08:41 -07:00
2026-05-31 23:24:53 -07:00
2026-06-01 01:42:19 -07:00
2026-06-01 13:20:55 -07:00
2026-06-01 13:03:20 -07:00
2026-06-01 13:33:56 -07:00
2026-06-01 14:07:46 -07:00
2026-06-01 01:30:34 -07:00
2026-06-01 01:37:25 -07:00
2026-06-01 04:47:19 -07:00
2026-06-01 05:15:14 -07:00
2026-06-01 03:23:10 -07:00
2026-06-01 05:39:01 -07:00
2026-06-01 07:53:56 -07:00
2026-06-01 09:05:18 -07:00
2026-06-01 08:13:36 -07:00
2026-06-01 08:23:02 -07:00