Skip to content

build(sidecar): enable whatsapp-web,channel-matrix features when staging core#742

Merged
senamakel merged 1 commit intotinyhumansai:mainfrom
jwalin-shah:fix/sidecar-feature-flags
Apr 22, 2026
Merged

build(sidecar): enable whatsapp-web,channel-matrix features when staging core#742
senamakel merged 1 commit intotinyhumansai:mainfrom
jwalin-shah:fix/sidecar-feature-flags

Conversation

@jwalin-shah
Copy link
Copy Markdown
Contributor

@jwalin-shah jwalin-shah commented Apr 22, 2026

Summary

  • Staging script built openhuman-core without the whatsapp-web and channel-matrix features, so the bundled sidecar shipped the feature-gated stubs and failed at runtime with requires 'whatsapp-web' feature.
  • Wire both features into scripts/stage-core-sidecar.mjs so the staged binary matches what the rest of the build expects.

Test plan

  • cd app && yarn core:stage produces a sidecar that starts without the whatsapp-web runtime error.
  • WhatsApp Web and Matrix channel registry paths exercise without missing-feature errors.

Summary by CodeRabbit

  • New Features
    • Enabled support for WhatsApp Web and Matrix channel integrations.

Staged openhuman-core sidecar was compiled without these optional
features, so the shipped binary embedded the feature-gated stubs and
failed at runtime with "requires 'whatsapp-web' feature". Wire both
features into the cargo build invocation so the real WA-web and Matrix
listeners make it into the binary.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 22, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b48bd415-75ac-435e-bfd7-573b8a4cdba4

📥 Commits

Reviewing files that changed from the base of the PR and between 5fff556 and 8ecd9ac.

📒 Files selected for processing (1)
  • scripts/stage-core-sidecar.mjs

📝 Walkthrough

Walkthrough

The build script for staging the core sidecar now explicitly enables the whatsapp-web and channel-matrix Cargo features when building the openhuman-core binary, using the --features flag with cargo build. No other staging logic was modified.

Changes

Cohort / File(s) Summary
Build Configuration
scripts/stage-core-sidecar.mjs
Modified Cargo build invocation to explicitly enable whatsapp-web,channel-matrix features via --features flag instead of relying on default features.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A rabbit hops through build scripts with glee,
Enabling channels—WhatsApp and Matrix, you see!
Features now flutter like carrots in the breeze,
The sidecar's built faster, the build system's pleased! 🥕✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: enabling whatsapp-web and channel-matrix features in the sidecar build process via the staging script.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@senamakel senamakel merged commit 1b6a16f into tinyhumansai:main Apr 22, 2026
7 of 8 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.

3 participants