GitNexus/gitnexus/test/integration/cli
Karan Kapur dabf5e14bc
fix(cli): let trace run on --from-uid/--to-uid without positional names (#4124) (#4139)
* fix(cli): let trace run on --from-uid/--to-uid without positional names (#4124)

'trace <from> <to>' made commander exit 1 before the handler could run,
even though traceCommand and the backend both treat each name as
optional when the matching *_uid flag is present. Declare the
positionals as [from] [to] — matching context/impact/query — and keep
the per-endpoint usage validation in traceCommand, so 'gitnexus trace A'
(missing 'to', no --to-uid) still fails with usage.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* test(cli): cover UID-only trace in a separate process

Incorporates the corresponding part of #4186.

Co-authored-by: SomilDaswani <119527365+SomilDaswani@users.noreply.github.com>

---------

Co-authored-by: Karan Kapur <karank2512@users.noreply.github.com>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Gergő Magyar <gergomagyar@icloud.com>
Co-authored-by: magyargergo <11230420+magyargergo@users.noreply.github.com>
Co-authored-by: SomilDaswani <119527365+SomilDaswani@users.noreply.github.com>
2026-11-27 12:54:28 +00:00
..
tool-no-index-stderr.test.ts feat(core): adopt pino structured logger (#1336) 2026-05-07 20:56:25 +01:00
trace-uid-only.test.ts fix(cli): let trace run on --from-uid/--to-uid without positional names (#4124) (#4139) 2026-11-27 12:54:28 +00:00
update-notice.test.ts feat(analyze): expose process-detection budget overrides (#3324) 2026-09-18 13:37:15 +01:00