Commit e06ae42
committed
fix(build): Namespace snapshot object keys by org and project
Previously, snapshot images were stored using only their SHA256 hash as
the object key. This could cause collisions or incorrect sharing of
objects across organizations and projects with identical file contents.
Now keys are scoped as `{org_id}/{project_id}/{hash}` to ensure proper
isolation in the object store.1 parent c84fd84 commit e06ae42
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
219 | 234 | | |
220 | 235 | | |
221 | 236 | | |
| |||
231 | 246 | | |
232 | 247 | | |
233 | 248 | | |
| 249 | + | |
234 | 250 | | |
235 | | - | |
| 251 | + | |
236 | 252 | | |
237 | 253 | | |
238 | 254 | | |
239 | 255 | | |
240 | | - | |
| 256 | + | |
241 | 257 | | |
242 | 258 | | |
243 | 259 | | |
| |||
0 commit comments