Repository navigation
Design: retention by regeneration cost (#1076) - #1083
Merged
Merged
Conversation
Contributor
Author
|
Owner decisions (2026-10-17), now in the doc:
Phase 1 (record only, no retention change) follows as a separate PR. |
scttfrdmn
marked this pull request as ready for review
October 17, 2026 20:26
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
Author
|
Review, after phase 1 shipped (v0.132.1) and was verified on a real instance. Pushed as one commit.
Status line updated. The doc is ready to merge; it holds no code. |
scttfrdmn
force-pushed
the
design/1076-recompute-tag
branch
2 times, most recently
from
October 18, 2026 00:17
6bf4c88 to
48352d3
Compare
scttfrdmn
force-pushed
the
design/1076-recompute-tag
branch
from
October 18, 2026 00:39
48352d3 to
8d35610
Compare
…sitive tag; write path; shipping notes)
scttfrdmn
force-pushed
the
design/1076-recompute-tag
branch
from
October 18, 2026 01:46
8d35610 to
e6d1b59
Compare
Merged
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.
Refs #1076
Design doc only (
docs/recompute-tag-design.md). No code. Draft until the four decisions at the end of the doc are made.The central point, grounded in a survey of every result write path: an S3 lifecycle rule matches tags by exact value and can't verify anything when it acts. A write-time "regenerable" tag can go stale, because task inputs live in buckets spawn doesn't own and nothing pins the recipe or image digest. So the design lets a rule tier (recoverable), but only a verifying sweeper may delete, after re-checking at deletion time that the inputs are unchanged and the recipe is readable.
Records: class/cost/hours/run-id tags, plus provenance in an S3 object annotation (verified as supported by the SDK in use and CLI v2). Phases: record → report → tier → delete.