Skip to content

test(pkg): preserve single-platform SAT problem size - #16003

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-mszuvszlxoor
Aug 17, 2026
Merged

test(pkg): preserve single-platform SAT problem size#16003
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-mszuvszlxoor

Conversation

@Alizter

@Alizter Alizter commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a trace-based regression for a lock directory with exactly one requested platform.
  • Assert the exact SAT problem size for a fixed one-package input: two variables and two clauses.
  • Guard against adding cross-platform consistency encoding to the single-platform path.

This is an independent test-only performance baseline for the joint-solver work in #15982.

Tests

  • nix develop -c dune runtest test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-single-platform-sat-size.t
  • CI=true nix develop -c dune build @fmt @check

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 17, 2026
@Alizter
Alizter merged commit 4fd6e46 into ocaml:main Aug 17, 2026
37 of 40 checks passed
@Alizter
Alizter deleted the push-mszuvszlxoor branch August 17, 2026 17:27
@Alizter
Alizter restored the push-mszuvszlxoor branch August 17, 2026 17:54
@Alizter Alizter added this to the 3.25.0 milestone 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