Skip to content

fix(build): build and test the gateway on macOS - #162

Open
adriannoes wants to merge 3 commits into
developmentfrom
fix/macos-portability
Open

adriannoes wants to merge 3 commits into
developmentfrom
fix/macos-portability

Conversation

@adriannoes

Copy link
Copy Markdown
Collaborator

Summary

  • Embed the dashboard's JavaScript source without rewriting it. The previous build step changed the script on macOS and could change string literals on Linux.
  • Ask the C compiler whether it supports the warning flag before using the flag for the bundled database. Apple Clang can now build the test suite with warnings treated as errors.
  • Reject a relative workspace path when its first unresolved component is a parent directory. Existing paths inside the workspace still work.

Test plan

  • Decompress both JavaScript bundles. Parse the scripts and compare the content with the source files.
  • Run the full test suite with the gateway enabled on macOS and Ubuntu ARM64.
  • Run the workspace path tests on macOS, including a new file inside a temporary workspace.

@adriannoes adriannoes added the bug Something isn't working label Nov 27, 2026
@adriannoes adriannoes self-assigned this Nov 27, 2026
@adriannoes adriannoes added the review: ready for approval The code is ready for the required GitHub approval. label Nov 27, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working review: ready for approval The code is ready for the required GitHub approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant