Skip to content

fix Google Workspace connection probes - #1704

Draft
erichanwang wants to merge 1 commit into
rocketride-org:developfrom
erichanwang:fix/google-workspace-connection-probes
Draft

fix Google Workspace connection probes#1704
erichanwang wants to merge 1 commit into
rocketride-org:developfrom
erichanwang:fix/google-workspace-connection-probes

Conversation

@erichanwang

Copy link
Copy Markdown

fixes #1694

changes:

  • make Gmail check_connection call users.getProfile(me) before reporting ok
  • make Drive check_connection call about.get(fields=user) before reporting ok
  • add probe-failure regressions for Gmail and Drive

notes:

  • Calendar already had a live probe. Docs and Sheets do not have a harmless no-id metadata read endpoint, so this keeps them unchanged instead of doing a fake probe.

verification:

  • git diff --check
  • PYTHONPATH=nodes/src:nodes/test:packages/server/engine-lib/rocketlib-python/lib /home/ericwang/Projects/upstream-contributions/rocketride-issue1638/.venv/bin/python -m pytest nodes/test/tool_google_workspace/gmail/test_gmail.py nodes/test/tool_google_workspace/drive/test_drive.py -q -> 172 passed
  • pre-commit hook: gitleaks, ruff check, ruff format --check

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 1b54376d-de9d-4fce-93e5-23af5c61c585

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ 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.

@github-actions github-actions Bot added the module:nodes Python pipeline nodes label Jul 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor
🤖 Internal: Discord sync marker

Auto-managed by the Discord notification workflow. Stores the linked Discord message ID and forum thread ID. Do not edit or delete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module:nodes Python pipeline nodes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tool_google_workspace: connection_ok reports true when the Google API is disabled

1 participant