Skip to content

chore(prover-client): demote empty addTxs log from warn to verbose#24591

Closed
AztecBot wants to merge 1 commit into
nextfrom
cb/demote-addtxs-empty-warn
Closed

chore(prover-client): demote empty addTxs log from warn to verbose#24591
AztecBot wants to merge 1 commit into
nextfrom
cb/demote-addtxs-empty-warn

Conversation

@AztecBot

@AztecBot AztecBot commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

ProvingOrchestrator.addTxs logs Provided no txs to orchestrator addTxs. at warn level, but this path is expected control flow, not an anomaly: checkpoint-prover.ts calls addTxs(processed) unconditionally for every block in the checkpoint, so every empty block hits this early return (the empty block is then finalized via setBlockCompleted). On low-traffic networks this fires constantly — ~100 times in 4h on staging-internal — polluting warn-level log reviews with noise.

Demote it to verbose. No behavior change; no tests assert on this message.

Same demotion for the v5-next counterpart (checkpoint-sub-tree-orchestrator.ts) is opened separately against v5-next.

Spotted during a staging-internal log review requested by @spalladino in Slack.


Created by claudebox · group: slackbot

@AztecBot AztecBot added ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR. labels Jul 7, 2026
@AztecBot AztecBot closed this Jul 7, 2026
spalladino pushed a commit that referenced this pull request Jul 7, 2026
…24593)

`CheckpointSubTreeOrchestrator.addTxs` logs `Provided no txs to addTxs.`
at **warn** level, but this path is expected control flow, not an
anomaly: `checkpoint-prover.ts` calls `this.subTree.addTxs(processed)`
unconditionally for every block in the checkpoint, so every empty block
hits this early return (the empty block is then finalized via
`setBlockCompleted`). On low-traffic networks this fires constantly —
~100 times in 4h on staging-internal — polluting warn-level log reviews
with noise.

Demote it to `verbose`. No behavior change; no tests assert on this
message.

Replaces #24591 and #24592 (closed), per request to land this as a
single PR via the spartan-v5 merge train.

Spotted during a staging-internal log review requested by @spalladino in
Slack.

---
*Created by
[claudebox](https://claudebox.work/v2/sessions/ac050bae673edac4) ·
group: `slackbot`*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. ci-no-fail-fast Sets NO_FAIL_FAST in the CI so the run is not aborted on the first failure claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant