feat(install): add broadcasting support#6
Merged
anilcancakir merged 3 commits intomasterfrom Apr 5, 2026
Merged
Conversation
Add --without-broadcasting flag to install command, broadcasting config stub with Reverb connection, and conditional BROADCAST_CONNECTION/REVERB_* env vars that are only generated when broadcasting is enabled.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
There was a problem hiding this comment.
Pull request overview
Adds optional broadcasting scaffolding to the install command, including a new config/broadcasting.dart stub and conditional generation of broadcasting-related .env keys.
Changes:
- Introduces
--without-broadcastingto skip broadcasting config, provider registration, config import/factory, and env vars. - Adds a new broadcasting config stub (Reverb + null connections) and updates install tests/docs accordingly.
- Bumps package version to
0.0.1-alpha.4and updates the changelog.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| test/commands/install_command_test.dart | Updates config-count expectations and adds a new test group covering --without-broadcasting behavior and env var inclusion/exclusion. |
| README.md | Documents the new --without-broadcasting flag and generated broadcasting.dart config file. |
| pubspec.yaml | Version bump to 0.0.1-alpha.4. |
| lib/src/stubs/install_stubs.dart | Adds broadcasting config stub loader and makes .env / .env.example broadcasting keys conditional. |
| lib/src/commands/install_command.dart | Adds CLI flag handling and conditionally writes/imports broadcasting config + provider and env vars. |
| CHANGELOG.md | Adds 0.0.1-alpha.4 release notes. |
| assets/stubs/install/broadcasting_config.stub | New broadcasting config stub defining Reverb/null connections and env-driven defaults. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--without-broadcastingflag toinstallcommand withconfig/broadcasting.dartstub (Reverb + null connections)BROADCAST_CONNECTION,REVERB_*) conditional — only generated when broadcasting is enabled0.0.1-alpha.4Test plan
flutter test)--without-broadcastingtest group (4 tests: file skip, provider exclusion, config import exclusion, env var exclusion).envdart format,flutter analyze,dart pub publish --dry-runall clean