Skip to content

Reduce draft list records to three-line compact format - #106

Merged
vm-mishchenko merged 1 commit into
mainfrom
260521-spec-list-compact-item-output
May 22, 2026
Merged

vm-mishchenko merged 1 commit into
mainfrom
260521-spec-list-compact-item-output

Conversation

@vm-mishchenko

Copy link
Copy Markdown
Owner

Summary

  • Replace six-field human list output with a compact three-line record: Run:, Branch:, and PR:
  • Use runs.classify_run for human status text instead of deriving it from JSON row fields
  • Read state.json separately for branch/PR display so stored values remain visible even when pipeline data is corrupt

Test plan

  • Verified human output contains Run:, Branch:, and PR: and does not contain Project:, Workspace:, or Logs:
  • Added focused status tests for running, done, stopped, missing, and corrupt classifications
  • Added test for corrupt pipeline with readable state proving stored branch/PR are shown
  • Confirmed --json output schema and values are unchanged

Remove Project, Workspace, and Logs fields from list output
to focus on essential information. Users now see only Run ID
with status classification, Branch, and PR URL.
@vm-mishchenko
vm-mishchenko marked this pull request as ready for review May 22, 2026 05:34
@vm-mishchenko
vm-mishchenko merged commit 9a0e4d7 into main May 22, 2026
1 check passed
@vm-mishchenko
vm-mishchenko deleted the 260521-spec-list-compact-item-output branch May 22, 2026 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant