Repository navigation
[TS] Preserve analysis work across bounded phases - #546
Closed
CaelmBleidd wants to merge 1 commit into
Closed
CaelmBleidd wants to merge 1 commit into
CaelmBleidd wants to merge 1 commit into
Conversation
Member
Author
|
Closing as not planned after the two-phase scope agreed in #345: one PBT generation phase followed by one uninterrupted USVM search needs no resumable core session. The only identified product consumer was #549, which is already closed; no open PR currently depends on this branch or references an independent consumer. This does not mark #481 complete. The branch and commits are preserved, as are the historical experimental checkouts. |
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.
Pausing TypeScript analysis previously left no supported way to continue its pending queue. Add
TsMachine.openAnalysis(...).advance(maxSteps = ...)so one property can yield between feedback rounds while retaining its states, solver models, coverage, collectors and cumulative limits. Existing analysis entry points execute one uninterrupted advance through the same implementation.Bounded phases currently support one runnable entry point. Multi-entry analysis remains available without phase yields; its existing time-based fairness is not advertised as resumable. One session owns the machine at a time, including preparation callbacks. Closing the session discards pending work, closing the machine invalidates the session, and an exceptional advance cannot be resumed. Completed analyses return their previous snapshot without executing again.
Validation on Java 11 / Node 22:
git diff --checkis clean.25f663469ad27929f41fe55146b8736762465210: 1,739 tests, 1,600 passed, 139 existing skips, no failures or errors.Refs #481. This is the reusable execution primitive. PBT evidence admission, changes to pending target selection and the repeated generation/search loop are separate integrations; this PR does not complete #481 or establish experimental benefit. Benchmark campaigns remain paused.