Skip to content

test(engine): cover missing dynamic-run programs - #16244

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

test(engine): cover missing dynamic-run programs#16244
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-ppzutnumpsuo

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

A missing executable in dynamic-run currently reaches an assertion while
encoding the action instead of producing the usual program-not-found diagnostic.

Record that behavior in the action-plugin cram suite. A follow-up change will
replace the assertion and update the expectation.

Add a dynamic-run action whose executable cannot be resolved. The expected
assertion records the current internal failure so a subsequent fix can update
it to the standard program-not-found diagnostic.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg merged commit 7cde996 into ocaml:main Aug 29, 2026
37 of 38 checks passed
rgrinberg added a commit that referenced this pull request Aug 29, 2026
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.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
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