Commit c8d3ab8
fix(appfs): move install marker to a distinct key in S3
s3Copier wrote a zero-byte "installation complete" marker at the same
key the version's files live under (slug/version), with file contents
stored at slug/version/<name>. S3 browsers render that as a folder and
a file with the same name sitting side by side, which is misleading
when admins inspect the bucket.
Move the marker to <appObj>.cozy-installed so it sits on its own
distinct key while keeping the file layout unchanged.
Backward compat note: apps installed under the previous marker key
will be re-copied on first access (Exist returns false for the new
key → Start triggers a fresh install). This is a no-op cost for fresh
deployments; for existing s3-test installations the app payload gets
re-uploaded once.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 503e7dc commit c8d3ab8
1 file changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | | - | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| |||
120 | 127 | | |
121 | 128 | | |
122 | 129 | | |
123 | | - | |
124 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
125 | 134 | | |
126 | 135 | | |
127 | 136 | | |
| |||
0 commit comments