Repository navigation
feat: /city 3D — the playground layout, fed by the recorder's own stream - #18
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
Reject unauthenticated invoice read
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
List invoices does not leak other users' invoice records or fields
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
Reject invoice listing without authentication
| Screenshot | Error details |
|---|---|
|
— |
TestSprite hit an internal error while running this test; our team has been notified. (ref: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
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: 744806e1-cb74-47d5-bdb8-7b028ebc01fe) |
Evaluation details
What could be better: The main weakness is test executability, not a confirmed API regression: 23 backend cases all failed with the same message, "TestSprite hit an internal error while running this test; our team has been notified. (ref: 744806e1-cb74-47d5-bdb8-7b028ebc01fe)". That means the suite is not currently exercising key invoice flows such as
GET /api/invoices/:id, POST /api/invoices, auth rejection, and validation behavior. The only concrete positive signal is the passed "Invoice visibility and retrieval flow" integration test. Until the harness issue is resolved, there is no trustworthy evidence about whether the app returns correct 401/404/422 behavior or enforces owner isolation.
Recommended next steps: First, fix the TestSprite runner issue tied to ref
744806e1-cb74-47d5-bdb8-7b028ebc01fe, because the current run cannot distinguish product bugs from infrastructure problems. Re-run the invoice suite after that and confirm the core contract around authentication, record ownership, and request validation: unauthenticated requests should be rejected, unknown users should get 401, unknown invoice ids should return 404, and invalid create payloads should return 422/400 without creating records. If the runner still fails, isolate by running only the passing integration case and one simple CRUD test at a time. See the fixPrompt panel for the copy-ready action list and verification steps.
User feedback: the 2D /city card did not read like the product. This rebuilds /city with the same layout language as the published playground — 3D city center (three.js via browser CDN, importmap), session/turns panel left, selected-tower panel right with the real patch link (/diff/), turn dock bottom — all streamed from the recorder's /session on loopback.