Uh oh!
There was an error while loading. Please reload this page.
fix(prism): harden Lium install/429 and allow infra resubmit - #109
Conversation
Separate pip install from harness SSH, backoff Lium 429s, and let miners resubmit for 30m after ChallengeInternal instead of staying gated forever.
Uh oh!
There was an error while loading. Please reload this page.
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughThe change adds a 30-minute infrastructure resubmission window, updates challenge retry handling, centralizes Lium REST requests with bounded 429 retries, moves dependency installation before evaluation, and increases SSH keepalive limits. ChangesSubmission retry window
Lium execution resilience
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant SubmissionAPI
participant GatingLibrary
participant LiumClient
participant SSHExecutor
SubmissionAPI->>GatingLibrary: check infrastructure retry window
GatingLibrary-->>SubmissionAPI: return eligibility
LiumClient->>LiumClient: retry REST request after 429
LiumClient->>SSHExecutor: install and verify dependencies
LiumClient->>SSHExecutor: execute evaluation harness
Possibly related PRs
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
ChallengeInternal/blocked, miners can resubmit for 30 minutes (newPOST /v1/submissionsor/retry); cheatrejectedstays closed.Test plan
cargo test -p prism-lium -p submission-gating -p prism-challenge --libcargo clippy -p prism-lium -p submission-gating -p prism-challenge --all-targets -- -D warningscargo run -p xtask -- loc-cap/external-docs-checkreset_openfor hotkeys already blocked outside the 30m window (e.g. the two miners from today)Summary by CodeRabbit
New Features
Bug Fixes
Documentation