Skip to content

merge queue: checking #1805 + #1811 + #1815 together on master (d59616e), stacked on #1801 - #1832

Closed
mergify[bot] wants to merge 9 commits into
masterfrom
mergify/merge-queue/ea035497b0
Closed

mergify[bot] wants to merge 9 commits into
masterfrom
mergify/merge-queue/ea035497b0

Conversation

@mergify

@mergify mergify Bot commented Oct 23, 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 ecstatic-bechamel-c9q7ol of the changes queue, to test #1805, #1811 and #1815 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 #1805, #1811 and #1815 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 d59616e
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 30f3b67
  3. #1805 + #1811 + #1815, 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 #1805, #1811 and #1815 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 #1805 + #1811 + #1815. 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: 30f3b672009c7adf0374867892560efa9db10312
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1805
    scopes:
      - core
  - number: 1811
    scopes:
      - core
  - number: 1815
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes 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

tignear and others added 9 commits October 23, 2026 20:27
The compiled scheduler now also runs kernels whose every wait is the
same single edge of a one-bit signal that one compiled delay-only
kernel alone drives, whose statuses are Wait, Nba, Done or Finish, and
whose nonblocking sites stage their values into targets nothing else
writes. Such a kernel wakes at most once a slot, so a site is never
staged again before the NBA region.

A slot runs the ready kernels lowest first, tests the waits after each
run while kernels remain ready or the kernel resumes at once, and again
after each pass's settle, as the reference's process phase does; a wait
compares against a baseline that follows every tested change. The
ready set is a mask over the compiled kernels in kernel order. Staged
values publish after the domains, or with a settle of their own without
one. Waiting kernels move between Waiters and the scheduler's slots at
each run, and a run that ends in the middle of a slot hands back the
ready set and the baselines as the reference leaves them. Kernels that
drive or wait for a clock whose domain commits blocking results in the
active region keep the reference loop.

A staged site's target must also lie outside every occurrence probe: the
reference publishes nonblocking updates through the runtime, which bumps
the probes' counters, and the scheduler's publication does not.

BREAKING CHANGE: SchedulerSlots has new fields, `ready` and `baseline`.
Native images use container format 30; images written by earlier
versions must be rebuilt.

Change-Id: Ib033a13b9ad213155c0ffca86c4e891fe61876b2
A delay-only kernel that pulses the signal another kernel waits on
within one activation, by two stores or in a loop, makes the frontend
count the signal's occurrences, and the compiled scheduler leaves a
design that counts occurrences to the reference loop. The test checks
that every mode wakes on each pulse as the reference does, the guard
for when counted designs become compilable.

Change-Id: I479dec1591e33514389937797b7283eb3baefba2
Periodic clocks from add_clock now run inside the compiled scheduler's
loop when their event is a one-bit clock edge (not an asynchronous
reset) that no design code writes, whose
domain does not commit blocking results in the active region, and the
queue holds exactly one periodic edge of the event's own signal. Every
other scheduled event stays in the Rust queue and ends a compiled run
before its time.

A slot applies the clocks due at its time, in event order, before any
kernel runs and tests the waits once after them; their edges start the
slot's edges and chain with the kernels' writes into the domains. At
the end of the slot each clock whose edge applied waits for its opposite
level half a period later, with the extra unit of an odd period in the
high phase; a next edge past the end of time fails the run as the
reference does, after the clocks before it re-armed. Clock edges move
between the event queue and the scheduler's clock slots at every run;
a run that ends in the middle of a slot leaves the clocks that fired in
it out of the queue, as the reference leaves them.
A run that takes no clock skips the clock code of its slots behind one
test of the armed mask.

A kernel that waits for one edge also compiles when no design code
writes its one-bit signal: a host clock, or an input the host writes
between runs, changes in a compiled slot only at its start.

State files list the queued events in the order they fire instead of
the queue's internal order, which depends on the order of the pushes.

BREAKING CHANGE: SchedulerSlots has new fields, `clock_next`,
`clock_period`, `clock_value` and `clock_armed`; SchedulerSchema has
`clocks` and SchedulerExit has `ClockOverflow`. Native images use
container format 31; images written by earlier versions must be
rebuilt.

Change-Id: I3b7e4561ecbf897a5bf1f4e6d83dc5f3e2697311
A compiled slot settles combinational logic after every pass of the
process phase and after the domains. It now skips a settle when nothing
combinational logic reads changed since the last one. What it reads is
structural: the storage its units load or commit from. Every write path
inside a run marks a change when it may touch that storage: an inlined
kernel or domain unit whose stores do, a published nonblocking value, a
host clock's level, the time slots, and the start of each run for what
the host wrote before it. Combinational logic with records, captures,
external calls or trigger marks settles every time.

BREAKING CHANGE: SchedulerSlots has a new field, `dirty`. Native images
use container format 32; images written by earlier versions must be
rebuilt.

Change-Id: I31ed70b330f7f42680f4cb0c3b5494c6d3012bcd
A timed simulation of a design without process kernels, whose clocks
come from add_clock, now gets a compiled scheduler for its host clocks:
the unit runs their slots as the batch step does (the clocks' levels,
a settle, the triggered domains, a settle, the re-arm). Every design
declares the scheduler's slots, kernels or not.

Such a design has no units for several triggered domains when it has a
single domain; the scheduler needs them only when more than one event
can have an edge in a slot. Exits a unit never takes, such as the
$finish exit of a unit without kernels, are left out of it.

BREAKING CHANGE: every design, Simulator builds included, gains about
1.1 KB of hidden state for the scheduler's slots: checkpoints, the NAPI
total_size and the shared buffer grow, and later signals move to other
offsets. State files are unaffected. Designs without kernels get a
scheduler unit. Native images use container format 33; images written
by earlier versions must be rebuilt.

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