Skip to content

Fix bugs when using on clean machine#10

Open
bettercallsaulj wants to merge 8 commits intomainfrom
fix_homebrew_native_crash_error
Open

Fix bugs when using on clean machine#10
bettercallsaulj wants to merge 8 commits intomainfrom
fix_homebrew_native_crash_error

Conversation

@bettercallsaulj
Copy link
Copy Markdown
Collaborator

RahulHere added 8 commits April 28, 2026 07:26
Switch submodule from gateway-img-with-auth to br_release branch.
Includes /ready K8s endpoint, updated LLM models, gopher-mcp v0.1.5.
Auto-detect Homebrew dylib dependencies (OpenSSL, libevent, curl,
nghttp2) via otool -L, copy them into native/lib/, and rewrite all
paths to @loader_path/ using install_name_tool.

npm consumers no longer need Homebrew installed to load the native
libraries on macOS.
…#9)

Bundle transitive dylib dependencies recursively and re-sign all
dylibs after install_name_tool to fix macOS 26 SIGKILL on dlopen.
GitHub Actions workflow to test npm package on clean machines:
- macOS ARM64 (Homebrew removed)
- macOS x64 (Homebrew removed)
- Linux x64 (node:20-slim container)

Triggered manually with npm version input. Catches Bug 4
(invalid codesign) and Bug 5 (missing transitive deps).
Added resolve_dep() to search Homebrew paths for @rpath references.
Fixes missing libbrotlicommon.1.dylib that caused dlopen failure.
…ion order (#9)

- Add export {} to 5 test files to isolate variable scope (TS2451)
- Move error class imports outside native availability check in
  gopher-auth.test.ts (InsufficientScopesError/TokenValidationError)
- Move config validation before native lib init in gopher-auth.ts
  so ConfigurationError is thrown before generic Error
- Suppress ban-types for Express app parameter (Function type)
- Suppress unsafe-any rules in middleware (Express req/res are any)
routes.ts and loader.ts intentionally use any for Express request/
response handling and koffi FFI bindings. Added file-level eslint
disable for unsafe-any rules.
@bettercallsaulj bettercallsaulj force-pushed the fix_homebrew_native_crash_error branch from 45ec3f8 to b263438 Compare April 29, 2026 00:20
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