Skip to content

Check that required TypeScript sources reach the probe IR - #657

Draft
CaelmBleidd wants to merge 1 commit into
caelmbleidd/calls-class-source-driverfrom
caelmbleidd/calls-verify-source-emission
Draft

CaelmBleidd wants to merge 1 commit into
caelmbleidd/calls-class-source-driverfrom
caelmbleidd/calls-verify-source-emission

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

A class probe may freeze a whole project source graph while a TypeScript configuration names only its entry file. In that setup a project method can have a known signature while its body is absent from emitted IR, which affects call-resolution statistics.

Add an optional requiredIrSources set to the case. Every required source must be a frozen input. Before loading the scene, the probe checks the generated or cached IR for those paths. A failure names missing files and retains the frontend identity for diagnosis. Cases that leave the field empty keep their existing behavior. The same frozen output can serve different verification policies.

The two-file source test exercises entry-only compilation, a cache hit with stricter requirements, full emission and an unfrozen input. Tested alongside class startup and frontend timeout tests. Review after #644.

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