GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Regression since v1.4.8: startup can enter a blank/partially empty TUI state before real data is ready · Issue #23281 · anomalyco/opencode

Regression since v1.4.8: startup can enter a blank/partially empty TUI state before real data is ready #23281

New issue
Copy link
New issue
Copy link
Closed
Closed
Regression since v1.4.8: startup can enter a blank/partially empty TUI state before real data is ready#23281
Copy link
Assignees
thdxr
Labels
opentuiThis relates to changes in v1.0, now that opencode uses opentui

Description

@CissiBot
CissiBot
opened on Apr 18, 2026
Issue body actions

Description

Since v1.4.8, OpenCode can start into a blank or partially empty TUI state before the real UI elements appear.

Observed behavior:

  • startup enters a mostly empty UI state
  • models/providers/session/history elements appear later
  • the effect is still reproducible in v1.4.11
  • v1.4.7 does not show this behavior

Expected behavior:

  • the startup UI should not enter a blank or partially empty intermediate state before real session/provider/workspace data is ready

Code analysis:

  1. app.tsx changed startup routing so the app can enter a dummy session route early.

In v1.4.7, --session navigation was handled directly after mount:

if (args.sessionID && !args.fork) {
  route.navigate({
    type: "session",
    sessionID: args.sessionID,
  })
}

In v1.4.8, startup can instead enter an initial session route with sessionID: "dummy":

initialRoute={
  (input.args.sessionID || input.args.continue) && !input.args.fork
    ? {
        type: "session",
        sessionID: "dummy",
      }
    : undefined
}

This means the TUI can enter a session route before the real session data is ready.

  1. sync.tsx changed ready() so the old loading gate is effectively disabled.

In v1.4.7:

get ready() {
  return store.status !== "loading"
}

In v1.4.8:

get ready() {
  return true
  if (process.env.OPENCODE_FAST_BOOT) return true
  return store.status !== "loading"
}

The unconditional return true makes the rest of the loading gate unreachable, so the UI can be considered ready before sync/bootstrap state is actually ready.

  1. Together, these changes make it possible for the TUI to enter a session-like route too early, render while the real session/provider/workspace state is still not ready, and show a blank or partially empty intermediate state before the real elements appear.

Plugins

local plugin environment present

OpenCode version

1.4.11

Steps to reproduce

  1. Start OpenCode
  2. Wait for the UI to become usable
  3. Observe that the UI first appears blank or partially empty, then fills in later

Screenshot and/or share link

Not provided

Operating System

Ubuntu 24.04.4

Terminal

Windows Terminal via WSL2

Reacted by Xianrui Luo

Activity

  1. github-actions
    assigned
    thdxr
    on Apr 18, 2026
  2. github-actions
    added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Apr 18, 2026
  3. github-actions commented on Apr 18, 2026

    @github-actions
    github-actionsBot
    on Apr 18, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue doesn't fully meet our contributing guidelines.

    What needs to be fixed:

    • The issue does not use one of the three required issue templates (Bug Report, Feature Request, or Question). Please re-submit or edit this issue using the appropriate template — this looks like it should be a Bug Report, which requires a ### Description field, steps to reproduce, version info, OS, and terminal details.

    Please edit this issue to address the above within 2 hours, or it will be automatically closed.


    This issue might be a duplicate of existing issues. Please check:

    • After OpenCode starts, loading the model takes a relatively long time #23274: Very similar symptom (models not loading / blank UI state on startup after v1.4.8), explicitly referenced in your issue — consider whether this should be a comment there instead of a separate issue.

    If you believe this was flagged incorrectly, please let a maintainer know.

  4. github-actions
    added
    needs:complianceThis means the issue will auto-close after 2 hours.
    and removed
    needs:complianceThis means the issue will auto-close after 2 hours.
    on Apr 18, 2026
  5. github-actions commented on Apr 18, 2026

    @github-actions
    github-actionsBot
    on Apr 18, 2026 – with GitHub Actions
    Contributor
    More actions

    Thanks for updating the issue! It now includes all the necessary information — version details, steps to reproduce, and expected behavior. The compliance label has been removed.

  6. PandaSt0rm commented on Apr 18, 2026

    @PandaSt0rm
    PandaSt0rm
    on Apr 18, 2026
    More actions

    Seeing the same, also cannot send any messages until its actually loaded which can take forever in a massive repo - just did a full reinstall of WSL because I thought I had broken something developing a plugin

    Reacted by Xianrui Luo
  7. CissiBot commented on Apr 18, 2026

    @CissiBot
    CissiBot
    on Apr 18, 2026
    Author
    More actions

    Seeing the same, also cannot send any messages until its actually loaded which can take forever in a massive repo - just did a full reinstall of WSL because I thought I had broken something developing a plugin

    I suddenly encountered this problem today. Before that, I had been using version 1.4.7 with my own session plugin, so I also assumed it was caused by my plugin. It wasn’t until I noticed that the version number in the lower right corner had already changed to 1.4.11 that I asked Codex to analyze the updated code, which is why this issue came up.

  8. PandaSt0rm commented on Apr 18, 2026

    @PandaSt0rm
    PandaSt0rm
    on Apr 18, 2026
    More actions

    Yeah just downgraded to 1.4.7 and its totally fine again

  9. inschrift-spruch-raum commented on Apr 18, 2026

    @inschrift-spruch-raum
    inschrift-spruch-raum
    on Apr 18, 2026
    More actions

    Version 1.4.10 has the same issue.

  10. CissiBot commented on Apr 19, 2026

    @CissiBot
    CissiBot
    on Apr 19, 2026
    Author
    More actions

    Fixed in 1.14.17, so I’m closing this issue. If it is still reproducible, please add more details and reopen it.

  11. CissiBot
    closed this as completedon Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

Labels

opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.