Skip to content

fix: /city visual parity with the dashboard - #19

Merged
arko33 merged 1 commit into
mainfrom
fix/city-mirror-palette
Oct 21, 2026
Merged

arko33 merged 1 commit into
mainfrom
fix/city-mirror-palette

Conversation

@arko33

@arko33 arko33 commented Oct 21, 2026

Copy link
Copy Markdown
Owner

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:

  • Background/fog = #05060a (dashboard ground), grid lines violet (#3d2f7a / #1c1a3a), ground plane dark.
  • Towers: violet base (#8b7cff-family) scaling with churn height, cyan (#67e8f9) edge lines, hot towers get the red (#ff7a6b) aura sprite — same accents as the dashboard.
  • Hover emissive = violet, selection = #8b7cff; header/panel chrome uses the same tokens (Inter font, blurred header).
    Verified: node --check; fresh recorder serves /city with the new palette markers (len 13864, palette+fog+aura present).

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ghostinthecodebase Ready Ready Preview Oct 21, 2026 7:33pm UTC

@testsprite

testsprite Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Caution

Failed Widespread failures — 23 failed

The backend suite shows one passing invoice visibility/retrieval flow, but the rest of the run did not produce executable product signals because 23 tests failed with the same TestSprite internal error reference. Since there were no blocked tests, the quality score is computed from the executable subset only; on that basis, the suite currently indicates limited verified stability beyond the single passing flow. The repeated failures are concentrated around invoice auth, validation, and ownership scenarios, so the app’s invoice surface still needs broader verification before it can be considered reliable for multi-user use.

Results: Passed 1 passed • Failed 23 failed • 24 total  ·  View Full Report ↗


Failed 23 failed tests

Failed 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: b4404137-9658-410c-b19e-5426784ec0ea)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed List alice's own invoices

Screenshot Error details

—

TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed List bob's own invoices

Screenshot Error details

—

TestSprite hit an internal error while running this test; our team has been notified. (ref: b4404137-9658-410c-b19e-5426784ec0ea)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)


Failed 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)

Passed 1 passed test
Test Case Status Screenshot
Invoice visibility and retrieval flow Passed Passed —
Evaluation Evaluation details

What could be better 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.

Next steps 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.


Automated end-to-end testing powered by TestSprite

@arko33
arko33 merged commit 8c0073a into main Oct 21, 2026
4 checks passed
@arko33
arko33 deleted the fix/city-mirror-palette branch October 21, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant