Skip to content

refactor(init): use guardNonInteractive for TTY check #3094

refactor(init): use guardNonInteractive for TTY check

refactor(init): use guardNonInteractive for TTY check #3094

Triggered via pull request April 7, 2026 08:54
Status Cancelled
Total duration 3m 8s
Artifacts 1

ci.yml

on: pull_request
Detect Changes
4s
Detect Changes
Lint & Typecheck
17s
Lint & Typecheck
Check skill files
9s
Check skill files
Eval SKILL.md
2m 9s
Eval SKILL.md
Build Docs
Build Docs
Matrix: build-binary
Matrix: build-npm
Generate Delta Patches
0s
Generate Delta Patches
E2E Tests
0s
E2E Tests
Publish Nightly to GHCR
0s
Publish Nightly to GHCR
CI Status
3s
CI Status
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Lint & Typecheck
Process completed with exit code 1.
Unit Tests
Canceling since a higher priority waiting request for ci-refs/pull/677/merge exists
Unit Tests
The operation was canceled.
error: expect(received).toHaveBeenCalledWith(...expected): test/lib/init/wizard-runner.test.ts#L500
Expected: [ "Setup cancelled." ] But it was not called. at <anonymous> (/home/runner/work/cli/cli/test/lib/init/wizard-runner.test.ts:500:25)
error: expect(received).toHaveBeenCalledWith(...expected): test/lib/init/wizard-runner.test.ts#L369
Expected: [ "Setup cancelled." ] But it was not called. at <anonymous> (/home/runner/work/cli/cli/test/lib/init/wizard-runner.test.ts:369:25)
error: expect(received).toHaveBeenCalledWith(...expected): test/lib/init/wizard-runner.test.ts#L346
Expected: [ StringContaining "Setup cancelled" ] But it was not called. at <anonymous> (/home/runner/work/cli/cli/test/lib/init/wizard-runner.test.ts:346:25)
error: expect(received).toHaveBeenCalledWith(...expected): test/lib/init/wizard-runner.test.ts#L313
Expected: [ ObjectContaining { message: StringContaining "EXPERIMENTAL", } ] But it was not called. at <anonymous> (/home/runner/work/cli/cli/test/lib/init/wizard-runner.test.ts:313:26)
error: expect(received).toContain(expected): test/lib/init/wizard-runner.test.ts#L291
Expected to contain: "Interactive mode requires a terminal" Received: "Error: Destructive operation refused in non-interactive mode. Use --yes or --force to confirm.\n" at <anonymous> (/home/runner/work/cli/cli/test/lib/init/wizard-runner.test.ts:291:23)
CI Status
Process completed with exit code 1.
CI Status
CI failed
Build
Canceling since a higher priority waiting request for ci-refs/pull/677/merge exists

Artifacts

Produced during runtime
Name Size Digest
skill-eval-results
5.83 KB
sha256:34a68fc2af56d84b3df3f550d37c6b45386b519caf08211a7a88554dcdc8a57f