Skip to content

fix(sv)!: give reports the time they are issued at - #1881

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce
Oct 26, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce

Conversation

@tignear

@tignear tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Store the issuing simulation time in severity report records, so draining several slots together preserves each report's original time. Keep timestamp arguments out of formatted messages and combinational sensitivity. RuntimeEventSite gains timestamp_arg; the native image container version is 44.

Settle pending combinational reports before leaving their time, including when no event is scheduled. A $finish or $fatal during that settle runs final procedures and leaves the simulation at its termination time. Propagate terminal halts through the host boundary, preserve the original fatal diagnostic, and allow a $stop in a final procedure to suspend and resume without advancing time.

Regression coverage exercises run_until, step, advance_to and bounded runs, with and without later clocks/report watching, across interpreter, native, Cranelift and WASM. The new regressions reproduced missing termination/finalization before the review fix.

Validation: report, VCD, stop/resume and deferred-assertion integration tests (181 passed); celox/runtime unit tests (308 passed); formatting and affected-crate all-targets Clippy with -D warnings.

Depends-On: #1880

@tignear

tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(sv): support $sampled in processes #1879
2 feat(sv): support $past and the value change functions in clocked processes #1880
3 fix(sv)!: give reports the time they are issued at #1881 👈
4 feat(sv): extend sampled values and inferred history clocks #1882

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 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-26T09:59:22.388500Z 3837df4 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: c8a5075650

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

@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 21159a7 to 166ae72 Compare October 24, 2026 11:06
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from c8a5075 to 04fd5ce Compare October 24, 2026 11:06
@tignear

tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial c8a5075 2026-10-24 11:03 UTC
2 content c8a5075 → 04fd5ce Review: settle lazily evaluated logic before the step of every later slot, also for step(); container version 38 2026-10-24 11:03 UTC
3 rebase 04fd5ce → 3711ca3 (rebase only) 2026-10-24 12:11 UTC
4 content 3711ca3 → 41b3f6d 2026-10-24 18:21 UTC
5 rebase 41b3f6d → 094d050 (rebase only) 2026-10-24 21:36 UTC
6 rebase 094d050 → f7cbbed (rebase only) 2026-10-25 04:27 UTC
7 rebase f7cbbed → 9adae9b (rebase only) 2026-10-25 05:14 UTC
8 rebase 9adae9b → 55271ff (rebase only) 2026-10-25 06:02 UTC
9 rebase 55271ff → 2caed8e (rebase only) 2026-10-25 06:58 UTC
10 rebase 2caed8e → 0de1883 (rebase only) 2026-10-25 08:25 UTC
11 rebase 0de1883 → 7961404 (rebase only) 2026-10-25 08:57 UTC
12 rebase 7961404 → d9cedfc (rebase only) 2026-10-25 09:46 UTC
13 rebase d9cedfc → 6b81a3d (rebase only) 2026-10-25 09:59 UTC
14 content 6b81a3d → 62ea34a 2026-10-25 10:06 UTC
15 content 62ea34a → 18e1cec Rebase on merged fork/process control and advance the timestamped-report image version above its updated base. 2026-10-26 09:01 UTC
16 content 18e1cec → 24e45cf Use the actual Cranelift backend for report and terminal-settle regression coverage. 2026-10-26 09:25 UTC
17 rebase 24e45cf → 3837df4 (rebase only) 2026-10-26 09:56 UTC

@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 166ae72 to be7cf52 Compare October 24, 2026 12:12
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 04fd5ce to 3711ca3 Compare October 24, 2026 12:12

@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: 3711ca398c

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

Comment thread crates/celox/src/simulator.rs Resolved
@mergify

mergify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

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

@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from be7cf52 to 89ed237 Compare October 24, 2026 18:24
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 3711ca3 to 41b3f6d Compare October 24, 2026 18:24
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 89ed237 to 5905b6c Compare October 24, 2026 21:38
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch 2 times, most recently from 094d050 to f7cbbed Compare October 25, 2026 04:28
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 5905b6c to 1f9c849 Compare October 25, 2026 04:28
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 1f9c849 to 5aa80ce Compare October 25, 2026 05:15
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from f7cbbed to 9adae9b Compare October 25, 2026 05:15
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 5aa80ce to f433326 Compare October 25, 2026 06:02
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 55271ff to 2caed8e Compare October 25, 2026 06:59
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch 2 times, most recently from 0cb546c to 5cb9294 Compare October 25, 2026 08:28
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 2caed8e to 0de1883 Compare October 25, 2026 08:28
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 5cb9294 to 1721bbf Compare October 25, 2026 08:57
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch 2 times, most recently from 7961404 to d9cedfc Compare October 25, 2026 09:46
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 1721bbf to 1d8d8c5 Compare October 25, 2026 09:46
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from d9cedfc to 6b81a3d Compare October 25, 2026 09:59
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 1d8d8c5 to f22d926 Compare October 25, 2026 09:59

@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: 6b81a3d5b4

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

@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 6b81a3d to 62ea34a Compare October 25, 2026 10:07

@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: 62ea34a36f

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

Comment thread crates/celox/src/simulation.rs Resolved
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from f22d926 to bf580f9 Compare October 26, 2026 09:02
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 62ea34a to 18e1cec Compare October 26, 2026 09:02
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from bf580f9 to 67240c9 Compare October 26, 2026 09:26
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 18e1cec to 24e45cf Compare October 26, 2026 09:26
Store the issuing simulation time in severity report records, so draining several slots together preserves each report's original time. Keep timestamp arguments out of formatted messages and combinational sensitivity. RuntimeEventSite gains timestamp_arg; the native image container version is 44.

Settle pending combinational reports before leaving their time, including when no event is scheduled. A $finish or $fatal during that settle runs final procedures and leaves the simulation at its termination time. Propagate terminal halts through the host boundary, preserve the original fatal diagnostic, and allow a $stop in a final procedure to suspend and resume without advancing time.

Regression coverage exercises run_until, step, advance_to and bounded runs, with and without later clocks/report watching, across interpreter, native, Cranelift and WASM. The new regressions reproduced missing termination/finalization before the review fix.

Validation: report, VCD, stop/resume and deferred-assertion integration tests (181 passed); celox/runtime unit tests (308 passed); formatting and affected-crate all-targets Clippy with -D warnings.

Change-Id: I865a9dced4edb57838192ef0ed22fc22618d835a
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c branch from 67240c9 to f1a6efb Compare October 26, 2026 09:57
@tignear
tignear force-pushed the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch from 24e45cf to 3837df4 Compare October 26, 2026 09:57
@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 26, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 26, 2026
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 5 minutes in the queue, including 37 minutes 7 seconds running CI.

Required conditions to merge

Base automatically changed from stack/tignear/feat/sva-stage1/support-past-value-change-funcs-clocked-processes--8980d66c to master October 26, 2026 11:41
@mergify
mergify Bot merged commit 9017663 into master Oct 26, 2026
25 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/sva-stage1/give-reports-time-they-issued--865a9dce branch October 26, 2026 11:43
@mergify mergify Bot removed the queued Mergify queue entry label Oct 26, 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