Skip to content

Revert: stop Orca's automatic status lines in bot Slack threads (#51414) - #52644

Merged
AmethystLiang merged 1 commit into
mainfrom
AmethystLiang/remove-thread-status-lines
Nov 29, 2026
Merged

AmethystLiang merged 1 commit into
mainfrom
AmethystLiang/remove-thread-status-lines

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Orca was posting its own timed lines in a bot's Slack thread while work ran on ("Still working on this (N min)", "Still open ... nothing is running on it right now", "Pausing these automatic updates for now"). Whether an update helps depends on the work, so Orca should not post one on a timer. This reverts #51414, so those lines stop. Replies the bot writes itself are unchanged.

What Changed

Why

The owner asked to stop the timed updates: sometimes an update is useful and sometimes it is noise, and a timer cannot tell which. A revert is the smallest complete change, since nothing merged later builds on the feature. Checked against how comparable products handle this: no comparable research, this is a mechanical revert.

Linked Issue

No open issue reports these lines. Supersedes #52506 (usage-limit wording for these lines).

Visual Proof

N/A: the change removes Slack posts the desktop app made on a timer; there is no Orca UI change. After this, a bot thread with open work gets no Orca-authored "Still working" or "Pausing" lines.

Testing

  • Node typecheck (config/tsconfig.node.json) passes.
  • Targeted vitest: src/main/external-conversations, src/main/connector-cloud, connector-act and bots-connectors RPC tests, connector-worker DB tests: 34 files, 268 tests pass.
  • oxlint and oxfmt on the changed files: clean.
  • Removed tests covered only the removed feature; no tests added for a removal.

Performance

None added; this removes work. Each bot thread with open work no longer gets a per-thread timer, periodic worker reads, link writes for a saved line, or connector reply calls for these lines, and connector calls no longer run the sent-call observer. The worker read loses the extra open-helpers query.

Risk

Saved data: links written while the feature ran may carry a threadStatus field; the link parser drops unknown fields, so they read as before and the field is gone on the next write. A thread where the bot relied on Orca's line to say work was still running now hears nothing until the bot replies. The lines were sent from the desktop app through the existing reply call, so there is no Orca Cloud change. Back out: revert this PR.

Level: Low

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • Targeted lint, typecheck and tests pass locally; CI covers the rest

