Add guided Relayfile cloud setup#70
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 38eef7daec
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| } | ||
|
|
||
| cloudClient, err := newAPIClient(cloudAPI, tokenSet.AccessToken) |
There was a problem hiding this comment.
Use login callback API URL for subsequent Cloud requests
runCloudLogin parses and returns api_url from the callback (via readCloudCredentialsFromQuery), but setup still constructs cloudClient with the original cloudAPI value. If Cloud login redirects through a front door and returns a different API origin (regional/tenant-specific), workspace creation/join requests are sent to the wrong host and setup fails after successful auth. Use tokenSet.APIURL (or overwrite cloudAPI after login) before creating the API client.
Useful? React with 👍 / 👎.
Summary
relayfileandrelayfile setuprun the guided Cloud onboarding flowTests
go test ./...Note: unrelated local trajectory index/untracked trajectory files were left out of this PR.