Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

fix(task-detail): Remove cloudAvailable check, allowing Cloud setup - #2296

Merged
Twixes merged 1 commit into
mainfrom
posthog-code/fix-cloud-mode-missing-without-integration
May 22, 2026
Merged

Twixes merged 1 commit into
mainfrom
posthog-code/fix-cloud-mode-missing-without-integration

Conversation

@Twixes

@Twixes Twixes commented May 22, 2026 •

Copy link
Copy Markdown
Contributor

Problem

I removed my personal integration from my PostHog account, and then I just had no "Cloud" button in new task mode selector – only "Local" and "Worktree", not even a "Connect GitHub for Cloud agents" button. Leaving no way for me to see the error message or reconnect their account.

Changes

Not hiding the "Cloud" option anymore when "Cloud is not available". Seem to have been introduced in #2045, but I don't quite understand what was the intention of this specific guard.

How did you test this?

Ran this and indeed was able to connect GH.


Created with PostHog Code

… availability logic

Generated-By: PostHog Code
Task-Id: 4d9a5e40-3454-4c48-8718-2316809b0b54
@Twixes
Twixes requested review from adboio, charlesvien and k11kirky May 22, 2026 11:58
@greptile-apps

greptile-apps Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "fix(task-detail): remove cloudAvailable ..." | Re-trigger Greptile

@Twixes Twixes changed the title fix(task-detail): remove cloudAvailable check and simplify cloud mode availability logic fix(task-detail): Remove cloudAvailable check, allowing Cloud setup May 22, 2026
@Twixes
Twixes merged commit 179ca9e into main May 22, 2026
15 checks passed
@Twixes
Twixes deleted the posthog-code/fix-cloud-mode-missing-without-integration branch May 22, 2026 16:52
Basit-Balogun10 pushed a commit to Basit-Balogun10/posthog-code that referenced this pull request May 27, 2026
…ostHog#2296)

## Problem

I removed my personal integration from my PostHog account, and then I just had no "Cloud" button in new task mode selector – only "Local" and "Worktree", not even a "Connect GitHub for Cloud agents" button. Leaving no way for me to see the error message or reconnect their account.

## Changes

Not hiding the "Cloud" option anymore when "Cloud is not available". Seem to have been introduced in PostHog#2045, but I don't quite understand what was the intention of _this specific_ guard.

## How did you test this?

Ran this and indeed was able to connect GH.

---
*Created with [PostHog Code](https://posthog.com/code?ref=pr)*
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants