Skip to content

fix(engine): report missing dynamic-run programs - #16251

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

fix(engine): report missing dynamic-run programs#16251
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-szyxvmqlywnu

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Represent an unresolved dynamic-run program by its requested filename when
encoding the dynamic action, while retaining the structured lookup error for
execution. Missing programs now produce the normal location-aware
program-not-found diagnostic instead of an assertion failure.

The regression is covered by #16244.

Encode the unresolved program name in dynamic actions instead of asserting.
This lets action execution raise the normal location-aware program-not-found
error covered by the preceding regression test.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg merged commit eed665b into ocaml:main Aug 29, 2026
35 of 36 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Aug 30, 2026
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