Skip to content

fix(sv): reject waits on class properties that never wake - #2434

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-reject-heap-waits/reject-waits-class-props-never-wake--26ce16ec
Oct 28, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-reject-heap-waits/reject-waits-class-props-never-wake--26ce16ec

Conversation

@tignear

@tignear tignear commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

A wait (cond) whose condition reads a class property compiled, but its
wait site watched only module variables: a write of the property did not
wake the process. wait (m_state >= s) in a class task, as UVM writes
it, waited forever although another process satisfied it.

Such a wait now gets the explicit unsupported diagnostic that event
expressions reading a property already get. This covers a property read
through this, through a handle, through a called function, and a
container held in a property. Static properties are module variables and
keep working; a new case covers a wait on one. Waits that do not read the
class object heap are unchanged.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T12:24:53.437824Z 1337a5c New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5d248dc1fb

ℹ️ 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".

A `wait (cond)` whose condition reads a class property compiled, but its
wait site watched only module variables: a write of the property did not
wake the process. `wait (m_state >= s)` in a class task, as UVM writes
it, waited forever although another process satisfied it.

Such a wait now gets the explicit unsupported diagnostic that event
expressions reading a property already get. This covers a property read
through `this`, through a handle, through a called function, and a
container held in a property. Static properties are module variables and
keep working; a new case covers a wait on one. Waits that do not read the
class object heap are unchanged.

Change-Id: I26ce16ece6e5411e9e668b1e83eee48ae5bf96c6
@tignear
tignear force-pushed the stack/tignear/fix/sv-reject-heap-waits/reject-waits-class-props-never-wake--26ce16ec branch from 5d248dc to 1337a5c Compare October 28, 2026 12:22
@tignear

tignear commented Oct 28, 2026

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 5d248dc 2026-10-28 12:21 UTC
2 content 5d248dc → 1337a5c 2026-10-28 12:21 UTC

@mergify

mergify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 28, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 28, 2026
@mergify

mergify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as b288a87 at 14:38 UTC

1 h 16 min in the queue, 1 h 14 min of it CI.

So far

Merge conditions: 7 of 7 met

The batch, tested on draft #2448

Condition Required by
✅ check-success = Conventional Commit title —
✅ check-success = Queue validation —
✅ any of: check-success = @github-actions/Lint & Format, check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Rust Test & NAPI Build, check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/JS Test (Ubuntu), check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Conventional Commit title, check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Queue validation, check-neutral = @github-actions/Queue validation, check-skipped = @github-actions/Queue validation GitHub repository ruleset rule master

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit b288a87 into master Oct 28, 2026
23 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/sv-reject-heap-waits/reject-waits-class-props-never-wake--26ce16ec branch October 28, 2026 14:38
@mergify mergify Bot removed the queued Mergify queue entry label Oct 28, 2026
@github-actions github-actions Bot mentioned this pull request Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant