Skip to content

[TS PBT] Convert large statement reports after property execution - #695

Open
CaelmBleidd wants to merge 2 commits into
caelmbleidd/pbt-statement-execution-scopefrom
caelmbleidd/pbt-deferred-statement-conversion
Open

CaelmBleidd wants to merge 2 commits into
caelmbleidd/pbt-statement-execution-scopefrom
caelmbleidd/pbt-deferred-statement-conversion

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

The statement pass in #694 bounds parsing on the concrete execution path. A sufficiently large TypeScript module consequently has no statement evidence even when the campaign can afford to process it.

Capture the actual generated code with the existing V8 snapshot and defer statement conversion until the Kotlin client has received the property result. The converter visits only files retained by the primary report and uses the remaining coverage deadline. It publishes a record after each completed file, so a timeout preserves the completed property result and any statement records already written.

Stacked on #694. A public backend regression covers a 20,000-statement TypeScript module, checks the uncovered function, and verifies that an exhausted statement-conversion budget retains the completed property result. The collector test also checks a complete record followed by an interrupted record.

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.

1 participant