fix(prism): fail-fast Lium orphans after control-plane restart - #130
Merged
Conversation
Mark detached Lium runs promptly, seal BYOK keys for pod cleanup, and expose live harness logs through challenge + site-api for the miner FE.
|
Caution Review failedAn error occurred during the review process. Please try again later. ✨ Finishing Touches📝 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
provisioning/runningrows whose worker is not alive (control_plane_restart/harness_detached); requeue post-measure review stages; best-effort terminate pods when the BYOK vault still has a key.PRISM_PAYER_VAULT_DIR+ key file) so restarts can still stop miner-billed pods without storing keys in Postgres.GET /v1/submissions/{id}/logs?since=+ site-api proxies; list/detail surface orphan copy for the FE.Test plan
cargo test -p prism-orphan -p prism-lium-payer -p prism-finalcargo clippyon touched crates (-D warnings)cargo run -p xtask -- loc-cap/external-docs-check/spec-checkdeploy/secrets/prism/payer_vault_keyon prod/staging hosts, ensure/var/lib/prism/payer-vaultexists (AutoModel pin mount unchanged), promote digests + remote-deploy prism-challenge (+ gateway for site routes)