[GH-ISSUE #8728] [Bug] Analysis-view help omits delimited export and the guide selects the wrong rows #7525

Closed
opened 2026-11-03 06:16:00 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @xu91102 on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/8728

Observed behavior

On main at 9ebbe67e05af08b567e215340da993c08dae378f, rea inspect-analysis-view --help does not explain CSV or TSV export or show the required --columns flag. The CLI guide shows normalized_result.rows for the command, but the inventory view emits its row collection at normalized_result.items.

Reproduction

I built main and used the repository's ARTIFACT_COMPARISON_EXAMPLE.left as inline Evidence. The request selected the inventory view, collection occurrences, and fields logical_path and artifact_id.

  1. Run rea inspect-analysis-view --help. The generic output options list does not advertise CSV, TSV or --columns.
  2. Run rea inspect-analysis-view request.json --format csv --filter-output normalized_result.rows --columns name,address. It exits 1 with invalid_request and says the filter must select exactly one row-array path. TSV behaves the same.
  3. On the same request, use --filter-output normalized_result.items --columns logical_path,artifact_id. Both CSV and TSV exit 0, with the metadata record, column header, and a row for the fixture.

Expected behavior

The command help should point to the existing CSV and TSV flags and a valid inventory selector. The guide should show a row path and columns that match an identified view. The output format and validation rules already work with the correct arguments.

Tested with the compiled CLI on macOS arm64. No external provider or target execution was needed.

Originally created by @xu91102 on GitHub (Nov 3, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/8728 ### Observed behavior On main at `9ebbe67e05af08b567e215340da993c08dae378f`, `rea inspect-analysis-view --help` does not explain CSV or TSV export or show the required `--columns` flag. The [CLI guide](https://github.com/morluto/rea/blob/main/docs/cli.md) shows `normalized_result.rows` for the command, but the inventory view emits its row collection at `normalized_result.items`. ### Reproduction I built main and used the repository's `ARTIFACT_COMPARISON_EXAMPLE.left` as inline Evidence. The request selected the inventory view, collection `occurrences`, and fields `logical_path` and `artifact_id`. 1. Run `rea inspect-analysis-view --help`. The generic output options list does not advertise CSV, TSV or `--columns`. 2. Run `rea inspect-analysis-view request.json --format csv --filter-output normalized_result.rows --columns name,address`. It exits 1 with `invalid_request` and says the filter must select exactly one row-array path. TSV behaves the same. 3. On the same request, use `--filter-output normalized_result.items --columns logical_path,artifact_id`. Both CSV and TSV exit 0, with the metadata record, column header, and a row for the fixture. ### Expected behavior The command help should point to the existing CSV and TSV flags and a valid inventory selector. The guide should show a row path and columns that match an identified view. The output format and validation rules already work with the correct arguments. Tested with the compiled CLI on macOS arm64. No external provider or target execution was needed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#7525
No description provided.