Skip to content

Fix jsonrpc router default feature#214

Merged
yeoleobun merged 2 commits intorestsend:mainfrom
yeoleobun:codex/fix-jsonrpc-default-feature
Apr 29, 2026
Merged

Fix jsonrpc router default feature#214
yeoleobun merged 2 commits intorestsend:mainfrom
yeoleobun:codex/fix-jsonrpc-default-feature

Conversation

@yeoleobun
Copy link
Copy Markdown
Collaborator

Summary

  • remove addon-jsonrpc-router from default features because the repository only contains a symlink to private addon source
  • move SSE-related AMI imports into the commerce-only handler where they are used

Root cause

CI enables default features while building with --features cross. The default feature set included addon-jsonrpc-router, but src/addons/jsonrpc_router is a symlink to ../../../rustpbx-addons/jsonrpc_router, so GitHub Actions cannot resolve src/addons/jsonrpc_router/mod.rs.

Validation

  • cargo check
  • cargo check --features cross

@yeoleobun yeoleobun marked this pull request as ready for review April 29, 2026 10:00
@yeoleobun yeoleobun merged commit ac884d8 into restsend:main Apr 29, 2026
3 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