Skip to content
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

Add exclude_dependents to the exclude block #3823

Open
1 task done
yhakbar opened this issue Jan 30, 2025 · 0 comments
Open
1 task done

Add exclude_dependents to the exclude block #3823

yhakbar opened this issue Jan 30, 2025 · 0 comments
Labels
enhancement New feature or request preserved Preserved issues never go stale

Comments

@yhakbar
Copy link
Collaborator

yhakbar commented Jan 30, 2025

Describe the enhancement

In addition to allowing dependencies to be excluded from the run queue when users set exclude_dependencies to true in the exclude block, allow dependents to be excluded when a unit sets exclude_dependents to true.

This should be a recursive exclusion, so all descendant dependents should be excluded in addition to the unit being excluded when exclude_dependents is true.

Additional context

A complicating factor for this feature is the fact that units might not necessarily have context for their dependents when being parsed.

We need to make sure that dependents can be identified before a unit can exclude its dependents.

RFC Not Needed

  • I have evaluated the complexity of this enhancement, and I believe it does not require an RFC.
@yhakbar yhakbar added enhancement New feature or request preserved Preserved issues never go stale labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preserved Preserved issues never go stale
Projects
None yet
Development

No branches or pull requests

1 participant