Skip to content

update sta bazel runfile skip and openroad's claude.md to relax sta c…#10224

Merged
maliberty merged 2 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:update_or_sta_bazel_claudemd
Apr 21, 2026
Merged

update sta bazel runfile skip and openroad's claude.md to relax sta c…#10224
maliberty merged 2 commits intoThe-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:update_or_sta_bazel_claudemd

Conversation

@openroad-ci
Copy link
Copy Markdown
Collaborator

Update OpenROAD with latest STA (the pointer didnt get updated post merge in sta) and relax claude.md to let me develop in src/sta

Summary

update sta pointer to OpenSTA master and relax CLAUDE.md

Type of Change

  • New feature

Impact

No need to have runfiles in bazel now

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have run the relevant tests and they pass.
  • My code follows the repository's formatting guidelines.
  • I have signed my commits (DCO).

Related Issues

[Link issues here]

…hange

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Copy link
Copy Markdown
Contributor

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

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 updates the documentation in AGENTS.md to relax the restriction on modifying src/sta/ files and updates the src/sta submodule reference. A review comment suggests retaining the architectural context regarding preferred locations for fixes, such as src/dbSta/ or src/rsz/, to provide better guidance for AI agents.

Comment thread AGENTS.md Outdated
## Critical Rules

1. **Never modify `src/sta/` files** -- OpenSTA is managed upstream (`Sdc.cc`, `Power.cc`, `Sdc.tcl`, etc.). **Only test files may be modified.** All fixes must be in OpenROAD code (e.g., `src/dbSta/`, `src/rsz/`). If OpenSTA code change is inevitable, notify user. Exception: you *may* modify `src/sta/` files temporarily for **debugging purposes** only.
1. **Ask before modifying `src/sta/` files** -- OpenSTA is managed upstream (`Sdc.cc`, `Power.cc`, `Sdc.tcl`, etc.).
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.

medium

While relaxing the restriction on modifying src/sta/ files, removing the guidance on where fixes should ideally be placed (e.g., src/dbSta/ or src/rsz/) loses valuable architectural context for the AI agent. Retaining this information helps the agent suggest more appropriate solutions before defaulting to submodule modifications.

Suggested change
1. **Ask before modifying `src/sta/` files** -- OpenSTA is managed upstream (`Sdc.cc`, `Power.cc`, `Sdc.tcl`, etc.).
1. Ask before modifying src/sta/ files -- OpenSTA is managed upstream (Sdc.cc, Power.cc, Sdc.tcl, etc.). Prefer fixes in OpenROAD code (e.g., src/dbSta/, src/rsz/) when possible.

@dsengupta0628 dsengupta0628 requested a review from maliberty April 21, 2026 18:04
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty maliberty enabled auto-merge April 21, 2026 18:16
@maliberty maliberty merged commit 5f1bd87 into The-OpenROAD-Project:master Apr 21, 2026
16 checks passed
@maliberty maliberty deleted the update_or_sta_bazel_claudemd branch April 21, 2026 18:49
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.

3 participants