Skip to content

merge queue: checking #2193 + #2196 + #2188 together on master (298a83e), stacked on 4 pull requests ahead - #2202

Closed
mergify[bot] wants to merge 14 commits into
masterfrom
mergify/merge-queue/5ffa4047ce
Closed

mergify[bot] wants to merge 14 commits into
masterfrom
mergify/merge-queue/5ffa4047ce

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 engaging-camembert-lhh8wi of the changes queue, to test #2193, #2196 and #2188 before they merge into master.

What this draft tests

Mergify checks that #2193, #2196 and #2188 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 298a83e
  2. the 4 pull requests queued ahead of this batch, listed below, which bring the tip to f9882d3
  3. #2193 + #2196 + #2188, 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: closed

The number of speculative checks has been reduced.

Follow the changes queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #2193, #2196 and #2188 are still in the queue.

Tip

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

Queued ahead of this batch

These pull requests entered the queue before this batch and are not part of it.

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: f9882d38afe04fe790715fcb9b6644b7c5b2fbcd
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2193
    scopes:
      - core
  - number: 2196
    scopes:
      - core
  - number: 2188
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
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
    8a659f7f391848be9e17a7791b09f9a0["sugary-romesco-bt336e<br/>#2178 + #2177 + #2183<br/>scopes: core"]
    e28cc7266b4e453fa8dd241ec8ce9d6b["manual-campagne-nxuzgf<br/>#2184<br/>scopes: core"]
    d799634bb446434dbb3b4a633ab8c2cd["engaging-camembert-lhh8wi<br/>#2193 + #2196 + #2188<br/>scopes: core"]
    6d7a5dd0530444f1981b7ac437106b8c["medium-lardon-efln63<br/>#2195<br/>scopes: core"]
    8a659f7f391848be9e17a7791b09f9a0 --> e28cc7266b4e453fa8dd241ec8ce9d6b
    e28cc7266b4e453fa8dd241ec8ce9d6b --> d799634bb446434dbb3b4a633ab8c2cd
    d799634bb446434dbb3b4a633ab8c2cd --> 6d7a5dd0530444f1981b7ac437106b8c
    style d799634bb446434dbb3b4a633ab8c2cd fill:#6366f1,color:#fff
Loading

tignear and others added 14 commits October 27, 2026 02:22
Calls such as q.size, q.pop_front and map.delete now bind through the same
argument and void-result checks as their parenthesized forms. Handle void-cast
statements that discard pop results, including string and class handles.

Preserve the declared element type when querying an integral pop result,
including packed rank and authored bounds. Type queries validate without
executing the pop. Reject unsupported queries on nonintegral pop results
instead of treating string/class handles as packed integer values.

The upstream queue and associative examples are narrow: all 28 initially
selected official case/mode checks passed while a packed-result query still
failed on every Celox backend. Add that counterexample alongside ordinary,
four-state/default, side-effect, discarded-return and required-argument checks.
The fixed packed-result case also passes Verilator.

The official runner checked 36 pinned upstream cases containing bare method
names in both state modes (72 verdicts). Sixteen simulation cases improve from
fail to pass in both modes, including associative allocation and nonexistent
reads beyond the initial selection. Update exactly those 32 expectations;
preserve the other 3,268 rows. No previously passing candidate regresses.
This was a focused run, not a full-corpus conformance measurement.

Validation:
- Common SV suite: 5,679 passed, 20 existing ignored. Latest container suite:
  108 passed, including four new shared cases across five configurations.
- Analyzer/frontend units: 833 and 7 passed, with 3 existing analyzer ignores.
- Debug NAPI build and JS integration: 435 passed across 16 files.
- Affected-crate all-targets Clippy with -D warnings, formatting, diff checks
  and the five sv-tests aggregate tests passed.

Independent checks retain their original assertions and exclusions:
- Verilator 5.052: 3 passes, 1 four-state adapter unsupported.
- Icarus 13.0: 1 pass, 2 compile errors for unsupported associative arrays and
  1 mismatch in the packed-result dimension/bound queries.
- xezim 0.11.3: all four compile but mismatch. Standalone probes reproduce
  queue mutation inside $bits/$size, zero instead of X from an empty logic
  queue pop, and receiver capture before a nested pop argument.

Queue slicing, queue concatenation operands, element-reference persistence,
warning diagnostics and nonintegral pop result queries remain outside this
change's support contract.

Change-Id: Ie020842652d298a923ebb251ce8d4775b3249082
Independent always_comb processes writing different unpacked elements were rejected as multiple drivers when each packed element held one bit. Recover the checked singleton element window and preserve it through driver analysis and packed lowering, including the symbolic scheduler. Ordinary dynamic outer array accesses retain conservative driver ranges.

Cover [0:0], [7:7] and [-2:-2] packed ranges, invalid inner indices, and actual overlapping writers. IEEE 1800-2023 9.2.2.2 and 11.5.3 permit the disjoint static prefixes. Keep out-of-range behavior in an owning-crate regression because Verilator 5.052 truncates the bit index of a one-bit element; valid-index cases remain shared with both external adapters.

Validation: 5,679 SystemVerilog tests passed (20 existing skips), 7 frontend unit tests passed, affected frontend/Celox clippy with warnings denied, formatting and diff checks. All three shared cases passed Icarus and Verilator. No retained verification baseline or external simulator exclusion was changed.

