Repository navigation
Commit d2b9d29
fix: send full asset manifest during preflight deploys
When preflight was used, the API merged the entire previous deployment's
asset manifest to fill in skipped assets. This caused stale entries from
old builds (renamed/deleted hashed files) to accumulate in the serving
manifest and DB, growing forever across deploys.
Now the CLI sends the full asset manifest as a FormData field alongside
the changed files. The API uses this as the authoritative path list
instead of blindly merging from the previous deployment. Falls back to
old behavior for older CLIs.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b29f906 commit d2b9d29
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
551 | 552 | | |
552 | 553 | | |
553 | 554 | | |
| 555 | + | |
554 | 556 | | |
555 | 557 | | |
556 | 558 | | |
| |||
877 | 879 | | |
878 | 880 | | |
879 | 881 | | |
| 882 | + | |
880 | 883 | | |
881 | 884 | | |
882 | 885 | | |
| |||
0 commit comments