Repository navigation
solana-autopilot: release the orders of a winner skipped before dispatch - #4988
Conversation
|
Claude finished @squadgazzz's task in 1m 55s —— View job ReviewI read the diff against
Verdict: looks correct — no blocking issues found. The change is clean and consistent with the existing settlement-window machinery:
Matching on One minor, non-blocking note: the |
…35-release-skipped-winners # Conflicts: # crates/autopilot-svm/src/infra/sponsor.rs
Description
Stacked on #4987.
When a winning solution has a sponsored order whose creation can't be countersigned, the executor skips the winner without sending anything to the driver. By then the competition is persisted, and the skip comes before the settlement window opens. So the in-flight hold treats the skipped winner like a settlement that might still land and keeps all of its orders out of the cut until the deadline plus ~150 slots.
That hurts in two ways:
The hold already lets go of a solution whose window closed as
rejected, which means no transaction went out. A skip is the same situation, so the executor records the skipped winner as a window that is rejected from the start. Theorders held out with settlements in flightdebug log lists the uids too.This needs #4987. Without it, a released dead order re-enters the auction, wins again, and sinks its batch every cycle until its stored deadline passes.
Before, a skipped winner held its orders like a real settlement. Now they are back in the next cut.
Changes
rejected, which the in-flight hold already releasesHow to test
New DB test.
Related issues
BE-335