Skip to content

fix: improve empty state message for ci run list#449

Merged
PedroGuerraPT merged 2 commits intomainfrom
pedro/fix-ci-run-list-empty-message
Mar 12, 2026
Merged

fix: improve empty state message for ci run list#449
PedroGuerraPT merged 2 commits intomainfrom
pedro/fix-ci-run-list-empty-message

Conversation

@PedroGuerraPT
Copy link
Contributor

@PedroGuerraPT PedroGuerraPT commented Mar 12, 2026

Summary

  • When depot ci run list returns no results without an explicit --status filter, the message now reads "No queued or active runs found. Use --status to view other runs." instead of the generic "No runs found."
  • When a --status filter is explicitly provided, the original "No runs found." message is preserved.

Note

Low Risk
Text-only CLI output change with no impact to API calls, filtering logic, or data handling.

Overview
Improves the empty-state output of depot ci run list when no runs are returned.

If no --status filter is provided, it now explains that the default view only includes queued/running runs and suggests using --status; when --status is specified, it prints a generic “No matching runs found.” message.

Written by Cursor Bugbot for commit ee0600a. This will update automatically on new commits. Configure here.

if len(statuses) == 0 {
fmt.Println("No queued or active runs found. Use --status to view other runs.")
} else {
fmt.Println("No runs found.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: what do you think about "No matching runs found." to make it clear there was a filter passed

@PedroGuerraPT PedroGuerraPT merged commit 4f2273d into main Mar 12, 2026
10 checks passed
@PedroGuerraPT PedroGuerraPT deleted the pedro/fix-ci-run-list-empty-message branch March 12, 2026 18:02
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.

2 participants