Commit 434af30
The `retention` + `ttl` + `archive` paragraph in the `archiveObject`
docblock still called #10527 an open question and warned about a shape the
spec no longer accepts. #10643 (5649efb) decided it: `LifecycleSchema`
refuses that triple unless `ttl.field` is `created_at` and
`ttl.expireAfter` equals `retention.maxAge` (itself pinned equal to
`archive.after`), so every triple reaching this method selects the same
column at the same declared instant on either branch.
The rewrite keeps the still-live half: the equality is enforced in
`packages/spec` and re-checked nowhere in this file, so widening that
accept-set brings the union-vs-refusal question back to this line.
Comment-only; no executable line changes.
Claude-Session: https://claude.ai/code/session_019yDEhPBC3tcGkW9bkce1HM
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 490879a commit 434af30
1 file changed
Lines changed: 20 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
1208 | 1221 | | |
1209 | 1222 | | |
1210 | 1223 | | |
| |||
0 commit comments