-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
refactor: minor cleanups in planner code #14642
Conversation
Signed-off-by: Andres Taylor <[email protected]>
Signed-off-by: Andres Taylor <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
if phas.shouldRun(ctx.SemTable.QuerySignature) { | ||
p.current = p.current + 1 | ||
return phas | ||
for { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the old code for this was wrong, and we were hitting some phases twice. didn't really make a noticeable difference in plan outputs, but it took longer than needed to run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
Description
While working on a bugfix, I had to extend the simplifier and improve logging. This shouldn't get backported, so I split it into a separate PR.
Related Issue(s)
#14641
Checklist