…hread while its work runs on (#51414)"

This reverts commit 50dc738.

Orca stops posting its own timed lines in a bot's Slack thread ("Still
working on this", "Still open ... nothing is running", "Pausing these
automatic updates"). Whether an update helps depends on the work, so it
should not be sent on a timer. The bot rule that asked for a line on a
worker's blocker or finished step goes with it; replies a bot writes
itself are unchanged.

Saved links that still carry the old threadStatus field read as before:
the link parser drops unknown fields.
@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The PR appears safe to merge; no actionable regressions were found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable regressions were found.

Summary

Removes Orca’s timed status replies from bot Slack threads.

  • Orca no longer posts timed status lines in bot threads.
  • Bots no longer get a prompt to add thread lines after worker updates.

Reviews (1) · Last reviewed commit: "Revert "feat(connectors): post a short s..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The PR removes automated thread-status lines and their persisted link data, decision logic, scheduling, and delivery. It removes worker watcher APIs and simplifies worker activity tracking, including the removal of open-child queries. Connector action targeting is determined directly in actAsBot, and connector-call observation is removed. Bot guidance no longer directs workers to post thread updates for blockers or completed steps.

Merge Risk: Minimal · up to 78c69

This revert removes automatic timed status lines from bot Slack threads. No concrete risk was found; performance should improve since timers and periodic reads are removed. It looks safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: reverting PR #51414, which removes Orca's automatic timed status lines in bot Slack threads. The changeset removes the thread-status timer, decision, save and send pat…
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.
Description check Passed The description follows the repository template closely. It covers ELI5, What Changed, Why, Visual Proof (N/A with reason), Testing with specific commands and results, Performance (a completed line ex…
Full details: Title check

Explanation

The title names the main change: reverting PR #51414, which removes Orca's automatic timed status lines in bot Slack threads. The changeset removes the thread-status timer, decision, save and send path, and the bot rule that asked for status posts, so the title matches the main change. It is a single sentence of 11 words, with no file lists or vague terms.

Full details: Description check

Explanation

The description follows the repository template closely. It covers ELI5, What Changed, Why, Visual Proof (N/A with reason), Testing with specific commands and results, Performance (a completed line explaining removal of work), Risk with a level and backout plan, and the checklist. The Linked Issue section is weak: it states no open issue reports these lines and does not link one with 'Fixes #', which the template requires for outside contributors. The Review and Agent skill upstream boundary sections are absent, and the AI Disclosure section is blank. These gaps are non-critical for an internal revert, so the description is mostly complete.

  • 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

Recent 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: c554991c-8729-478e-a63e-0210c6a6c973
Commits

Reviewing files that changed from the base of the PR and between 39e4aee and 78c698a.

Files selected for processing: 35

  • src/main/bots/bot-preamble.ts
  • src/main/connector-cloud/connector-action-into-thread.test.ts
  • src/main/connector-cloud/connector-action-into-thread.ts
  • src/main/connector-cloud/connector-sent-calls.ts
  • src/main/connector-cloud/connector-transport.ts
  • src/main/external-conversations/external-conversation-chat-turns.ts
  • src/main/external-conversations/external-conversation-leave-lines.ts
  • src/main/external-conversations/external-conversation-link-parser.ts
  • src/main/external-conversations/external-conversation-link-thread-status.test.ts
  • src/main/external-conversations/external-conversation-link-writes.ts
  • src/main/external-conversations/external-conversation-worker-activities.ts
  • src/main/external-conversations/external-conversation-worker-view.ts
  • src/main/external-conversations/external-conversation-workers.test.ts
  • src/main/external-conversations/external-conversation-workers.ts
  • src/main/external-conversations/external-conversations-install.ts
  • src/main/external-conversations/thread-status/thread-status-counted.test.ts
  • src/main/external-conversations/thread-status/thread-status-decide.test.ts
  • src/main/external-conversations/thread-status/thread-status-decide.ts
  • src/main/external-conversations/thread-status/thread-status-deps.ts
  • src/main/external-conversations/thread-status/thread-status-fact.ts
  • src/main/external-conversations/thread-status/thread-status-hold.ts
  • src/main/external-conversations/thread-status/thread-status-lines.test.ts
  • src/main/external-conversations/thread-status/thread-status-lines.ts
  • src/main/external-conversations/thread-status/thread-status-owed.ts
  • src/main/external-conversations/thread-status/thread-status-send.ts
  • src/main/external-conversations/thread-status/thread-status-start.ts
  • src/main/external-conversations/thread-status/thread-status-test-harness.ts
  • src/main/external-conversations/thread-status/thread-status-waits.ts
  • src/main/external-conversations/thread-status/thread-status.test.ts
  • src/main/external-conversations/thread-status/thread-status.ts
  • src/main/runtime/orchestration/db/connector-workers/connector-worker-candidates.test.ts
  • src/main/runtime/orchestration/db/connector-workers/connector-worker-candidates.ts
  • src/main/runtime/rpc/methods/connector-act.ts
  • src/main/runtime/rpc/methods/orchestration/worker/connector-worker-activity.ts
  • src/shared/connectors/external-conversation-link.ts
Files with no reviewable changes: 25

  • src/main/connector-cloud/connector-action-into-thread.test.ts
  • src/main/connector-cloud/connector-action-into-thread.ts
  • src/main/connector-cloud/connector-sent-calls.ts
  • src/main/external-conversations/external-conversation-link-parser.ts
  • src/main/external-conversations/external-conversation-link-thread-status.test.ts
  • src/main/external-conversations/external-conversation-worker-activities.ts
  • src/main/external-conversations/external-conversation-worker-view.ts
  • src/main/external-conversations/external-conversation-workers.test.ts
  • src/main/external-conversations/thread-status/thread-status-counted.test.ts
  • src/main/external-conversations/thread-status/thread-status-decide.test.ts
  • src/main/external-conversations/thread-status/thread-status-decide.ts
  • src/main/external-conversations/thread-status/thread-status-deps.ts
  • src/main/external-conversations/thread-status/thread-status-fact.ts
  • src/main/external-conversations/thread-status/thread-status-hold.ts
  • src/main/external-conversations/thread-status/thread-status-lines.test.ts
  • src/main/external-conversations/thread-status/thread-status-lines.ts
  • src/main/external-conversations/thread-status/thread-status-owed.ts
  • src/main/external-conversations/thread-status/thread-status-send.ts
  • src/main/external-conversations/thread-status/thread-status-start.ts
  • src/main/external-conversations/thread-status/thread-status-test-harness.ts
  • src/main/external-conversations/thread-status/thread-status-waits.ts
  • src/main/external-conversations/thread-status/thread-status.test.ts
  • src/main/external-conversations/thread-status/thread-status.ts
  • src/main/runtime/orchestration/db/connector-workers/connector-worker-candidates.test.ts
  • src/shared/connectors/external-conversation-link.ts

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

@AmethystLiang
AmethystLiang merged commit 1f6089f into main Nov 29, 2026
58 checks passed
@AmethystLiang
AmethystLiang deleted the AmethystLiang/remove-thread-status-lines branch November 29, 2026 21:11
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