Skip to content

feat(flows): hand off onboarding flows to Cloud /flows/deploy - #75

Merged
kjgbot merged 1 commit into
mainfrom
feat/flows-cloud-deploy-handoff
Sep 15, 2026
Merged

kjgbot merged 1 commit into
mainfrom
feat/flows-cloud-deploy-handoff

Conversation

@kjgbot

@kjgbot kjgbot commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • The Flows onboarding Continue with Google button now opens Cloud's /cloud/flows/deploy instead of /cloud/flows/import.
  • The flow still travels only in the URL fragment, so source code and ticket filters never reach OAuth state, cookies, or server logs. Cloud's deploy page stores it in localStorage (same agentrelay.com origin) so it survives Google sign-in.

Dependency

Needs the Cloud /flows/deploy page from the companion Cloud PR (AgentWorkforce/cloud, branch feat/flows-deploy). Merge that first, or the button lands on a 404.

Test plan

  • npx vitest run lib/test/flow-onboarding.test.ts lib/test/flow-analytics.test.ts lib/test/flow-agent-settings.test.ts → 41 passed
  • Local end to end: onboarding on :3002 with NEXT_PUBLIC_CLOUD_URL=http://localhost:3000/cloud hands off to the local Cloud deploy page

🤖 Generated with Claude Code


Note

Low Risk
Low-risk URL path and comment change; handoff security model unchanged, but depends on the Cloud deploy page being deployed first.

Overview
Flow onboarding’s Continue with Google handoff now targets Cloud’s /flows/deploy route instead of /flows/import, via cloudConnectionsHref in flow-onboarding.ts.

The draft payload is still passed only in the URL hash (not query/OAuth/logs); comments now note that Cloud’s deploy page persists it in localStorage through Google sign-in. The onboarding test expectation for the pathname was updated to /cloud/flows/deploy.

Requires the companion Cloud /flows/deploy page; otherwise the link 404s.

Reviewed by Cursor Bugbot for commit bf08c72. Bugbot is set up for automated code reviews on this repo. Configure here.

The Continue with Google button now opens Cloud's /flows/deploy page, which
keeps the flow in localStorage across sign-in, connects integrations and
models, and deploys the flow as a listening proactive deployment.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: d4353d32-801b-4516-9892-a1ad85f08585


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

Copy link
Copy Markdown
Contributor

Preview deployed!

Environment URL
Web https://b9db5687-agentrelay-web.agent-workforce.workers.dev

This is a Cloudflare Workers preview version of this PR's build.

@kjgbot
kjgbot merged commit 8bccf68 into main Sep 15, 2026
4 checks passed
@kjgbot
kjgbot deleted the feat/flows-cloud-deploy-handoff branch September 15, 2026 18:12
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.

1 participant