Commit 645d438
fix(jrag): inspect forwards --service/--module to resolve_query
inspect inherited --service/--module/--limit from _common_parser but,
unlike every other command, neither applied nor warned on them. --limit is
genuinely N/A (describe_v2 returns one node); --service/--module were missed
wiring — resolve_query already accepts them to disambiguate cross-service
name collisions, and find + the traversal commands already forward them.
Now forwards microservice=args.service or "", module=args.module or "" so an
ambiguous simple name (e.g. UserController in service-a vs service-b) resolves
to a single node when --service is given. No-flag path unchanged ("" matches
resolve_query's default).
Adds test_inspect_service_flag_disambiguates_collision on the
route_extraction_smoke fixture (UserController as smoke.a.* / smoke.b.*).
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 785ab4a commit 645d438
2 files changed
Lines changed: 64 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1556 | 1556 | | |
1557 | 1557 | | |
1558 | 1558 | | |
1559 | | - | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
1560 | 1563 | | |
1561 | 1564 | | |
1562 | 1565 | | |
| |||
1565 | 1568 | | |
1566 | 1569 | | |
1567 | 1570 | | |
| 1571 | + | |
| 1572 | + | |
1568 | 1573 | | |
1569 | 1574 | | |
1570 | 1575 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
434 | 434 | | |
435 | 435 | | |
436 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
437 | 495 | | |
438 | 496 | | |
439 | 497 | | |
| |||
0 commit comments