test: deterministic replay non-regression for anytime nodes - #1239
Open
Scofield626 wants to merge 4 commits into
Open
test: deterministic replay non-regression for anytime nodes#1239Scofield626 wants to merge 4 commits into
Scofield626 wants to merge 4 commits into
Conversation
|
Hi! Thanks for opening this pull request. Because this is your first time contributing to this repository, please read our contributor guide: |
gbin
requested changes
Jul 31, 2026
gbin
left a comment
Collaborator
There was a problem hiding this comment.
this is a noop test in terms of determinism.
Records 64 copperlists twice, resims the stream, then resims again from a mid-stream keyframe. Counters on base/refine pin that the quanta really run; the old call path leaves them at zero.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a non-regression test proving the anytime runner (#1232) did not break deterministic replay.
An anytime node compiles to a base step plus
max_refinesrefine steps, and each of those steps reads the clock, stamps status text and (for the base step) freezes the task. That is a lot of new emitted code around the parts replaydepends on, and nothing covered it so far.
core/cu29_runtime/tests/replay_anytime.rsbuilds a small sim app —src -> planner -> smoother -> sink— whereplanneris a scored anytime node (max_age_ms+quality_target+max_refines) andsmootheris aquality-less one (
max_refinesonly), so the test covers the DOA age check, the per-quantum clock reads, an early quality stop, and a stop by plan position.