Skip to content

Fixed the WorkflowInstanceController to ignore instances of unselected workflows #528

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

cdavernas
Copy link
Member

Many thanks for submitting your Pull Request ❤️!

What this PR does / why we need it:

  • Fixes the WorkflowInstanceController to ignore instances of unselected workflows

Fixes #527

…nces of unselected workflows

Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
@cdavernas cdavernas self-assigned this Jul 22, 2025
@cdavernas cdavernas added type: enhancement New feature or request priority: high Indicates a high priority issue weight: 1 An issue that has a very low development impact app: operator Concerns the Operator labels Jul 22, 2025
@cdavernas cdavernas requested a review from Copilot July 22, 2025 21:25
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a bug in the WorkflowInstanceController where the controller was not properly handling workflow instances that belong to unselected workflows. The fix ensures that when a workflow cannot be retrieved from the cache (indicating it was filtered out by selectors), the associated workflow instances are also ignored.

Key changes:

  • Improved the logic for determining if a workflow instance should be processed by the controller
  • Added explicit handling for cases where the associated workflow is not found in the cache

@cdavernas cdavernas merged commit 2f93d0d into main Jul 22, 2025
2 checks passed
@cdavernas cdavernas deleted the fix-operator-selectors branch July 22, 2025 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app: operator Concerns the Operator priority: high Indicates a high priority issue type: enhancement New feature or request weight: 1 An issue that has a very low development impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operators claim unfiltered workflow instances when selectors are configured
1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy