You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test: 'dataset clone' for missing dataset prints to stderr, not stdout #367
exitCode === 1 is correct, but stdout no longer contains the error string — the CLI now writes the failure message to stderr (likely via the spinner failure path). The not found / 404 text is in stderr instead.
Fix
Either:
Update the test to assert against stdout + stderr, or
Make dataset clone echo a final user-facing error line to stdout after the spinner stops (mirroring other commands like admin revert).
Option 2 is preferable for grep-friendly CLI output.
Repro
cd backend
bun test test/datalad-commands.test.ts -t "clone fails for non-existent dataset"
Activity
neuromechanist commentedon May 14, 2026
Closing as duplicate of #452 (P1: 4 failing tests + add CI gate), which explicitly tracks this test.