Skip to content

replay: rename gross ag prefixes - #12517

Merged
emwang-jump merged 1 commit into
mainfrom
emwang/replay-ag-rename
Oct 23, 2026
Merged

emwang-jump merged 1 commit into
mainfrom
emwang/replay-ag-rename

Conversation

@emwang-jump

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings October 23, 2026 20:59
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
 ┌─ ⚡ PERF · 623e74d vs main@d44b459 ─────────────────────────────────
 │ SUITE                               BASELINE          NEW         Δ
 │ replay tps, mainnet               13,637 tps   13,693 tps  ·  +0.41%
 │ bench tps, localnet              892,097 tps  892,084 tps  ·   0.00%
 │ snapshot load, testnet                4.87 s       4.86 s  ·  -0.06%
 │ mem total, mainnet                150.35 GiB   150.35 GiB  ·   0.00%
 │ mem total, testnet                 86.66 GiB    86.66 GiB  ·   0.00%
 │ clean compile, firedancer             3.19 s       3.18 s  ·  -0.12%
 │ binary size, firedancer             57.94 MB     57.94 MB  ·   0.00%
 ├─────────────────────────────────────────────────────────────────────
@@ 0 REGRESSIONS · 0 WARNINGS · 0 IMPROVED · 7 NOISE @@
 └─────────────────────────────────────────────────────────────────────
history · 2 pushes
 ┌─ HISTORY · Δ vs main, per push, newest first ──────────────────────────────────
 │ HEAD         TPS    BENCH     SNAP    MEM·M    MEM·T  COMPILE   BINARY
 │ 623e74d   +0.41%    0.00%   -0.06%    0.00%    0.00%   -0.12%    0.00%
 │ 5efac7f   +0.42%   -0.65%   -0.08%    0.00%    0.00%   -0.01%    0.00%
 └────────────────────────────────────────────────────────────────────────────────

ripatel-fd
ripatel-fd previously approved these changes Oct 23, 2026

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

Static review supports consistent renaming and preserved lookup and flag behavior, with no blocking issues identified; builds and tests were not run.

No open issues 🎉

What changed in this PR

This PR removes legacy ag naming from Firedancer’s replay internals and updates the corresponding tests.

Changes:

  • Renames block-ID map symbols and replay/scheduler helpers.
  • Replaces the block-ID lookup wrapper with equivalent direct map queries.
  • Converts five scheduler state flags to one-bit unsigned fields.
File Description
src/​discof/​replay/​test_replay_tile.c Updates test calls, setup, and comments for renamed symbols.
src/​discof/​replay/​fd_sched.c Renames marker handlers and packs state flags into bitfields.
src/​discof/​replay/​fd_replay_tile.c Updates replay helpers and map references; inlines map lookups.
src/​discof/​replay/​fd_replay_tile_private.h Renames map declarations and removes obsolete Alpenglow-only comments.

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings October 23, 2026 21:02
@emwang-jump
emwang-jump force-pushed the emwang/replay-ag-rename branch from 5efac7f to 623e74d Compare October 23, 2026 21:02
@emwang-jump
emwang-jump enabled auto-merge (rebase) October 23, 2026 21:03

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

The renamed references and direct lookups remain consistent, and the packed flags preserve their existing boolean behavior.

No open issues 🎉

Review effort: Balanced

@emwang-jump
emwang-jump merged commit b8394ed into main Oct 23, 2026
34 of 35 checks passed
@emwang-jump
emwang-jump deleted the emwang/replay-ag-rename branch October 23, 2026 21:22
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.

3 participants