Skip to content

fix(server): return 404 for missing files - #44089

Open
Brendonovich wants to merge 1 commit into
v2from
fs-read-404
Open

fix(server): return 404 for missing files#44089
Brendonovich wants to merge 1 commit into
v2from
fs-read-404

Conversation

@Brendonovich

Copy link
Copy Markdown
Member

Summary

  • expose missing filesystem reads as a typed core error
  • return an empty 404 response from the raw file read endpoint
  • cover reading a file after it is deleted

Testing

  • bun test test/fetch.test.ts in packages/server
  • bun typecheck in packages/core
  • bun typecheck in packages/server
  • full workspace typecheck via push hook

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