Skip to content

fix(app): refresh saved projects and send partial updates - #45135

Open
opencode-agent[bot] wants to merge 4 commits into
v2from
project-save-refresh
Open

fix(app): refresh saved projects and send partial updates#45135
opencode-agent[bot] wants to merge 4 commits into
v2from
project-save-refresh

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • make the shared [serverScope, "project"] query the single project-list source for server sync and workspace settings
  • refresh every project consumer by invalidating that one query after a successful save
  • send only changed name, icon, and startup-script fields in project PATCH requests
  • cover shared-query invalidation and partial top-level and nested project updates

Verification

  • cd packages/app && bun typecheck
  • cd packages/app && bun test --conditions=solid --preload ./happydom.ts src/runtime/server/global-sync/bootstrap.test.ts
  • cd packages/core && bun test test/project.test.ts --test-name-pattern 'Project.update'\n- cd packages/client && bun test test/promise.test.ts --test-name-pattern 'project.update'\n- bun x prettier --check packages/app/src/runtime/server/sync.tsx packages/app/src/runtime/server/global-sync/bootstrap.ts packages/app/src/runtime/server/global-sync/bootstrap.test.ts packages/app/src/settings/workspaces/workspaces.tsx packages/app/src/settings/workspaces/project-model.ts packages/core/test/project.test.ts\n\nRequested by: @Brendonovich (Brendan via Slack)

@Brendonovich
Brendonovich enabled auto-merge (squash) August 26, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant