Skip to content

fix(connectors): a signed-out server is told how to sign in - #45398

Merged
nwparker merged 1 commit into
mainfrom
nwparker/signed-out-says-how
Nov 20, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/signed-out-says-how

Conversation

@nwparker

@nwparker nwparker commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Part of #45278.

What

On a server with no Orca window, two messages said the computer was signed out of Orca without saying how to sign in there. Both now name the command, orca auth login, which the reporter confirmed works on a headless server:

  • the refusal of a connector action when Orca isn't connected to Orca Cloud
  • the note orca automations trigger-options gives for a signed-out computer

Not in this change

The Connect card in the chat on the desktop still looks as if it succeeded when the server that runs the work is the one signed out. That needs the card to know which computer it is for, and is left on the issue.

Testing

pnpm check:changed passes. Wording only.

Files Added Deleted Net
Test 0 0 0 0
Prod 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​2 $\color{#cf222e}{\Huge{\mathbf{−}}}$​2 0

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The automation trigger guidance now tells signed-out users to run orca auth login on a server without an Orca window. The connector-not-connected message now specifies signing in to Orca Cloud and includes the same server-specific instruction.

Merge Risk: Low · up to 6662f

This wording-only change adds headless sign-in guidance to two messages. One related signed-out refusal still omits the orca auth login instruction, so some server users will not see it. The risk is low and can be fixed with a small text edit.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: a signed-out server now gets sign-in instructions. It uses the fix(connectors) prefix and matches the objectives, which say both signed-out messages now name orca auth…
Description check Passed The description follows the template's main sections. It has What, a note on what is excluded, and Testing. It also gives the reporter confirmation and a linked issue reference (Part of #45278). It le…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: a signed-out server now gets sign-in instructions. It uses the fix(connectors) prefix and matches the objectives, which say both signed-out messages now name orca auth login. The title is specific and accurate.

Full details: Description check

Explanation

The description follows the template's main sections. It has What, a note on what is excluded, and Testing. It also gives the reporter confirmation and a linked issue reference (Part of #45278). It leaves out several template sections: ELI5, Why, Visual Proof, Risk level, the testing checkboxes, and the Linked Issue 'Fixes' line. The change is wording only, so Visual Proof could be N/A with a reason, and Risk could be Low. The author should add those to meet the template. The check is still mostly complete, so it passes.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

⚠️ Outside diff range comments (1)

Minor · Include headless login guidance in the cloud refusal. · connector-act.ts:47-50

src/main/runtime/rpc/methods/connector-act.ts:47-50
Minor · Functional Correctness · Quick win

Include headless login guidance in the cloud refusal.

When Orca Cloud returns 401 signed_out, connector.act returns this message instead of the changed no-cloud message. A server user therefore still gets no orca auth login instruction for this signed-out refusal. Add the server-specific command here as well.

The PR targets headless sign-in guidance.

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c2ac4879-b994-4a44-ab3a-2c5677066893
Commits

Reviewing files that changed from the base of the PR and between 637f866 and 6662f3f.

Files selected for processing: 2

  • src/cli/automations/automation-event-trigger-spec.ts
  • src/main/runtime/rpc/methods/connector-act.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

@nwparker
nwparker merged commit 0437305 into main Nov 20, 2026
112 of 114 checks passed
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