Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
d2dae82
Ensure that we use finalized L1 blocks for the game count lookup
piersy Mar 20, 2026
0ab7b8e
Ensure logged log paths are correct
piersy Mar 20, 2026
3c3ad10
Make retries configurable
piersy Mar 20, 2026
da72b81
Ensure both calls to gameCount use finalized block
piersy Mar 20, 2026
11756d6
Add feature to resume from last contiguously completed game
piersy Mar 24, 2026
f0b0bdc
Limit max size of cost estimator batches
piersy Apr 8, 2026
738d1b0
Remove source from image (#5)
piersy Mar 25, 2026
9eb24ff
Add script to make it easy to manually re-run failed games
piersy Apr 29, 2026
f89c2ca
Schedule pending games by executable_at with retry backoff
piersy May 5, 2026
18c6484
Atomic write for save_progress
piersy May 5, 2026
f9e5f34
Add created_at to GameData from on-chain game timestamp
piersy May 5, 2026
4d5df53
Introduce AttemptKind enum on PendingGame and RunningEstimator
piersy May 5, 2026
3a2603e
Add BackgroundRetry struct and persist via ProgressState
piersy May 5, 2026
49fe803
Move exhausted primary retries to the background queue
piersy May 5, 2026
78cb3ac
Schedule background retries with spare-capacity gating
piersy May 5, 2026
0241f47
Add age-based eviction for background retries
piersy May 5, 2026
cc97312
Include background queue stats in periodic log line
piersy May 5, 2026
81db680
Tweak game_monitor log lines and formatting
piersy May 5, 2026
1666875
Standardize logging approach between primary and background games
piersy May 5, 2026
65d1589
Refactor primary and background spawn loops to share spawn_game
piersy May 5, 2026
5b5aaf4
Add gen-background-retry subcommand to game-monitor
piersy May 6, 2026
575bb94
Drop SequenceTracker adds at or below end
piersy May 6, 2026
c34a764
Add --progress-file to gen-background-retry to read/merge existing state
piersy May 7, 2026
45fc7d1
Fix log-size kill message to show actual MB and bytes/block
piersy May 7, 2026
0fc58df
Make history save atomic
piersy May 7, 2026
91ad93c
Add a script to simplify fetching logs
piersy May 7, 2026
5145817
Update comments in game monitor
piersy May 7, 2026
6844555
Update Cargo.lock
piersy May 14, 2026
8fc6cf8
Fix formatting
piersy May 14, 2026
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
5 changes: 5 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[workspace]
members = [
"utils/client",
"utils/common",
"utils/host",
"utils/build",
"utils/celestia/client",
Expand Down Expand Up @@ -146,6 +147,7 @@ op-succinct-eigenda-host-utils = { path = "utils/eigenda/host" }
celo-eigenda-registry = { path = "utils/eigenda/registry" }
op-succinct-proof-utils = { path = "utils/proof" }
op-succinct-signer-utils = { path = "utils/signer" }
op-succinct-common = { path = "utils/common" }
op-succinct-signer-gcp-utils = { path = "utils/signer-gcp" }
op-succinct-range-utils = { path = "programs/range/utils" }
op-succinct-bindings = { path = "bindings" }
Expand Down
1 change: 1 addition & 0 deletions scripts/utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ env_logger = "0.11"
rustls = "0.23.23"

# local
op-succinct-common.workspace = true
op-succinct-host-utils.workspace = true
op-succinct-client-utils.workspace = true
op-succinct-proof-utils.workspace = true
Expand Down
15 changes: 3 additions & 12 deletions scripts/utils/Dockerfile.game-monitor
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,10 @@ RUN apt-get update && apt-get install -y \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*

# Install Rust (needed by calls to cargo_metadata::MetadataCommand)
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH=/root/.cargo/bin:$PATH
RUN rustup install stable && rustup default stable

# Copy toolchain file
COPY rust-toolchain.toml .
# This installs the nightly version from the file
RUN rustup show

# Copy the built binaries
COPY --from=builder /app/target/release/cost-estimator /usr/local/bin/
COPY --from=builder /app/target/release/game-monitor /usr/local/bin/

# Copy the entire workspace so we can run cargo_metadata::MetadataCommand to get the workspace root.
COPY . .
# Copy operational scripts
COPY --chmod=0755 scripts/utils/rerun-cost-estimator.sh .
COPY --chmod=0755 scripts/utils/fetch-game-logs.sh .
Loading
Loading