Skip to content

Remove Alpenglow conditionals - #12515

Merged
ripatel-fd merged 4 commits into
mainfrom
ripatel/ag-cond
Oct 23, 2026
Merged

ripatel-fd merged 4 commits into
mainfrom
ripatel/ag-cond

Conversation

@ripatel-fd

Copy link
Copy Markdown
Contributor
  • restore: remove Alpenglow conditionals
  • rpc: remove Alpenglow conditionals
  • store: remove Alpenglow conditionals
  • shred: remove Alpenglow conditionals

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

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
 ┌─ ⚡ PERF · 05f0d4e vs main@c85b7de ─────────────────────────────────
 │ SUITE                               BASELINE          NEW         Δ
 │ replay tps, mainnet               13,623 tps   13,614 tps  ·  -0.07%
 │ bench tps, localnet              666,903 tps  668,237 tps  ·  +0.20%
 │ snapshot load, testnet                4.88 s       4.86 s  ·  -0.35%
!│ 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.23 s       3.21 s  ·  -0.63%
 │ binary size, firedancer             57.92 MB     57.91 MB  ·  -0.02%
 ├─────────────────────────────────────────────────────────────────────
@@ 0 REGRESSIONS · 2 WARNINGS · 0 IMPROVED · 5 NOISE @@
 └─────────────────────────────────────────────────────────────────────
history · 4 pushes
 ┌─ HISTORY · Δ vs main, per push, newest first ──────────────────────────────────
 │ HEAD         TPS    BENCH     SNAP    MEM·M    MEM·T  COMPILE   BINARY
!│ 05f0d4e   -0.07%   +0.20%   -0.35%    0.00%    0.00%   -0.63%   -0.02%
 │ 9115db1   +0.04%   +0.03%   -0.16%    0.00%    0.00%   +0.51%   -0.01%
 │ efc77d2   +0.66%   -0.51%   +0.50%    0.00%    0.00%   -0.19%   -0.01%
 │ d7383a9        …   -0.14%   -0.02%    0.00%    0.00%   -0.21%   -0.01%
 └────────────────────────────────────────────────────────────────────────────────

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.

🟡 Changes recommended

A dangling test call blocks the unit-test build, concurrent store workers share an unsafe partition, and a restore fixture no longer reaches its intended validation.

3 open issues
What changed in this PR

This PR makes Alpenglow behavior unconditional across snapshot restore, RPC, store, and shred processing, removing obsolete mode flags and updating related callers and tests.

Changes:

  • Remove Alpenglow flags from tile configuration and runtime state.
  • Make snapshot block-ID validation, RPC root handling, and store indexing unconditional.
  • Update store API calls and remove legacy-mode tests.
File Description
src/​flamenco/​runtime/​test_slot_params.c Remove the hashes-per-tick test definition.
src/​discof/​rpc/​test_rpc_tile.c Remove mode switching from RPC tests.
src/​discof/​rpc/​fd_rpc_tile.c Apply Alpenglow root handling unconditionally.
src/​discof/​restore/​fd_snapin_tile.c Require snapshot block IDs unconditionally.
src/​discof/​replay/​test_replay_tile.c Update store constructor calls.
src/​disco/​topo/​fd_topo.h Remove obsolete tile mode fields.
src/​disco/​store/​test_store.c Update store fixtures and remove no-root-map tests.
src/​disco/​store/​fd_store.h Simplify store interfaces and document required partitions.
src/​disco/​store/​fd_store.c Always maintain slot partitions and disk root indexes.
src/​disco/​shred/​fd_shred_tile.c Remove mode gates from shred processing.
src/​disco/​repair/​test_rserve_tile.c Update repair-server store setup.
src/​app/​shared/​fd_action.h Remove the obsolete require_tower argument field.
src/​app/​firedancer/​topology.c Remove Alpenglow flag assignments.
src/​app/​firedancer/​callbacks.c Update store allocation callbacks.

Review effort: Balanced

Comment thread src/flamenco/runtime/test_slot_params.c
Comment thread src/disco/store/test_store.c Outdated
Comment thread src/discof/restore/fd_snapin_tile.c
Copilot AI balanced review requested due to automatic review settings October 23, 2026 20:44
topointon-jump
topointon-jump 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.

🔵 Needs a closer look

Test fixtures still need updates to preserve concurrent-store safety and snapshot validation coverage.

2 open issues
1 resolved since last review

Review effort: Balanced

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.

🟡 Changes recommended

The remaining direct-removal API leaves stale entries in the now-unconditional store slot index, risking corruption when metadata is reused.

1 open issue
2 resolved since last review

Review effort: Balanced

Comment thread src/disco/store/fd_store.c
riptl added 4 commits October 23, 2026 21:30
also some drive-by fixes:
- remove slot time vs hash-per-tick tests
- remove unused topo.replay.alpenglow flag
Copilot AI balanced review requested due to automatic review settings October 23, 2026 21:35

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 changes preserve behavior already selected by production topology, with callers and fixtures updated consistently and no blocking issues identified in static review.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@ripatel-fd
ripatel-fd enabled auto-merge (rebase) October 23, 2026 21:39
@ripatel-fd
ripatel-fd merged commit 3a633f8 into main Oct 23, 2026
19 checks passed
@ripatel-fd
ripatel-fd deleted the ripatel/ag-cond branch October 23, 2026 22:07
@ripatel-fd ripatel-fd added this to the Tower BFT removal milestone Oct 23, 2026
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