Change-Id: I616b5657904654df72a57e191f04f6d9c47744b5
Add PreparedQuery::enumerate_cell to enumerate at most a caller-bounded projected cell under temporary predicates. Use one scoped CDCL database, retaining local learning while blocking already-seen projected assignments. Hidden witness multiplicity does not duplicate a projected model. Blocking clauses and their learned consequences never escape into the prepared query or a later cell.

Return Complete, TooLarge, or Unknown distinctly. One extra search distinguishes an exact-size cell from overflow; only Complete exposes models. Work and time budgets cover the entire cell operation, including model replay. Replay source formulas, contexts and predicate assumptions before accepting models or declaring overflow.

Add HashCells to prepare seed-selected affine XOR rows once and query different prefixes/targets without recompilation. Preserve constant and dependent rows, validate projection variables, and bound construction as well as search. These are partitioning/counting primitives, not a uniform sampler: adaptive sizing and a justified cell-acceptance/model-selection policy remain follow-up work. The exhaustive reservoir sampler remains test-only; an empty predicate prefix can still inspect a small whole domain within the explicit cell bound.

Validation: 98 Aplite unit tests and four README doctests. Checked every three-Boolean truth table across XOR cells; verified disjoint/complete partitions across seeds, projected multiplicity, alias/constant bits, exact thresholds, overflow, invalid inputs, budget recovery and no state leakage. A 32-bit domain narrowed by XOR predicates completes a 16-model cell; the unpartitioned query stops at overflow. Lydite IR/solver/kernel tests (38/29/5), affected all-target clippy, formatting, package/version checks and standalone package verification passed. No full RV32I campaign, release build, or production uniformity guarantee is claimed.

Change-Id: I562d30b5a8a1d9c75859358602aa1b3cc9c76455
Dense affine XOR queries exhausted the work budget even for an unconstrained 32-bit projection. Reduce each row against earlier rows before encoding, and transform cell targets by the same operations. Every original prefix and cell remains unchanged, including zero and dependent rows.

Validation: exhaustive original-versus-reduced cell comparison across 32 seeds, all three-bit prefixes and targets; prepared-query tests; Aplite tests and doctests; Aplite and Lydite consumer clippy and tests. The downstream 32-bit sampling regression now completes within the default budget.
Change-Id: I9afa00067cbc3831d331ed9a987982c4f23fb1f1
Add a seeded Sampler with UniGen2-style parameter estimation and fresh affine XOR cells. Enumerate only bounded cells: spaces with at most 64 projected assignments use an exact small-domain path; larger spaces accept complete cells containing 11 through 63 models and return 11 distinct randomly selected assignments.

Preparation caches the immutable formula, projection and estimated parameters. Each fresh hash family currently builds its own encoding. Preparation and each batch have aggregate work/time budgets; failed estimation, incomplete solving and cell rejection remain errors or Unknown with no partial models or heuristic fallback. Only a proved empty space yields Unsat.

This is approximate sampling, not an exact-uniformity certificate. Document the fixed kappa and broad epsilon, seeded reproducibility conditions, and remaining SV integration, dist, solve-before and randc work.

Validation: 105 Aplite unit tests and 5 doctests, followed by the additional passing permutation regression (106 unit tests total); Lydite IR and solver tests with Z3; clippy for all three crates; formatting; package verification and release/package guards. Regressions cover projected distribution, hidden witnesses, replay, constrained support, 32-bit spaces, permutations and aggregate budget exhaustion. Development-build smoke probes only; no local release build or full RV32I proof run.
Change-Id: I6b228ea76629b92831384582faf9308f39b4bf52
Retain names and expression nodes for simple class constraint blocks so the analyzer can bind them for randomize. Mark prototypes and unsupported control, soft, distribution and ordering forms explicitly, preventing partial enforcement. Reject duplicate declarations in a class while leaving inheritance override handling to the analyzer.

Validation: 132 syntax tests and doctests; analyzer regression suite; focused retained-expression test; clippy. BREAKING CHANGE: ClassDeclaration has a new constraints field.
Change-Id: Ic0c2bccf33129288214910a3fbf1ff120734ff4b
Official sv-tests failures currently share one verdict even when they indicate unsupported constructs, compilation diagnostics, output assertion failures, unexpected negative-test success, timeout, crashes or input/environment problems. Annotate observed evidence without changing the official verdict, dashboard denominator or expected.tsv. Unknown, absent and inconsistent evidence remains unclassified.

Add per-state/group category and frequent-diagnostic summaries, a failing-case JSON index and a readable CI job summary. Surface negative-test passes with suspicious unsupported/crash/timeout diagnostics separately. Retain completed rows and structured collection errors after infrastructure failures, mark reports incomplete and continue to prohibit expectation updates. Cancel queued work on collection errors and interruptions.

Provide reporting.py to reclassify saved TSV/log artifacts with relocated log roots and optional pinned meta-tags. Preserve incomplete provenance and mark old reports with unknown completeness instead of claiming a full run.

Validation: all 27 Python contract tests pass against the actual pinned upstream tools/runner, including timeout, negative tests, parallel infrastructure failure, baseline protection and stale-report replacement. Focused classifier tests also pass after diagnostic excerpt changes. Reclassified 3,300 historical rows with every verdict and every original summary field unchanged. CI YAML parses and git diff --check passes. No Rust/compiler or corpus changes; no fresh full simulator run or release build. This PR is based directly on master and does not depend on the Aplite/randomize stack.
Change-Id: Ic9bf68f5d4ba127e3e62cd9993a4b8cd1aee80d1
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