Skip to content

refactor: move build polling loop to dune_engine#14618

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-upslwuspyzyz
May 21, 2026
Merged

refactor: move build polling loop to dune_engine#14618
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-upslwuspyzyz

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

Move the watch-mode build loop from Scheduler.Run into a new Dune_engine.Build_loop module. Keep scheduler-owned state behind a narrow Scheduler.Build_loop adapter so the change remains mechanical and preserves existing behavior.

Update build, exec, and scheduler tests to call the new build-loop API.

@rgrinberg rgrinberg force-pushed the push-upslwuspyzyz branch 4 times, most recently from 5657d18 to 910503e Compare May 20, 2026 22:45
Move the watch-mode build loop from Scheduler.Run into a new
Dune_engine.Build_loop module. Keep scheduler-owned state behind a narrow
Scheduler.Build_loop adapter so the change remains mechanical and preserves
existing behavior.

Update build, exec, and scheduler tests to call the new build-loop API.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg rgrinberg force-pushed the push-upslwuspyzyz branch from 910503e to df8cde0 Compare May 21, 2026 09:00
@rgrinberg rgrinberg merged commit 9c054a2 into ocaml:main May 21, 2026
31 checks passed
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