fix: restore Go signup prompts and stop free-tier retries - #46994
Open
opencode-agent[bot] wants to merge 5 commits into
Open
fix: restore Go signup prompts and stop free-tier retries#46994opencode-agent[bot] wants to merge 5 commits into
opencode-agent[bot] wants to merge 5 commits into
Conversation
opencode-agent
Bot
requested review from
Brendonovich and
Hona
as code owners
September 3, 2026 06:53
This was referenced Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
FreeUsageLimitErroras exhausted free-tier quota, not a transient 429. Stop after the first failed attempt, including when retry headers are present; ordinary rate-limit retries are unchanged.provider.free-tier-limitsession error with the Go signup URL.session.execution.failedevent, retaining localization and the Go connection flow.animations: falsewith static art.https://opencode.ai/go.Comparison with
devpackages/opencode/src/session/retry.tsrecognizedFreeUsageLimitErrorand attached a Go upsell action to retry status. Both the App and V1 TUI consumed that legacysession.statusaction; the TUI displayedDialogRetryActionwithBgPulse. V2 lost that path and classified the error as retryable.This restores both signup modals without restoring the retries. Execution failures are process-global, so the listeners accept server-wide events without a location envelope. The animation's original drawing math and logo come from
devat79d503150ca22f151afe4ea543fac8a8eb8aef53.Animation performance
Reviewed OpenTUI's
FrameBufferRenderable,OptimizedBuffer, render-command reuse, renderer scheduling, and native framebuffer-copy paths before adapting the animation:SystemClocktimer requests frames withlive: false. It does not change the application's FPS or force a permanently live render tree. Hidden art requests no frames; disabled/unmounted art clears its timer.Five-sample native-buffer microbenchmark, Bun 1.3.14 / OpenTUI 0.5.10 on Linux:
These are painter-only timings, not an end-to-end terminal CPU claim.
Validation
Requested by: @thdxr (dax via Slack); animation requested by @kitlangton (Kit via Slack)