Repository navigation
refactor(google-meet): share browser open and recovery setup - #140972
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 7, 2026, 8:05 AM ET / 12:05 UTC. ClawSweeper reviewWhat this changesShares Google Meet’s browser opening and existing-tab recovery between local Chrome and paired-node Chrome while preserving audio preparation and readiness checks. Merge readiness✅ Ready for maintainer review Keep open: this maintainer-requested consolidation remains useful and is absent from the inspected main and latest release. No introduced correctness defect was found; the broader migration decisions do not block this bounded extraction. Priority: P3 Review scores
Verification
How this fits togetherGoogle Meet’s transport receives meeting URLs, session identity, and configuration from the plugin runtime. It controls local or paired-node Chrome through shared meeting APIs, then starts audio when browser health permits. flowchart TD
A[Meeting join or bridge recovery] --> B[Choose local or paired node]
B --> C[Prepare audio prerequisites]
C --> D[Shared browser setup]
D --> E{Launch enabled}
E -->|Yes| F[Open or reuse meeting tab]
E -->|No| G[Recover existing meeting tab]
F --> H[Check readiness and return audio and browser state]
G --> H
Before mergeNone. Agent review detailsSecurityNone. PR surfaceSource -38. Total -38 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Retain the private consolidation while keeping full transport migration and its lifecycle policy choices in separately approved work. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR removes duplicated orchestration rather than fixing a reported runtime defect; source inspection establishes the duplication. Is this the best way to solve the issue? Yes: sharing the private sequence preserves existing SDK calls and Google-specific behavior without prematurely adopting the broader transport factory. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0f8932785cca. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
af15e1b to
2023360
Compare
Preserve local and node prerequisite ordering, tab adoption, and bridge readiness while sharing their private browser sequence. Full SDK migration remains decision-gated. Proof: node scripts/run-vitest.mjs extensions/google-meet src/meeting-bot (536 passed); pnpm build passed; autoreview clean through P2. Changed checks: 19 passed, extension lint blocked by the documented nested-checkout declaration boundary.
2023360 to
3772dee
Compare
|
Merged via squash.
|
* commit 'b07b7d8bd1293c4e70ece7281b9cb8422318ae5a': (30 commits) fix(ui): keep reopened select menus visible (#141047) test(ui): fix dashboard gallery client fixtures (#141203) refactor(links): remove unused understanding results (#141200) refactor(plugins): share manifest contribution projection (#141193) refactor(logging): share portable redaction pattern mechanics (#140742) chore(ui): refresh control ui locales (#141208) refactor(minimax): reuse generated video asset downloader (#141094) fix(test): await Telegram loopback prompt reception (#141204) refactor(acp): remove unused in-memory event ledger (#141145) improve(models): reduce overhead in catalog discovery (#141154) refactor(channels): share approval reaction settlement (#140645) chore(i18n): refresh native locales (#141089) refactor: share one-shot tickets and WebSocket helpers across desktop, node, and browser streams (#141185) refactor(google-meet): share browser open and recovery setup (#140972) refactor(plugins): share npm version queries (#141166) refactor(http): share bounded response byte consumption (#140654) refactor(whatsapp): share prompt selection (#141195) fix: bound temporary storage for terminal upload batches (#141116) perf(markdown): reuse image parser configuration (#141126) fix(policy): align tool requirements with core vocabulary (#140628) ...
…w#140972) Preserve local and node prerequisite ordering, tab adoption, and bridge readiness while sharing their private browser sequence. Full SDK migration remains decision-gated. Proof: node scripts/run-vitest.mjs extensions/google-meet src/meeting-bot (536 passed); pnpm build passed; autoreview clean through P2. Changed checks: 19 passed, extension lint blocked by the documented nested-checkout declaration boundary.
What Problem This Solves
Google Meet carries parallel browser/audio orchestration beside the shared meeting-bot owner. This maintainer-requested consolidation precursor removes the duplicated local/node browser open-or-recover sequence while the full SDK composition contract is decided.
Why This Change Was Made
Both Google Meet routes now use one private helper around the existing
meeting-runtimebrowser APIs. Audio prerequisites and external health checks still finish before local browser routing, and bridge startup still waits for the same readiness check. Production delta: 16 added, 54 removed (net -38); tests unchanged.The eventual canonical transport/facade/setup owners remain
src/meeting-bot. This bounded PR does not claim that migration is complete. The caption-serialization work in #140682 is separate and untouched; #140792's platform-guard coverage is already on main.User Impact
No intentional user-visible behavior, configuration, SDK signature, transcript storage, or endpoint-permission change.
Deferred API choice (maintainer)
The maintainer approved landing this bounded precursor independently; the broader API design below remains deferred.
Full consolidation needs public composition parameters that the campaign decision gate reserves for maintainer approval:
launch:false: Google recovers existing tabs on launch but skips browser leave; core permits leave for reused tabs. Preserve Google's current behavior until explicitly decided.The facade also needs typed composition for Twilio, browser creation, mode normalization and
keepBrowserTab; setup needs Google's OAuth/Twilio seed and diagnostic policy. Google transcribe currently invokes nodestart, while core skips it. Do not erase these differences in a factory swap.Evidence
git range-diffconfirmed this private helper extraction is unchanged.node scripts/run-vitest.mjs extensions/google-meet src/meeting-bot: 49 files, 536 tests passed on the refreshed head.node scripts/check-changed.mjs: 19 checks passed. Extension lint preparation hit the approved nested-worktreeDeclaration input escapes checkoutlimitation; exact-head hosted CI supplies that boundary proof.git diff --checkpassed.openclaw/ci-gatepassed on3772deefc85b60ccde9d6c22766db791d1845380. Fresh check reads showed no failures; no manual CI rerun was required.OPENCLAW_TESTBOX=1 scripts/pr prepare-run 140972passed without changing the green CI head.