Skip to content

runtime: cost tracker polishing - #11340

Open
ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/maxblock
Open

runtime: cost tracker polishing#11340
ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/maxblock

Conversation

@ripatel-fd

@ripatel-fd ripatel-fd commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

security fix, needs v26.09 backport

Copilot AI balanced review requested due to automatic review settings September 8, 2026 06:55
@github-actions

github-actions Bot commented Sep 8, 2026

Copy link
Copy Markdown
 ┌─ ⚡ PERF · f608472 vs main@d744a76 ─────────────────────────────────
 │ SUITE                               BASELINE          NEW         Δ
!│ replay tps, mainnet               28,440 tps   28,224 tps  ▼  -0.76%
 │ bench tps, localnet              128,646 tps  128,646 tps  ·   0.00%
 │ snapshot load, testnet               15.61 s      15.45 s  ·  -1.04%
!│ mem total, mainnet                171.43 GiB   172.43 GiB  ▲  +0.58%
!│ mem total, testnet                102.30 GiB   103.30 GiB  ▲  +0.98%
 │ clean compile, firedancer        232.7 cpu·s  235.2 cpu·s  ·  +1.11%
 │ binary size, firedancer             85.81 MB     85.81 MB  ·   0.00%
 ├─────────────────────────────────────────────────────────────────────
@@ 0 REGRESSIONS · 3 WARNINGS · 0 IMPROVED · 4 NOISE @@
 └─────────────────────────────────────────────────────────────────────

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

All reviewed changes are consistent, with no unresolved issues.

Pull request overview

Aligns cost-tracker capacity and tests with the 100M CU block limit.

Changes:

  • Raises the writable-account bound to 321,282.
  • Generalizes compile-time bound checks.
  • Reuses canonical pack limits in tests.
File summaries
File Description
src/flamenco/runtime/test_cost_tracker.c Uses shared limit constants in reconciliation tests.
src/flamenco/runtime/fd_runtime_const.h Updates writable-account capacity and derivation.
src/flamenco/runtime/fd_cost_tracker.h Generalizes tight-bound assertions.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ripatel-fd
ripatel-fd enabled auto-merge (rebase) September 8, 2026 07:25
@ripatel-fd ripatel-fd added this to the v26.09 milestone Sep 8, 2026
@topointon-jump

Copy link
Copy Markdown
Contributor

See discussion on Slack, I don't think we need to merge this

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.

4 participants