Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

fix(basectl): Silent Panics#40

Merged
BrianBland merged 2 commits intomainfrom
fix/silent-exits
Feb 9, 2026
Merged

fix(basectl): Silent Panics#40
BrianBland merged 2 commits intomainfrom
fix/silent-exits

Conversation

@refcell
Copy link
Contributor

@refcell refcell commented Feb 9, 2026

Summary

basectl would silently stop updating after running for a while. Investigation
found that when the flashblock WebSocket connection dropped (network hiccup,
server restart, timeout), the task would exit and never reconnect. The UI
kept running but no new data flowed in.

Changes:

  • WebSocket functions now loop forever, reconnecting on any failure
  • Exponential backoff: 1s -> 2s -> 4s -> ... -> 30s max between retries
  • Backoff resets on successful connection
  • Malformed messages are skipped instead of crashing the task
  • Tasks only exit when the channel closes (app shutdown)

Also fixes DA backlog calculation to use full encoded transaction size
instead of just calldata, matching how flashblocks calculate DA bytes.

@refcell refcell self-assigned this Feb 9, 2026
@cb-heimdall
Copy link
Collaborator

cb-heimdall commented Feb 9, 2026

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

danyalprout
danyalprout previously approved these changes Feb 9, 2026
@BrianBland BrianBland added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit 600b454 Feb 9, 2026
15 checks passed
mw2000 pushed a commit that referenced this pull request Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants