Skip to content

test(pkg): reproduce duplicate platform failures - #16041

Draft
Alizter wants to merge 2 commits into
ocaml:mainfrom
Alizter:push-kvqqtqpqllto
Draft

test(pkg): reproduce duplicate platform failures#16041
Alizter wants to merge 2 commits into
ocaml:mainfrom
Alizter:push-kvqqtqpqllto

Conversation

@Alizter

@Alizter Alizter commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Stacked on the pre-feature package-management work and independent of the other joint-solver regression branches.

Summary

  • Record the current duplicate-result merge failure when a requested platform appears twice.
  • Record that failed per-platform solving reports the duplicate platform twice.

The joint solver in #15982 deduplicates the requested platform set and updates these expectations.

Checks

  • dune runtest test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-duplicate-platforms.t
  • CI=true dune build @fmt @check

Signed-off-by: Ali Caglayan <alizter@gmail.com>
Record the duplicate-result merge failure and repeated failure diagnostics before joint solving deduplicates requested platforms.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter added package management Dune's package management — `(pkg)` stanza, lockdirs, `dune pkg` commands no changelog labels Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog package management Dune's package management — `(pkg)` stanza, lockdirs, `dune pkg` commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant