Skip to content

merge queue: checking #2181 on master (cf27e8d), stacked on #2175 and #2171 - #2186

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

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

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 progressive-raclette-enwsm4 of the dependencies queue, to test #2181 before it merges into master. Pushing to this branch or closing this pull request removes #2181 from the queue.

What this draft tests

Mergify checks that #2181 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:

  1. master at cf27e8d
  2. the 2 pull requests queued ahead of this batch, listed below, which bring the tip to e2e18c6
  3. #2181, the pull request of this batch

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 dependencies queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #2181 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 2 pull requests ahead, so a failure here can come from them as much as from #2181. 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: e2e18c609fd8b9ab58c18ef41a4401e4454e9b43
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2181
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule dependencies for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • 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
    eb222a626fc84c9497f8070d6e7fa386["progressive-raclette-enwsm4<br/>#2181<br/>scopes: core"]
    281cfe0e097942239cac201158f8bb31["jubilant-bouquetgarni-nz02wj<br/>#2182<br/>scopes: core"]
    eb222a626fc84c9497f8070d6e7fa386 --> 281cfe0e097942239cac201158f8bb31
    style eb222a626fc84c9497f8070d6e7fa386 fill:#6366f1,color:#fff
Loading

tignear and others added 6 commits October 27, 2026 01:50
Repeated literal arithmetic in aggregate port defaults rediscovered declaration scopes and copied growing scope snapshots. Runtime select lowering also repeatedly attempted constant evaluation of large inlined expressions.

Skip declaration discovery for expression trees composed entirely of literals, reject required unbound runtime operands before constant substitution, reuse binary operands already evaluated for type context, and return width one for identical runtime bit-select bounds. Keep names in unselected query arms on the discovery path and preserve short-circuit evaluation.

Local compile measurements against master ee675d8, using frozen CLI binaries and identical options:
- 128 aggregate-default ports: 20.62 s to 0.69 s.
- 256 aggregate-default ports: 90 s timeout to 0.50 s.
- Original Taxi 32-channel Ethernet configuration: 123.971 s to 99.821 s, about 20% faster.
- VCU108 still exceeds the 300 s compile limit with both binaries. This remains unresolved.

Taxi sources were unchanged at cc70b270b910d369ab1ad7b3855e76399fd461f1. Taxi measurements cover compilation only, with O1 and two-state operation; cocotb runtime tests were not rerun. These are local measurements rather than timing assertions in CI.

Validation:
- Analyzer/frontend unit tests: 846 passed; 2 doctests passed.
- Full SystemVerilog backend suite: 5,664 passed; 20 existing skips.
- Clippy for celox-sv-analyzer, celox-frontend-sv and celox tests with systemverilog, cranelift and wasm-runtime: passed with -D warnings.
- cargo fmt --all -- --check and git diff --check: passed.

Regression tests assert discovery/evaluation counts and width semantics without wall-clock thresholds. Shared executable cases and external adapters are unchanged.

Change-Id: Ia023a992051109e82c9ae3ae147c313b49f70e54
Repeated constraint queries currently validate and bit-blast the same expressions on every solve. Add PreparedQuery to compile a fixed scalar formula, context and Boolean predicate definitions once, then assert chosen predicate polarities per call. Encode assumptions as decision levels rather than permanent unit clauses, reapply them after backjumps, and retain learned clauses after successful searches. Discard mutable search state after UNSAT or interruption while keeping the original encoding reusable.

Share source compilation, phase initialization and model replay with the existing solver. Replay every SAT witness against the original formula, requested context and asserted predicates. Preparation and solve budgets are explicit and separate; invalid predicate indexes or resource exhaustion return Unknown, never UNSAT. The API is a reusable solving primitive, not a uniform sampler or an implementation of SystemVerilog randomize.

Validation: 84 existing Aplite tests plus six prepared-query regressions and three README doctests. Exhaustively checked 4,096 changing assumption queries against all three-Boolean truth tables; tested retained learned clauses, opposite/duplicate/constant assumptions, sort conflicts, invalid input, and recovery after interrupted searches. Lydite IR (38), solver (29), kernel (5), and pipeline/search consumers (7) passed, including finite-only proofs and deliberate fault detection. Affected all-target clippy, formatting, package include/version checks, diff checks and standalone cargo package verification passed. No full RV32I campaign or release build was run.
Change-Id: I80ec43950e64c7fc7a7dfc0c0975848fe51adea2
@mergify mergify Bot closed this Oct 26, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/aeea925088 branch October 26, 2026 18:30
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