Skip to content

rsz: Honor max iterations across setup endpoints#10947

Open
jhkim-pii wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-fix-max-iter
Open

rsz: Honor max iterations across setup endpoints#10947
jhkim-pii wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-fix-max-iter

Conversation

@jhkim-pii

Copy link
Copy Markdown
Contributor

Stop the legacy setup repair loop before starting another endpoint once the configured global iteration limit is reached.

The endpoint-local check allowed one extra iteration for each remaining endpoint, so a limit of 20 could report 65 iterations.

Reuse reachedIterationLimit in the outer endpoint loop and rebase the affected regression outputs.

Signed-off-by: Jaehyun Kim <jhkim@precisioninno.com>
@jhkim-pii jhkim-pii self-assigned this Jul 18, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a check in SetupLegacyPolicy::runMainRepairLoop to stop processing new endpoints once the global iteration limit is reached. This prevents unnecessary iterations and is reflected in the updated test outputs for repair_setup_crit_vt_asap7 and repair_setup_max_iter. There are no review comments, and I have no feedback to provide.

@jhkim-pii

Copy link
Copy Markdown
Contributor Author

@codex review

@jhkim-pii
jhkim-pii marked this pull request as ready for review July 18, 2026 14:09
@jhkim-pii
jhkim-pii requested a review from a team as a code owner July 18, 2026 14:09
@jhkim-pii
jhkim-pii requested a review from povik July 18, 2026 14:09
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: d8a0a262ce

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RSZ: parameter -max_iterations is not working properly

1 participant