Repository navigation
flow: remove unused MAX_REPAIR_TIMING_ITER variable - #4352
Merged
eder-matheus merged 1 commit intoJul 16, 2026
Merged
eder-matheus merged 1 commit into
eder-matheus merged 1 commit into
Conversation
MAX_REPAIR_TIMING_ITER is declared in variables.yaml but read by no flow script. It was added in da116e8 and used on the floorplan_to_place target, but that only consumer was dropped in 547e8c8 ("simplify floorplan_to_place.tcl"), leaving the declaration orphaned — `git grep` finds it only in variables.yaml, its generated variables.json twin, and the generated FlowVariables.md. A hard repair_timing iteration cap is also the wrong lever going forward: the adaptive plateau-stop / -effort direction (The-OpenROAD-Project/OpenROAD#10900) supersedes it. Remove the dead variable rather than leave a knob that does nothing. variables.json and docs/user/FlowVariables.md regenerated with the checked-in flow/scripts/yaml_to_json.py and flow/scripts/generate-variables-docs.py. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request removes the MAX_REPAIR_TIMING_ITER variable and its associated documentation from docs/user/FlowVariables.md, flow/scripts/variables.json, and flow/scripts/variables.yaml. There are no review comments, so I have no feedback to provide.
Collaborator
Author
|
@eder-matheus I think this is a failure on pr-merge, not pr-head as such. |
Collaborator
Author
|
@eder-matheus pr-merge green, ready for review. Never mind pr-head. |
Collaborator
Author
|
@eder-matheus Ping? pr-merge is green... |
eder-matheus
approved these changes
Jul 16, 2026
eder-matheus
merged commit Jul 16, 2026
8c1d221
into
The-OpenROAD-Project:master
7 of 8 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MAX_REPAIR_TIMING_ITERis declared inflow/scripts/variables.yamlbut readby no flow script.
git grepfinds it only invariables.yaml, its generatedvariables.jsontwin, and the generateddocs/user/FlowVariables.md.History: it was added in da116e8 and used on the
floorplan_to_placetarget,but that sole consumer was removed in 547e8c8 ("simplify
floorplan_to_place.tcl"), orphaning the declaration.
A hard
repair_timingiteration cap is also the wrong lever going forward — theadaptive plateau-stop /
-effortdirection (The-OpenROAD-Project/OpenROAD#10900)supersedes it. So this removes the dead variable rather than leaving a knob that
does nothing.
variables.jsonandFlowVariables.mdwere regenerated with the checked-inflow/scripts/yaml_to_json.pyandflow/scripts/generate-variables-docs.py(the yaml-test CI job's
git diff --exit-codechecks pass).