Commit da74c57
fix(ci): verify-step extracts the .vsix instead of grepping the listing
The previous round of verify-step used `unzip -l | grep -F` to assert
required files. Even after I switched to fixed-string matching, the
grep kept reporting false negatives on Windows Git Bash — the file
listing dumped on failure clearly showed every required path was
present, but grep still didn't match them. Likely CRLF / encoding
quirks in `unzip -l` output piped through `echo "$MANIFEST"` under
Git Bash.
Stop fighting it. Just extract the .vsix into a temp dir and run
`test -f` against each REQUIRED path. Real filesystem checks, no
parsing, no regex, no string-mode ambiguity.
This adds ~75 MB of disk I/O per build (we extract the whole zip)
which is fine for CI — the win32-x64 .vsix takes ~30s to package
anyway and the runner has plenty of disk.
On verify failure: still dump the relevant directories via `ls -la`
so a real future regression is diagnosable from the CI log.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 5825b5c commit da74c57
1 file changed
Lines changed: 17 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | | - | |
| 240 | + | |
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
244 | | - | |
245 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
246 | 251 | | |
247 | 252 | | |
| 253 | + | |
248 | 254 | | |
249 | 255 | | |
250 | 256 | | |
| |||
0 commit comments