Commit 2e77230
committed
fix(envlite): abort Phase 5 when ZipArchive extraction fails
ZipArchive::extractTo returns false on a partial or failed extraction
(permissions, full disk, malformed entries). The previous code ignored
that and unconditionally recorded the plugin directory as envlite-owned;
on the next run the db.copy short-circuit would then skip re-downloading
and leave a half-extracted, unverified SQLite plugin tree in place.
Treat a non-true return as fatal so Phase 5 surfaces the failure
instead of pinning broken state into the manifest.1 parent 00c740e commit 2e77230
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
540 | 545 | | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
541 | 549 | | |
542 | 550 | | |
543 | 551 | | |
| |||
0 commit comments