Skip to content

chore(execution): log commit destination shards and unstaffed owners - #1192

Merged
CassOnMars merged 1 commit into
QuilibriumNetwork:v2.1.0.25from
blacks1ne:chore/log-commit-destination-shards
Nov 4, 2026
Merged

CassOnMars merged 1 commit into
QuilibriumNetwork:v2.1.0.25from
blacks1ne:chore/log-commit-destination-shards

Conversation

@blacks1ne

@blacks1ne blacks1ne commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

GLOBAL commits a relayed spend's outputs into blocks that only the owning shard's committee delivers. When that shard has no active provers (a split's latent spine shards), or has provers but executes no header, the output waits undelivered, and no line says where it went.

Log, for each executed header that commits outputs or escrows, one info line counting them per owning shard (full filter) with that shard's active provers. Warn when an owning shard has none, or when a staffed one executes no header in the 32 frames after outputs were committed to it; remind at most every 10 minutes while it stays so, and log the wait's duration once it ends or the shard leaves the grid. token shield-all also names, at info, the shard and active prover count of each coin it leaves uncovered. Logging only; no state is written.

Tests: 9 new tests, each failing under its mutation control; fmt, workspace check, warning census (0 warnings) and the CI test command (6,813 passed) on 2ed77879.

Base: b8652009

@blacks1ne
blacks1ne force-pushed the chore/log-commit-destination-shards branch from c043f92 to 2ed7787 Compare November 4, 2026 07:03
GLOBAL commits a relayed spend's outputs into blocks that only the
owning shard's committee delivers. A split's latent spine shards have
no provers, so an output routed into one waits with no committee to
deliver it, and no line said which shard an output went to or that
its owner was unstaffed.

Each executed header that commits outputs or escrows now logs one info
line counting them per owning shard (full filter) with that shard's
active provers. An owning shard with none gets a warning at its first
commit, a reminder at most every 10 minutes while it stays so, and an
info line with the wait's duration once provers join it or it leaves
the grid. Logging only: no state is written.

`token shield-all` also names, at info, the shard and active prover
count of each coin it leaves because no live shard covers it.

A staffed owning shard that executes no header at GLOBAL in the 32
frames (the accumulator heartbeat) after outputs were committed to it
gets the same warning and reminder, and an info line once a later
header of it executes or it leaves the grid.
@blacks1ne
blacks1ne force-pushed the chore/log-commit-destination-shards branch from 2ed7787 to f273ae2 Compare November 4, 2026 07:35
@blacks1ne
blacks1ne marked this pull request as ready for review November 4, 2026 11:43
@CassOnMars
CassOnMars added this pull request to the merge queue Nov 4, 2026
Merged via the queue into QuilibriumNetwork:v2.1.0.25 with commit 64814fc Nov 4, 2026
12 checks passed
@blacks1ne
blacks1ne deleted the chore/log-commit-destination-shards branch November 4, 2026 12:58
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.

2 participants