Skip to content

[rocjitsu][DBI] Move patch gate out and make it test-only - #14388

Merged
accauble merged 2 commits into
developfrom
users/accauble/rj-dbi-patch-gates
Oct 27, 2026
Merged

accauble merged 2 commits into
developfrom
users/accauble/rj-dbi-patch-gates

Conversation

@accauble

Copy link
Copy Markdown
Contributor

Motivation

patch is a wrapper for patch_with_debug_summaries. In PR #13292, it started to become a convenient place to put gates around instrumentation but have tests avoid them, but this was never the intended design. This PR adds a test-only setting for patch_with_debug_summaries so that the instrumentation gates can fall in one place and the tests can still by-pass the gates.

@github-actions github-actions Bot added documentation Improvements or additions to documentation project: rocjitsu labels Oct 27, 2026
@therock-pr-bot

therock-pr-bot Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🔎 pre-commit ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —
🤖 therock-pr-bot ✅ Pass —

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

@therock-pr-bot

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@accauble
accauble marked this pull request as ready for review October 27, 2026 17:30
@accauble
accauble requested review from a team and atgutier as code owners October 27, 2026 17:30
@accauble
accauble requested a review from hanhanW October 27, 2026 17:30

@kuhar kuhar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One thing I noticed

@accauble
accauble requested a review from kuhar October 27, 2026 19:20

@kuhar kuhar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@accauble
accauble merged commit 7b8c0de into develop Oct 27, 2026
64 checks passed
@accauble
accauble deleted the users/accauble/rj-dbi-patch-gates branch October 27, 2026 20:19
@github-actions

Copy link
Copy Markdown
Contributor

rocjitsu post-commit fuzz passed

The 32-worker multiplexer campaigns for commit 7b8c0de64324 completed without recording a crash or hang.

  • ASan+UBSan (6-minute): 639,579 input executions (1,811.82 inputs/s)
  • TSan (6-minute): 598,167 input executions (1,704.66 inputs/s)

View the workflow run.

ywang103-amd pushed a commit that referenced this pull request Oct 28, 2026
## Motivation

`patch` is a wrapper for `patch_with_debug_summaries`. In PR #13292, it
started to become a convenient place to put gates around instrumentation
but have tests avoid them, but this was never the intended design. This
PR adds a test-only setting for `patch_with_debug_summaries` so that the
instrumentation gates can fall in one place and the tests can still
by-pass the gates.
@systems-assistant

Copy link
Copy Markdown
Contributor

TheRock Submodule Bump Activity

Newest first

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

Labels

documentation Improvements or additions to documentation organization: ROCm project: rocjitsu

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants