Skip to content

fix(engine): retain action builder memo names - #16246

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-xwkzqlyzzpvx
Aug 29, 2026
Merged

fix(engine): retain action builder memo names#16246
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-xwkzqlyzzpvx

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Action_builder.memoize accepts a caller-provided name but currently discards it
in favor of generic labels shared by every action builder.

Retain the supplied name and append phase-specific suffixes, restoring useful
identities in memo diagnostics while keeping lazy and eager evaluations distinct.

Use the caller-provided memo name for both lazy and eager evaluations instead
of assigning every action builder the same generic labels. This restores useful
memo diagnostics without changing memoization behavior.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg merged commit f71d5bf into ocaml:main Aug 29, 2026
37 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant