Skip to content

[Calls] Replay returned callable scenarios in Node - #648

Draft
CaelmBleidd wants to merge 3 commits into
caelmbleidd/ts-lifecycle-entry-plannerfrom
caelmbleidd/calls-returned-callable-replay
Draft

CaelmBleidd wants to merge 3 commits into
caelmbleidd/ts-lifecycle-entry-plannerfrom
caelmbleidd/calls-returned-callable-replay

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Allow a class-probe manifest to opt into automatic lifecycle entries. Keep the source coverage universe tied to the original class. Journal the constructor, factory and callable argument partitions together with explicit evidence that the callable body was entered.

class-replay-lifecycle replays a journal candidate against the frozen sources under Node.js and compares the tagged return value. Generated input doubles are opt-in, check receiver identity, arguments and call order, and require the complete transcript. Reports have distinct validation fields for original-input and generated-double execution. Unrestored source bindings and unrepresentable returned values remain explicit limitations.

Local verification with JDK 21, Node 22 and JacoDB 4251d2023d built from source: 25 Calls tests passed across CallsClassReturnedCallableReplayTest, CallsReturnedCallableJournalTest and CallsClassStartSmokeTest, including the Node execution paths. The draft targets the automatic lifecycle planner branch.

@github-advanced-security github-advanced-security AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/calls-returned-callable-replay branch from 17da75c to df03782 Compare December 2, 2026 20:07
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-lifecycle-entry-planner branch from 1fddcda to 2938f8d Compare December 2, 2026 20:07
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.

2 participants