Skip to content

fix(install.sh): find maxdepth 3 for tarball layout - #10

Merged
arko33 merged 1 commit into
mainfrom
fix/install-sh-depth
Oct 21, 2026
Merged

arko33 merged 1 commit into
mainfrom
fix/install-sh-depth

Conversation

@arko33

@arko33 arko33 commented Oct 21, 2026

Copy link
Copy Markdown
Owner

The GitHub tarball wraps the repo in a root folder (ghostinthecodebase-main/), so packages/ghost sits at depth 3 from the extraction dir — maxdepth 2 never matched and the mac/linux installer exited with 'packages/ghost not found in tarball'. Verified working: the Windows installer (install.ps1, recurse-based) was unaffected. Tested end-to-end via the curl one-liner in git-bash after merge.

@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 5:45pm UTC

@testsprite

testsprite Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Caution

Failed Widespread failures — 23 failed

The executable subset of this backend suite is essentially a single passing integration check, with the rest of the run blocked by TestSprite internal errors rather than confirmed product failures. One integration test passed, but 24 additional tests could not be meaningfully evaluated because the harness returned the same internal error reference (923c532e-b6f1-4c6a-82d9-7d5c05945b72). That means the computed score reflects only the runnable portion of the suite, not the blocked cases. On the evidence available, the API appears at least partially functional for invoice visibility/retrieval, but the run is too incomplete to claim stable auth, validation, or isolation behavior.

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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


Failed Reject invoice listing without authentication

Screenshot Error details

—

TestSprite hit an internal error while running this test; our team has been notified. (ref: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


Failed List alice's own invoices

Screenshot Error details

—

TestSprite hit an internal error while running this test; our team has been notified. (ref: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


Failed List bob's own invoices

Screenshot Error details

—

TestSprite hit an internal error while running this test; our team has been notified. (ref: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


Failed Reject unauthenticated invoice read

Screenshot Error details

—

TestSprite hit an internal error while running this test; our team has been notified. (ref: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)


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: 923c532e-b6f1-4c6a-82d9-7d5c05945b72)

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 issue is test execution reliability, not a clearly exposed API defect: almost every scenario after the first pass is marked failed with the identical TestSprite internal error reference 923c532e-b6f1-4c6a-82d9-7d5c05945b72. Because the suite never got meaningful responses from endpoints like POST /api/invoices or invoice read/list flows, there is no trustworthy signal yet on request validation, authorization, or tenant isolation. The only concrete positive signal is the passing invoice visibility/retrieval integration test; everything else remains unverified due to the harness failure, which obscures whether there are hidden 401/404/422/schema issues.

Next steps Recommended next steps: First, rerun the suite or a minimal subset to confirm whether the repeated TestSprite internal error is environmental or tied to a specific endpoint pattern. If the harness can be made to execute, prioritize the high-value invoice cases: unauthenticated list/read should return 401, unknown invoice IDs should return 404, and create requests should validate malformed JSON, missing customer, and non-numeric amount with 400/422 as designed. Once the runner is stable, compare Alice vs. Bob list/read results to verify ownership isolation and stable response shapes. Use the fixPrompt panel below as the copy-ready checklist for the coding agent.


Automated end-to-end testing powered by TestSprite

@arko33
arko33 merged commit 5daa8f1 into main Oct 21, 2026
4 checks passed
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