Skip to content

merge queue: checking #2168 + #2170 together on master (9ad5492), stacked on #2167 - #2173

Closed
mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/abc6b798e8
Closed

mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/abc6b798e8

Conversation

@mergify

@mergify mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch amusing-livaro-rl5oxm of the changes queue, to test #2168 and #2170 before they merge into master. Pushing to this branch or closing this pull request removes them from the queue.

What this draft tests

Mergify checks that #2168 and #2170 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:

  1. master at 9ad5492
  2. the pull request queued ahead of this batch, listed below, which brings the tip to dd64751
  3. #2168 + #2170, the pull requests of this batch, tested together as one tip

The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.

🎉 Where it stands: checks passed

CI passed on this draft.

Follow the changes queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #2168 and #2170 into master and closes this draft.
  • If a pull request ahead fails or leaves the queue without merging, this batch is requeued and checked again on a new draft: these checks assumed it would merge.

Tip

A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the pull request ahead, so a failure here can come from it as much as from #2168 + #2170. See only this batch's changes.

Queued ahead of this batch

This pull request entered the queue before this batch and is not part of it.

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: dd64751b86ba141bd9cb31212a5c56b6287f8dcb
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2168
    scopes:
      - core
  - number: 2170
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#2168 [⛓️ feat(aplite): add reproducible seeded scalar model search #2168]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
Required conditions to stay in the queue
Queue graph

The diagram is not laid out in queue order, so a node's position says nothing about when it merges.

graph LR
    8de958f863e644c2bef6270269c27279["amusing-livaro-rl5oxm<br/>#2168 + #2170<br/>scopes: core"]
    f4589e12df3548ffafba74307cac5dbd["monetary-navet-d6u5p4<br/>#2175 + #2171<br/>scopes: core"]
    8de958f863e644c2bef6270269c27279 --> f4589e12df3548ffafba74307cac5dbd
    style 8de958f863e644c2bef6270269c27279 fill:#6366f1,color:#fff
Loading

tignear and others added 6 commits October 27, 2026 01:26
Make lydite's existing finite solver usable as the standalone aplite crate, starting at 0.1.0 in the same Cargo workspace. Move the Boolean/bit-vector/array solver and expression IR without algorithm changes; keep lydite's public paths through re-exports and leave proof construction, structural proof rules and the external Z3 route with lydite. Preserve source provenance collection and the direct Rust memory-rule checker after the move.

Give Aplite independent release-please configuration, component tags, changelog and version checks. Exclude its own paths from the Celox release and retain the existing Celox publisher's package set. Run Aplite tests directly in the Lydite CI lane, including changes to its doctests and private tests. Publish Aplite independently through crates.io Trusted Publishing after its reviewed release PR merges. Dispatch the dedicated workflow at the component release tag, validate release identity and standalone packaging, and skip already published versions on retries. The initial 0.0.0 registry bootstrap is separate from the first implementation release.

Validation: 73 Aplite unit tests and its public README doctest; lydite IR/solver suites; 25 verifier unit tests; seven pipeline and search-hint consumer tests, including finite-only proofs and deliberately broken models. The direct memory-rule checker passed 6,291,456 read and 524,288 write comparisons. Release/CI script tests (including tag, release identity, registry failure and component dispatch regressions), version checks, release-please JSON schema and workflow YAML validation, affected all-target clippy, formatting, package include checks and standalone cargo package verification passed. A normalized source comparison confirms that solver algorithms and term representation are unchanged.

The full pinned RV32I acceptance campaign and Lean proofs were not rerun locally; runner plumbing tests are not claimed as proof evidence. No local release build was performed.

Change-Id: I912d358354ee7adcdb5f99991d1b6c552e02b53b
Aplite's fixed SAT phases produce the same witness for repeated scalar queries. Add solve_seeded with caller-owned seed-selected initial phases so constrained-randomization consumers can vary witnesses without changing the asserted formula or using global RNG state. Keep the existing proof search paths unchanged and use one bounded CDCL search for seeded queries. Replay all SAT assignments against the original formula and context; unsupported arrays and exhausted budgets return Unknown.

This is a seeded search primitive, not uniform sampling. IEEE 1800-2023 section 18.5.9 requires uniform legal-combination distributions unless ordering changes them. Distribution policy, solve-before, randc and SystemVerilog frontend/runtime integration remain follow-up work; this PR does not claim constrained-randomization conformance.

Validation: all 73 existing Aplite unit tests plus five seeded regressions, two README doctests, exhaustive two-Boolean truth-table oracle across 16 seeds, constrained bit-vector model diversity and replay, seed reproducibility, unique/unsatisfiable inputs and budget/unsupported cases. Lydite IR (38), solver (29) and kernel integration (5) tests passed with Z3 configured. Affected all-target clippy, cargo fmt, diff checks and standalone cargo package verification passed. No full RV32I campaign or release build was run.
Change-Id: Icc9fb9fedd174944495a3cef3d16c9a3b8f1bafb
Add a test-only bounded oracle for projected scalar solution sets. Enumerate distinct projected assignments, verify exact cardinalities on small domains and select a reservoir sample to check projection weighting. Hidden witness multiplicity must not change projected probabilities; incomplete enumeration must not expose a partial sample.

Whole-space enumeration is intentionally excluded from the public API and production build. It is a correctness reference for future scalable constrained-randomization algorithms, not the runtime randomize path. Keep the public solver surface at solve, solve_with_hint and solve_seeded; do not claim uniform production sampling or SystemVerilog constraint support.

Validation: 84 Aplite unit tests and two README doctests passed, including all two-Boolean truth-table counts, hidden-witness multiplicity, deterministic seed/distribution checks, exact model limits, global work exhaustion, zero timeout, empty projections and invalid input. All-target clippy, formatting and diff checks passed. No production solver algorithms were changed and no full RV32I campaign or release build was run.

Change-Id: Ia225f690beff201815b45c973d09d019d82d4b57
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