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 — refactor(app): load sync state through TanStack Query by Brendonovich · Pull Request #23792 · anomalyco/opencode

Conversation

@Brendonovich

@Brendonovich Brendonovich commented Apr 22, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

  • Move global and per-project sync loading onto TanStack Query so config, providers, paths, MCP status, and LSP status come from shared queries.
  • Refetch the shared MCP query after connect/disconnect instead of manually reloading MCP state in each UI surface.
  • Disable automatic TanStack Query refetch triggers so these sync queries only rerun when explicitly requested.

Why

The branch is primarily about consolidating app sync/bootstrap state around TanStack Query and removing duplicate MCP loading logic. The query client defaults keep those shared queries from refetching on mount, focus, or reconnect and causing extra status requests.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Brendonovich
Brendonovich requested a review from adamdotdevin as a code owner April 22, 2026 05:50
@Brendonovich
Brendonovich force-pushed the feat/tanstack-query-config-options branch from 54b0535 to 8f9fa6e Compare April 22, 2026 07:34
@Brendonovich Brendonovich added the beta label Apr 22, 2026
@Brendonovich Brendonovich changed the title feat(app): configure TanStack Query client with default options refactor(app): load sync state through TanStack Query Apr 22, 2026
opencode-agent Bot added a commit that referenced this pull request Apr 22, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
4c4252d
opencode-agent Bot added a commit that referenced this pull request Apr 22, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
b443606
opencode-agent Bot added a commit that referenced this pull request Apr 22, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
b597a96
opencode-agent Bot added a commit that referenced this pull request Apr 22, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
9a85db4
opencode-agent Bot added a commit that referenced this pull request Apr 22, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
44232eb
opencode-agent Bot added a commit that referenced this pull request Apr 22, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
31a244f
opencode-agent Bot added a commit that referenced this pull request Apr 22, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
2d91ea2
opencode-agent Bot added a commit that referenced this pull request Apr 23, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
f181b94
opencode-agent Bot added a commit that referenced this pull request Apr 23, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
4625876
opencode-agent Bot added a commit that referenced this pull request Apr 23, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
946d4bd
@rekram1-node
rekram1-node force-pushed the dev branch from 1026791 to ac26394 Compare April 23, 2026 04:27
opencode-agent Bot added a commit that referenced this pull request Apr 23, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
9522c89
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
48202d3
@Brendonovich
Brendonovich force-pushed the feat/tanstack-query-config-options branch 5 times, most recently from 552094b to e8f56ba Compare April 24, 2026 06:50
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
4535dd5
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
6d8dbb2
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
4e2666a
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
49f5563
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
0fbe71e
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
6380b73
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
d01f226
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
dd3717e
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
19bcf3b
opencode-agent Bot added a commit that referenced this pull request Apr 24, 2026
@opencode-agent
Apply PR #23792: refactor(app): load sync state through TanStack Query
bdfd2e5
@thdxr

thdxr commented Apr 25, 2026

Copy link
Copy Markdown
Member

⚠️ Blocking Beta Release

This PR cannot be merged into the beta branch due to: Fetch failed

Please resolve this issue to include this PR in the next beta release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Brendonovich added 3 commits April 28, 2026 12:16
@Brendonovich
feat(app): configure TanStack Query client with default options
5e76ab2
Add defaultOptions to QueryClient to disable automatic refetching:
- refetchOnReconnect: false
- refetchOnMount: false
- refetchOnWindowFocus: false
@Brendonovich
simplify mcp loading
3d25d71
@Brendonovich
supress bootstrap errors
c3418c9
@kilo-code-bot kilo-code-bot Bot mentioned this pull request May 4, 2026
Merge opencode v1.14.29 Kilo-Org/kilocode#9751
Merged
@detail-app detail-app Bot mentioned this pull request Sep 3, 2026
chore(app): remove dead fail helper and empty createEffect in StatusPopoverBody abdmaajith-dot/opencode#9
Closed
3 of 6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@adamdotdevin adamdotdevin Awaiting requested review from adamdotdevin

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

beta

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Brendonovich @thdxr
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.
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.