-
Notifications
You must be signed in to change notification settings - Fork 3.4k
feat(core): compile-time meet feature gate (#4800) #4915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
M3gA-Mind
merged 8 commits into
tinyhumansai:main
from
oxoxDev:feat/4800-meet-feature-gate
Jul 16, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
349c3ea
feat(meet): add default-on `meet` Cargo feature (#4800)
oxoxDev cdf0331
feat(meet): gate the meet, meet_agent and agent_meetings domains (#4800)
oxoxDev e0ac96f
test(meet): pin the meet gate in both directions (#4800)
oxoxDev 9ff9f4d
build(app): keep meet enabled in the desktop shell (#4800)
oxoxDev 882798a
docs(meet): document the meet gate, patterns and wav carve-out (#4800)
oxoxDev c4a6b03
Merge remote-tracking branch 'upstream/main' into feat/4800-meet-feat…
oxoxDev 6c4ad4a
Merge remote-tracking branch 'upstream/main' into pr/4915
senamakel 38a989e
Merge remote-tracking branch 'upstream/main' into feat/4800-meet-feat…
oxoxDev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| //! No-op stand-ins for the `agent_meetings` symbols that always-compiled code | ||
| //! reaches for, used when the `meet` feature is off (#4800). | ||
| //! | ||
| //! Only the three symbols with non-registration call sites outside the Meet | ||
| //! domain live here. Everything else in `agent_meetings` is reachable only via | ||
| //! the controller registry, which is itself `#[cfg(feature = "meet")]` at | ||
| //! `core::all` — so it needs no stub. | ||
| //! | ||
| //! These are genuine no-ops, not "register a controller that then errors": a | ||
| //! `register_*` that registers nothing is exactly the intended disabled-build | ||
| //! behaviour — the subscriber simply never exists, so the events never route. | ||
|
|
||
| /// Stub of [`super::calendar`](../calendar/index.html) for `--no-default-features` builds. | ||
| pub mod calendar { | ||
| /// No-op stand-in for `calendar::register_meet_calendar_subscriber`. | ||
| /// | ||
| /// With `meet` compiled out there is no calendar-triggered meeting flow to | ||
| /// drive, so registering nothing is the correct behaviour: the event bus | ||
| /// keeps routing, it just has no Meet subscriber attached. | ||
| pub fn register_meet_calendar_subscriber() {} | ||
|
|
||
| /// No-op stand-in for `calendar::handle_calendar_meeting_candidate`. | ||
| /// | ||
| /// The `bool` means "Meet published its own actionable card, so the caller | ||
| /// should skip its generic one". With `meet` compiled out no card was ever | ||
| /// published, so `false` is semantically exact — the heartbeat planner | ||
| /// correctly falls through to its plain "meeting starting" reminder. | ||
| pub async fn handle_calendar_meeting_candidate( | ||
| _meet_url: String, | ||
| _event_title: String, | ||
| _owner_display_name: Option<String>, | ||
| _calendar_event_id: Option<String>, | ||
| ) -> bool { | ||
| false | ||
| } | ||
| } | ||
|
|
||
| /// Stub of [`super::bus`](../bus/index.html) for `--no-default-features` builds. | ||
| pub mod bus { | ||
| /// No-op stand-in for `bus::register_meeting_event_subscriber`. | ||
| /// | ||
| /// Same reasoning as `calendar::register_meet_calendar_subscriber`: the | ||
| /// `Meeting*` / `BackendMeet*` domain events still exist on the bus (they | ||
| /// are inert plain data), they simply have no subscriber and never fire. | ||
| pub fn register_meeting_event_subscriber() {} | ||
| } |
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.