Repository navigation
Allow bounded compute continuation for failed DeepWater attempts - #141
Merged
Merged
Conversation
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.
A saved DeepWater run needs a new Ledger attempt after a proven infrastructure failure. This adds
POST /billing/v1/ledger/job-compute-renewals/:grantId/continueso Ledger can derive one compute grant for the same Water run, preserving the original identity, team, credential epoch, invocation and absolute expiry.Continuation requires the original product-bound Ledger runtime key and a fresh delegation renewed from the exact parent grant. Current UOA authority and the full grant ancestry are checked under locks. The database enforces one child and immutable authority; generic chaining and fresh issuance reject job-bound tokens. The integration API documentation and deployment order are included.
Validation
The Ledger and Water callers are subsequent changes. Production recovery and the original run's full report remain unverified at this prerequisite stage. No visible UI changed.