Skip to content

Fix: Require the cache for upstream deps in the scheduler#5571

Merged
izeigerman merged 1 commit intomainfrom
fix-require-upstream-cache-in-scheduler
Oct 31, 2025
Merged

Fix: Require the cache for upstream deps in the scheduler#5571
izeigerman merged 1 commit intomainfrom
fix-require-upstream-cache-in-scheduler

Conversation

@izeigerman
Copy link
Contributor

The cache or {} expression also returns a new empty dict if the cache value itself is an empty dict. So it basically ignored the value passed by the caller in the _dag method.

@izeigerman izeigerman requested review from a team and Copilot October 31, 2025 03:45
Copy link
Contributor

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 refactors the _find_upstream_dependencies method to make the cache parameter required instead of optional, removing the fallback initialization logic.

  • Changed the cache parameter from optional to required
  • Removed the cache = cache or {} initialization line

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

@izeigerman izeigerman merged commit a1b21e3 into main Oct 31, 2025
42 checks passed
@izeigerman izeigerman deleted the fix-require-upstream-cache-in-scheduler branch October 31, 2025 15:05
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.

3 participants