Commit ff572c7
Merge origin/main (Hilt client + per-bucket spaces) into fil-588-blob-remove
Ports the deferred-park multipart and blob-removal flow onto main's Hilt
architecture. The load-bearing resolutions:
- Space is per-bucket and threaded as a parameter (main's model): the
DeferredBodyUploader seams (UploadBlobParked/ConcludeBlob/AbortBlob),
BlobRemover, and the s3frontend park/conclude/cleanup paths all take
the bucket's space, resolved via the new Backend.bucketSpace helper
(the session-expiry sweeper resolves it per session).
- Proof chains are request-scoped (main's model): park and upload
require the IAM-attached reqscope store and capture it as the space's
write authority; abort and remove resolve reqscope-first with the
captured store as the off-request fallback (the sweeper path).
forgeclient.BlobRemove/BlobAbort accept WithProofStore like BlobAdd.
- forgeclient.BlobAddParked/BlobConclude re-derived from main's BlobAdd:
per-call proof store, no /blob/accept re-delegation (sprue owns
accept), conclude carries no space proof.
- seedSpaceDelegations and standaloneApp stay deleted (main): space
authority is Hilt-issued per access key. NOTE: hilt's s3perm map does
not yet delegate /blob/abort — multipart abort needs a hilt follow-up.
- MultipartSessionTTL ported into config.ServerConfig; the sweeper keeps
running under main's config package.
- Fork-era s3err constants: ErrInvalidPartNumberRange for the Complete
part-number range check, ErrInvalidRequest for invalid list markers.
- versity partition: kept the fil-520 placements (ListParts implemented,
Complete validation fixed) and moved main's two XFail cases
(etag_quoting_consistency, missing_part_fields) into the passing
lists; forge itests provision via hiltProvisionTenant.
- go.mod: libforge at the RFC-alignment pin, smelt at main's Hilt-era
pin — the smelt fil-588 branch (/blob/release delegation) must rebase
onto smelt main before the removal itests can run end-to-end.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>107 files changed
Lines changed: 7391 additions & 1939 deletions
File tree
- blockstore
- bucketauthority
- bucketop
- bucket
- cmd
- config
- forgeclient
- iam
- inmem
- internal
- fasthttputil
- reqscope
- itest
- testdata
- logstore
- migrations/sql
- mst
- registry
- s3frontend
- testing
- uploader
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
| |||
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
99 | 112 | | |
100 | 113 | | |
101 | 114 | | |
102 | | - | |
| 115 | + | |
| 116 | + | |
103 | 117 | | |
104 | 118 | | |
105 | 119 | | |
| |||
141 | 155 | | |
142 | 156 | | |
143 | 157 | | |
144 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
145 | 161 | | |
146 | 162 | | |
147 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
64 | | - | |
| 65 | + | |
65 | 66 | | |
66 | | - | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
78 | | - | |
| 81 | + | |
79 | 82 | | |
80 | 83 | | |
81 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | | - | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
| 76 | + | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
0 commit comments