{{ message }}
Commit e148118
refactor(cli): address PR review feedback on image storage
- Drop unused storeId field on VercelBlobStorage (greptile)
- URL-encode path segments in urlFor() so keys with spaces, ?, # or
unicode produce valid URLs — required once PR 2/3 introduce branch
names in key paths (coderabbit)
- Harden storeIdToHost(): trim whitespace, throw on empty or prefix-only
input (coderabbit)
- Retry the post-delete 404 check up to 10s in the integration test;
Vercel Blob is eventually consistent at the CDN, so an immediate
re-fetch can briefly return cached bytes (coderabbit)
- Extend (not replace) vitest default excludes via configDefaults.exclude
so node_modules, dist, .idea, etc. stay excluded by default (coderabbit)
Skipped: SHA-pinning GitHub Actions in storage-integration.yml —
would be inconsistent with the rest of the repo (ci.yml, deploy-vercel*.yml
all use floating @v6 tags). Belongs in a separate repo-wide PR.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 806526a commit e148118
4 files changed
Lines changed: 57 additions & 8 deletions
File tree
- cli
- src/image/storage
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
28 | 43 | | |
29 | 44 | | |
30 | 45 | | |
| |||
66 | 81 | | |
67 | 82 | | |
68 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
69 | 96 | | |
70 | 97 | | |
71 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
33 | 31 | | |
34 | 32 | | |
35 | 33 | | |
36 | | - | |
| 34 | + | |
37 | 35 | | |
38 | 36 | | |
39 | 37 | | |
| |||
58 | 56 | | |
59 | 57 | | |
60 | 58 | | |
61 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |

0 commit comments