Skip to content

Add pending and dependent status filters#505

Merged
sb10 merged 2 commits into
developfrom
490
Jun 20, 2026
Merged

Add pending and dependent status filters#505
sb10 merged 2 commits into
developfrom
490

Conversation

@sb10

@sb10 sb10 commented Jun 20, 2026

Copy link
Copy Markdown
Member

Address #490

Copilot AI review requested due to automatic review settings June 20, 2026 09:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds wr status filtering options requested in Issue #490, enabling users to narrow status output to jobs in “pending” (ready) and “dependent” states, consistent with existing --running / --buried filtering.

Changes:

  • Add --pending and --dependent flags to wr status, mapping to JobStateReady and JobStateDependent.
  • Add an integration-style test that starts an in-process jobqueue server and asserts state-filtered wr status -o counts output.
  • Add a bugfix note documenting the change.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
cmd/status.go Adds new CLI flags and maps them into the existing state-filter path.
cmd/status_test.go Adds coverage for the new filters using a real server + wr status execution path.
.docs/bugfixes/260620-1.md Documents the bugfix/work item for the new filters.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cmd/status.go Outdated
Comment thread cmd/status_test.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@sb10 sb10 merged commit 61c5ea4 into develop Jun 20, 2026
3 checks passed
@sb10 sb10 deleted the 490 branch June 20, 2026 10:09
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