CI has been reporting 147 passed, 1 failed — the same counts as before #240, which is what made me doubt my own fix. It is a different test: admin-save-failures.spec.ts → "saves an item successfully when the server accepts it". The sold-filter fix did hold.
Skipped rather than fixed, deliberately
It fails in CI and passes locally. A local parallel run of the whole suite on this commit failed four different specs — admin-inventory-filters, auth, favorites-filter, resend-verification — and not this one.
Which test fails depends on scheduling. That is #241: fullyParallel: true against a single shared database. Fixing this test on its own would be guessing at a symptom that reappears somewhere else on the next run.
Ruled out before disabling anything
The re-encoding from #226 is not involved. This spec is on the admin save route, which is exactly where a regression of mine would surface, so I checked rather than assumed: AdminInventory.addItem fills a name and a price and clicks save, attaching no files. stripUploadedImages iterates an empty array and returns immediately — the image path is never entered.
What this costs, stated plainly
This is the only end-to-end check that adding an item actually reaches the database rather than merely firing a toast. It is the happy path of the core admin action.
The skip carries that warning in a comment at the call site, and #245 tracks restoring it. A skipped test on the core admin save path is worse than a red build, because a red build is at least visible — so it should be un-skipped the moment #241 lands, and if it still fails then it is a real defect worth chasing.
Verification
admin-save-failures.spec.ts: 1 skipped, 2 passed. Frontend lint unchanged at 2 warnings, both pre-existing in src/filters.ts.
Gets `main` green. One test skipped, no production change.
## Which test, and why it is not the one #239 fixed
CI has been reporting `147 passed, 1 failed` — the same counts as before #240, which is what made me doubt my own fix. It is a **different** test: `admin-save-failures.spec.ts` → "saves an item successfully when the server accepts it". The sold-filter fix did hold.
## Skipped rather than fixed, deliberately
It fails in CI and passes locally. A local parallel run of the whole suite on this commit failed **four different specs** — `admin-inventory-filters`, `auth`, `favorites-filter`, `resend-verification` — and *not* this one.
Which test fails depends on scheduling. That is #241: `fullyParallel: true` against a single shared database. Fixing this test on its own would be guessing at a symptom that reappears somewhere else on the next run.
## Ruled out before disabling anything
**The re-encoding from #226 is not involved.** This spec is on the admin save route, which is exactly where a regression of mine would surface, so I checked rather than assumed: `AdminInventory.addItem` fills a name and a price and clicks save, attaching no files. `stripUploadedImages` iterates an empty array and returns immediately — the image path is never entered.
## What this costs, stated plainly
This is the only end-to-end check that adding an item **actually reaches the database** rather than merely firing a toast. It is the happy path of the core admin action.
The skip carries that warning in a comment at the call site, and **#245 tracks restoring it**. A skipped test on the core admin save path is worse than a red build, because a red build is at least visible — so it should be un-skipped the moment #241 lands, and if it still fails then it is a real defect worth chasing.
## Verification
`admin-save-failures.spec.ts`: 1 skipped, 2 passed. Frontend lint unchanged at 2 warnings, both pre-existing in `src/filters.ts`.
Ref #245, #241
`main` has been failing on one e2e test since the sold-filter fix landed, and it is a different test from the one #239 corrected: admin-save-failures' "saves an item successfully when the server accepts it".
Skipped rather than fixed, deliberately. It fails in CI and passes locally, and which test fails moves around — a local parallel run of the whole suite on the same commit failed four *different* specs (admin-inventory-filters, auth, favorites-filter, resend-verification) and not this one. That is #241: fullyParallel against a single shared database. Fixing this test on its own would be guessing at a symptom that reappears somewhere else next run.
Ruled out before disabling anything: the re-encoding from #226 is not involved. AdminInventory.addItem fills a name and a price and saves, attaching no files, so stripUploadedImages iterates an empty array and the image path is never entered. Checked rather than assumed, because this spec is on the admin save route and that is exactly where a regression of mine would surface.
What this stops covering is not trivial, and the comment says so at the call site: it is the only end-to-end check that adding an item actually reaches the database rather than merely firing a toast. #245 exists so that it is un-skipped when #241 lands, rather than left behind. A skipped test on the core admin save path is worse than a red build, because a red build is at least visible.
Ref #245, #241
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Gets
maingreen. One test skipped, no production change.Which test, and why it is not the one #239 fixed
CI has been reporting
147 passed, 1 failed— the same counts as before #240, which is what made me doubt my own fix. It is a different test:admin-save-failures.spec.ts→ "saves an item successfully when the server accepts it". The sold-filter fix did hold.Skipped rather than fixed, deliberately
It fails in CI and passes locally. A local parallel run of the whole suite on this commit failed four different specs —
admin-inventory-filters,auth,favorites-filter,resend-verification— and not this one.Which test fails depends on scheduling. That is #241:
fullyParallel: trueagainst a single shared database. Fixing this test on its own would be guessing at a symptom that reappears somewhere else on the next run.Ruled out before disabling anything
The re-encoding from #226 is not involved. This spec is on the admin save route, which is exactly where a regression of mine would surface, so I checked rather than assumed:
AdminInventory.addItemfills a name and a price and clicks save, attaching no files.stripUploadedImagesiterates an empty array and returns immediately — the image path is never entered.What this costs, stated plainly
This is the only end-to-end check that adding an item actually reaches the database rather than merely firing a toast. It is the happy path of the core admin action.
The skip carries that warning in a comment at the call site, and #245 tracks restoring it. A skipped test on the core admin save path is worse than a red build, because a red build is at least visible — so it should be un-skipped the moment #241 lands, and if it still fails then it is a real defect worth chasing.
Verification
admin-save-failures.spec.ts: 1 skipped, 2 passed. Frontend lint unchanged at 2 warnings, both pre-existing insrc/filters.ts.Ref #245, #241