Skip to content

Continue completed simulations into linked runs (#12) - #436

Merged
andeplane merged 1 commit into
mainfrom
feat/12-continue-run
Sep 11, 2026
Merged

Continue completed simulations into linked runs (#12)#436
andeplane merged 1 commit into
mainfrom
feat/12-continue-run

Conversation

@andeplane

Copy link
Copy Markdown
Owner

A completed simulation can now continue from its live engine state for a chosen number of additional timesteps. The continuation gets a new linked run and preserves the parent's inputs and outputs. It copies the parent's input snapshot even if the working tree has changed, and retains the existing engine directory so open dumps and fixes continue correctly.

Continue is available only for the last completed simulation still loaded in this browser session. A saved full-sequence input recipe lets the continuation be replayed after reload. Invalid/stale continuation requests are rejected before allocating a run or resetting the engine.

Closes #12.

Validation: typecheck, 473 unit tests, production build, and a real-engine browser regression: a moving atom advances from step 10 to 30 (x=1.1 to x=1.3), the parent's trajectory stays byte-identical, and the full sequence replays after reload despite an invalid edit in the working tree. Store integration tests verify stale/invalid request guards, parent input preservation, and that continuation never calls engine start/reset.

@andeplane
andeplane merged commit aecf2ac into main Sep 11, 2026
2 checks passed
@andeplane
andeplane deleted the feat/12-continue-run branch September 11, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Let user continue simulation

1 participant