Skip to content

Add workflow__in filter to WorkflowRun endpoint#51

Merged
daviddavis merged 2 commits into
pulp:mainfrom
daviddavis:add-workflow-in-filter
Jul 24, 2026
Merged

Add workflow__in filter to WorkflowRun endpoint#51
daviddavis merged 2 commits into
pulp:mainfrom
daviddavis:add-workflow-in-filter

Conversation

@daviddavis

Copy link
Copy Markdown
Collaborator

Added an in lookup to the WorkflowRun workflow filter (workflow__in) so the runs for several workflows can be fetched in a single list request.

Copilot AI review requested due to automatic review settings July 23, 2026 19:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds support for batch-filtering WorkflowRun records by multiple workflows in a single request, improving efficiency when clients need run history across several workflows.

Changes:

  • Extended WorkflowRunFilter to allow workflow__in lookups (in addition to workflow exact matching).
  • Updated filter documentation in WorkflowRunFilter to describe the new workflow__in usage.
  • Added a towncrier changelog fragment describing the feature.

Reviewed changes

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

File Description
pulp_workflow/app/viewsets.py Enables workflow__in filtering for WorkflowRun list endpoints via the shared filterset.
CHANGES/+workflow-in-filter.feature Documents the new workflow__in filter capability in the changelog.

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

Comment thread CHANGES/+workflow-in-filter.feature Outdated
Comment thread pulp_workflow/app/viewsets.py
acheng-01
acheng-01 previously approved these changes Jul 23, 2026
@daviddavis
daviddavis force-pushed the add-workflow-in-filter branch from bdf10d3 to 8fd80eb Compare July 23, 2026 20:26
Copilot AI review requested due to automatic review settings July 23, 2026 20:26
Assisted-by: GitHub Copilot (Claude Opus 4.8)
@daviddavis
daviddavis force-pushed the add-workflow-in-filter branch from 8fd80eb to 97f011a Compare July 23, 2026 20:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Copilot AI review requested due to automatic review settings July 23, 2026 20:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

Copilot AI review requested due to automatic review settings July 23, 2026 20:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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.

@daviddavis
daviddavis merged commit ab2cc08 into pulp:main Jul 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants