Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d73d111
fix(twilio-run): migrate from ngrok to @ngrok/ngrok for Apple Silicon…
deshartman Jan 8, 2026
0a018da
fix(twilio-run): address PR #546 review feedback
deshartman Jan 12, 2026
77a1eb7
fix(twilio-run): address Copilot review feedback and improve ngrok in…
deshartman Jan 13, 2026
d990daa
Update packages/twilio-run/src/config/start.ts
deshartman Jan 13, 2026
9d32ce7
Update packages/twilio-run/CHANGELOG.md
deshartman Jan 13, 2026
721199d
Update .changeset/migrate-ngrok-package.md
deshartman Jan 13, 2026
3a236f9
test(twilio-run): fix snapshot test and prevent system config leakage
deshartman Jan 13, 2026
b55b220
fix(twilio-run): address PR review feedback from jannoteelem
deshartman Jan 19, 2026
76af74b
fix(twilio-run): improve authtoken regex to handle edge cases
deshartman Jan 19, 2026
e67b311
fix(twilio-run): remove TEST_FAIL.md per review feedback
deshartman Jan 19, 2026
12134b8
test(twilio-run): add complete test coverage for ngrok cleanup
deshartman Jan 19, 2026
b561476
fix(twilio-run): add fallback for undefined error.message in ngrok er…
deshartman Jan 19, 2026
1e8d18b
fix(twilio-run): address three Copilot comments on PR #546
deshartman Jan 19, 2026
13e66b4
refactor(twilio-run): comprehensive ngrok implementation improvements
deshartman Jan 19, 2026
1ce3798
fix(twilio-run): restructure ngrok error handling architecture
deshartman Jan 19, 2026
8cff625
fix(twilio-run): address Copilot review comments with systematic fixes
deshartman Jan 19, 2026
6f5ce82
Update packages/twilio-run/README.md
deshartman Jan 19, 2026
bd57a7f
Update packages/twilio-run/__tests__/config/start.test.ts
deshartman Jan 20, 2026
48f29dd
fix(twilio-run): address Copilot review and ESLint signal handler issues
deshartman Jan 20, 2026
11cc112
fix(twilio-run): address Copilot review #3680170384 (all 4 comments)
deshartman Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .changeset/migrate-ngrok-package.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"twilio-run": patch
---

Migrate from `ngrok@^3.3.0` to `@ngrok/ngrok@^1.7.0` (official ngrok package) for improved reliability and Apple Silicon support. This fixes spawn error -88 on Apple Silicon Macs through better cross-platform binary management that eliminates architecture-specific binary issues.

**Key improvements:**
- Updates to @ngrok/ngrok v1.7.0 (latest stable)
- Automatic authtoken detection from ngrok config files (now includes Windows support: `%USERPROFILE%\AppData\Local\ngrok\ngrok.yml`)
- Fixed domain detection to correctly identify ngrok domains using precise TLD matching (uses `.endsWith('.ngrok.io')`, `.endsWith('.ngrok.dev')`, `.endsWith('.ngrok-free.app')` instead of substring matching)
- Prevents false positives like "company.ngrokit.com" being treated as ngrok domains
- Fixed authtoken regex to ignore inline comments in config files
- Enhanced error messages with platform-specific troubleshooting guidance
- Backward compatible: `--ngrok=myapp` automatically converts to `myapp.ngrok.io`
- Supports all official ngrok TLDs: `.ngrok.io`, `.ngrok.dev`, `.ngrok-free.app`
4 changes: 2 additions & 2 deletions packages/twilio-run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ twilio-run --inspect
# Exposes the Twilio functions via ngrok to share them
twilio-run --ngrok

# Exposes the Twilio functions via ngrok using a custom subdomain (requires a paid-for ngrok account)
twilio-run --ngrok=subdomain
# Exposes the Twilio functions via ngrok using a custom subdomain (requires a paid ngrok account)
twilio-run --ngrok=myapp
```

### `twilio-run deploy`
Expand Down
Loading
Loading