Skip to content

[3.24.2] backport #15632 and #15634 - #15664

Merged
Alizter merged 2 commits into
ocaml:3.24.2-rcfrom
Alizter:backport-15632
Aug 3, 2026
Merged

Alizter merged 2 commits into
ocaml:3.24.2-rcfrom
Alizter:backport-15632

Conversation

@Alizter

@Alizter Alizter commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Backport the RPC registry regression test from #15632 and its fix from #15634 onto 3.24.2-rc.

The commits remain separate and in test-before-fix order.

Fixes #15630 for Dune 3.24.2.

Add a deterministic RPC registry polling test with controlled IO. The
test polls an empty registry, adds a valid entry while changing the
directory mtime, and records that the changed and subsequent polls
neither rescan nor discover the entry.

Signed-off-by: Rudi Grinberg <[email protected]>
(cherry picked from commit 6976614)
Signed-off-by: Ali Caglayan <[email protected]>
## Description

Skip RPC registry scans only when the directory mtime is unchanged, and
record each newly observed mtime. This allows clients that poll before
Dune registers to discover the new registry entry while avoiding
repeated scans afterward.

## Related Issue and Motivation

Fixes ocaml#15630. The regression test was added in ocaml#15632.

## Checklist

- [x] Tests added in ocaml#15632.
- [x] Change log entry added.
- [x] Documentation is not applicable to this bug fix.

Signed-off-by: Rudi Grinberg <[email protected]>
@Alizter
Alizter merged commit 9a8f3ae into ocaml:3.24.2-rc Aug 3, 2026
30 of 31 checks passed
@Alizter
Alizter deleted the backport-15632 branch August 3, 2026 09:53
Alizter added a commit that referenced this pull request Aug 3, 2026
Generate the 3.24.2 section of `CHANGES.md` from the two release
backport fragments and remove the consumed fragments.

The backports landed in #15664 and #15665, so this PR now contains only
the generated changelog change. The release date is set to 2026-08-03.

Validation:

- `bash -n doc/changes/scripts/build_changelog.sh`
- `shellcheck -s bash doc/changes/scripts/build_changelog.sh`
- checked the generated 3.24.2 section for lines over 80 columns
- confirmed no release fragments remain under `added`, `changed`, or
`fixed`
@Alizter Alizter added this to the 3.24.2 milestone Aug 4, 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