Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest Auctioneer binary with CI #1855

Draft
wants to merge 75 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
112ba96
add auction result
itamarreif Nov 7, 2024
1d06d19
auctioneer binary scaffolding
itamarreif Sep 23, 2024
5c9c087
add optimistic block, block commitment, and optimistic execution streams
itamarreif Sep 25, 2024
bb35559
add auction manager
itamarreif Nov 1, 2024
3cfd70a
transaction submission logic
itamarreif Nov 5, 2024
ab91d4f
doc strings and minor cleanups
itamarreif Nov 7, 2024
d5e444f
lint fixes
itamarreif Nov 8, 2024
650ff96
add signed bundles
itamarreif Nov 19, 2024
7b0ceab
add auctioneer to docker build workflow
itamarreif Nov 19, 2024
8cb0547
set msrv to 1.81, remove bin entry
SuperFluffy Nov 20, 2024
1695dd9
remove unused dependencies
SuperFluffy Nov 21, 2024
1ca2e14
clean up logging in main, ensure root spans exist
SuperFluffy Nov 21, 2024
776ead3
remove unused associated const
SuperFluffy Nov 21, 2024
0f72aa8
rename auctioneer::inner::Auctioneer -> auctioneer::Inner and fix som…
SuperFluffy Nov 21, 2024
e04bace
have bundle stream match other stream impls
SuperFluffy Nov 21, 2024
f2bdb9d
import traits as _
SuperFluffy Nov 21, 2024
bbfdb10
remove explicit retries for opening streams; rely on tonic's reconnec…
SuperFluffy Nov 22, 2024
03cb588
core: impl Protobuf for FilteredSequencerBlock
SuperFluffy Nov 22, 2024
9c75fb4
run sequencer streams off of a single channel
SuperFluffy Nov 22, 2024
f6765b7
remove needless pin projection
SuperFluffy Nov 22, 2024
b536682
run rollup streams off a single channel
SuperFluffy Nov 22, 2024
4416ad0
flatten optimistic executioner into auctioneer
SuperFluffy Nov 24, 2024
3fd0bb0
have auctioneer shutdown events outside it's long running task
SuperFluffy Nov 24, 2024
0ed31b4
don't short circuit in the auctioneer select loop
SuperFluffy Nov 24, 2024
2ea5246
shutdown all still active auctions
SuperFluffy Nov 24, 2024
c1e0f23
remember to shutdown all constituent tasks during shutdown
SuperFluffy Nov 24, 2024
7cb3eb8
move running and starting runstates into their own modules
SuperFluffy Nov 24, 2024
e82143d
remove unnecessary exclusive ref
SuperFluffy Nov 25, 2024
adcb756
run all startup initialization futures concurrently
SuperFluffy Nov 25, 2024
8659139
auctioneer is unbiased toward all events
SuperFluffy Nov 25, 2024
d99aab5
treat handling of bundle events like all other events
SuperFluffy Nov 25, 2024
a01f905
use the channel singleton to pass a sequencer service client to aucti…
SuperFluffy Nov 25, 2024
119500c
use the same rollup ID everywhere
SuperFluffy Nov 25, 2024
7498b9a
make auctioneer run states private to the inner business logic impl
SuperFluffy Nov 25, 2024
a187528
impl display for auction IDs and use that instead of explicit base64
SuperFluffy Nov 26, 2024
7284422
abort auctions using its cancellation token
SuperFluffy Nov 26, 2024
15b4408
move tracking of current blocks into the auction manager
SuperFluffy Nov 27, 2024
24756d9
replace the joinset of live auctions by a single auction task
SuperFluffy Nov 27, 2024
1e2a333
submit auction winners without a retry
SuperFluffy Nov 27, 2024
72ba2ea
fetch pending nonces on a schedule and uncouple from auction winner s…
SuperFluffy Nov 28, 2024
57491a9
include a restart mechanism for all streams after they have concluded
SuperFluffy Nov 28, 2024
d5753d8
remove auctioneer runstates
SuperFluffy Nov 29, 2024
562e52d
move auctions, manager into the auctioneer module
SuperFluffy Nov 29, 2024
fccab72
track the running auction inside auctioneer
SuperFluffy Nov 29, 2024
7518ad0
turn auction::Running into a future
SuperFluffy Nov 29, 2024
ed2d898
clippy and toml formatting
SuperFluffy Nov 29, 2024
f3bf4ae
feat(core)!: provide a newtype for block hashes
SuperFluffy Nov 29, 2024
d411ec8
update auctioneer to make use of the block hash type
SuperFluffy Nov 29, 2024
cc32912
re-instrument all handlers in primary auctioneer event loop
SuperFluffy Nov 30, 2024
e12c2ab
track result of cancelled auctions
SuperFluffy Nov 30, 2024
5486468
starting new auctions doesn't need cloned blocks
SuperFluffy Nov 30, 2024
2005de6
auction factory does not need mutable access or instrumentation
SuperFluffy Nov 30, 2024
9c293f8
flatten all auction construction directly into the factory
SuperFluffy Nov 30, 2024
17fc17d
rename Auction to Worker, Running to Auction
SuperFluffy Nov 30, 2024
666591d
swap the module relationship between auction future and worker task
SuperFluffy Nov 30, 2024
6e089af
instrument all auction handlers, separate auction ID from block hashes
SuperFluffy Dec 2, 2024
98b7ae5
remove connect timeouts
SuperFluffy Dec 2, 2024
6b186c2
instrument grpc at the request/response level
SuperFluffy Dec 2, 2024
e94a9ba
emit events for failed stream connection requests; also bring back co…
SuperFluffy Dec 2, 2024
397c2ea
REMOVE FROM PR: emit span events in tracing subscriber
SuperFluffy Dec 2, 2024
452cb4c
add astria-auctioneer to shortnames
SuperFluffy Dec 3, 2024
4e0c102
fix(ci, core): delete unused generated code, generate overlooked code
bharath-123 Dec 6, 2024
719b737
update all imports to use optimistic, not optimisticblock
SuperFluffy Dec 3, 2024
8e8892d
unset running auction after completion
SuperFluffy Dec 4, 2024
f16292b
return the connection error in restarting stream
SuperFluffy Dec 4, 2024
143ae5c
fix allocation rule never taking bids with zero-bids
SuperFluffy Dec 4, 2024
26d522c
use Arcs when passing bundles to running auction; instrument first pr…
SuperFluffy Dec 4, 2024
5fc76c5
make the auction bundle channel unbounded
SuperFluffy Dec 4, 2024
c5b25fd
replace the mpsc command channel by two oneshot channels to trigger a…
SuperFluffy Dec 4, 2024
3f741e1
separate the trigger to start the auction timer from the bids
SuperFluffy Dec 4, 2024
749a66a
small refactor: start_processing_bids -> start_bids
SuperFluffy Dec 4, 2024
a8f8466
add some todos to the auction
SuperFluffy Dec 4, 2024
47adada
not receiving winning bids does not constitute an error for auctionee…
SuperFluffy Dec 4, 2024
f2a59ea
skip_all not only skip(self)
SuperFluffy Dec 4, 2024
fb56724
save
bharath-123 Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
required: false
type: choice
options:
- auctioneer
- composer
- conductor
- sequencer
Expand Down Expand Up @@ -39,6 +40,22 @@ jobs:
run_checker:
uses: ./.github/workflows/reusable-run-checker.yml

auctioneer:
needs: run_checker
if: needs.run_checker.outputs.run_docker == 'true' || (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'auctioneer')
uses: "./.github/workflows/reusable-docker-build.yml"
permissions:
contents: read
id-token: write
packages: write
with:
depot-project-id: 1kp2p2bvbr
package-name: auctioneer
binary-name: auctioneer
tag: ${{ inputs.tag }}
force: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'auctioneer' }}
secrets: inherit

composer:
needs: run_checker
if: needs.run_checker.outputs.run_docker == 'true' || (github.event_name == 'workflow_dispatch' && github.event.inputs.target == 'composer')
Expand Down Expand Up @@ -296,7 +313,7 @@ jobs:

docker:
if: ${{ always() && !cancelled() }}
needs: [composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, cli, smoke-test, smoke-cli, ibc-bridge-test, ibc-no-native-asset-test, ibc-timeout-refund]
needs: [auctioneer, composer, conductor, sequencer, sequencer-relayer, evm-bridge-withdrawer, cli, smoke-test, smoke-cli, ibc-bridge-test, ibc-no-native-asset-test, ibc-timeout-refund]
uses: ./.github/workflows/reusable-success.yml
with:
success: ${{ !contains(needs.*.result, 'failure') }}
Loading
Loading