Repository navigation
fix: /city visual parity with the dashboard - #19
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution
|
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Reject invoice listing without authentication
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Create invoice with malformed JSON body returns 400 invalid_json
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Create an invoice then read it back
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Return 404 for an unknown invoice id
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Create invoice with non-numeric amount returns 422 and creates nothing
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Deny access when Alice reads Bob's invoice
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Create invoice with missing customer returns 422 and creates nothing
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Get own seeded invoice by id as Bob
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
List invoices with a real user session returns only that user's seeded invoice
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Read a created invoice using the id captured from create
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Get own seeded invoice by id as Alice
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Invoice list response shape is stable for seeded invoices
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Reject invoice listing with unknown user identity
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Unknown invoice id returns not_found even for authenticated user
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Create invoice without x-user-id returns 401 and no invoice is created
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Reject unauthenticated invoice read
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Unauthenticated request to invoices endpoint should not reveal data even if caller is otherwise valid
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Create and read invoice as Alice, ensuring owner isolation fields
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Unknown x-user-id value returns 401 on POST /api/invoices
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Reject missing auth before invoice existence is evaluated
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea) |
Evaluation details
What could be better: The main weakness is that nearly all attempted checks for invoices — list, create, read, auth rejection, and validation — collapsed into the same harness-side internal error (
ref: b4404137-9658-410c-b19e-5426784ec0ea) instead of yielding product-level assertions. That means we cannot confirm whether endpoints like GET /api/invoices or POST /api/invoices actually enforce x-user-id, return 401/422/404, or preserve ownership boundaries. The only confirmed pass is the basic invoice visibility/retrieval flow, which is not enough to establish robustness across auth and validation paths.
Recommended next steps: First, reproduce the failing invoice scenarios locally or in a clean test environment and determine whether the issue is in the API or the test harness. Pay special attention to auth gating (
x-user-id missing/unknown), invoice ownership isolation, and malformed create payloads, because those are the highest-value behaviors covered by the failed titles. Once the harness is stable, rerun the invoice list/create/read tests one by one to isolate real API defects from infrastructure errors. If the internal error persists, inspect the test runner logs around the shared reference b4404137-9658-410c-b19e-5426784ec0ea before changing application code.
User feedback: /city still read as a different product next to /playground — different palette (teal vs violet/cyan), no fog, no glow on stressed towers. This aligns it with the dashboard's visual language while staying zero-dep on the recorder side:
Verified: node --check; fresh recorder serves /city with the new palette markers (len 13864, palette+fog+aura present).