Skip to content

Refine shared compute setup experience (fresh) - #7691

Open
sandro-sq wants to merge 4 commits into
mainfrom
sandro/shared-compute-fresh
Open

sandro-sq wants to merge 4 commits into
mainfrom
sandro/shared-compute-fresh

Conversation

@sandro-sq

@sandro-sq sandro-sq commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fresh draft of #7014 on current main, preserving its full remaining 25-file diff.

  • Make sharing compute a clearer, more responsive opt-in experience.
  • Add live startup/download status and a successful sharing state.
  • Add a prefilled path to create an agent powered by community compute.
  • Add a community mesh hex map once six or more members contribute.
  • Keep detailed model and runtime information under Advanced.
  • Preserve the mesh agent E2E coverage updates from the original branch.

Relationship to prior work

Validation

  • Passed: desktop lint and TypeScript checks (just desktop-check desktop-typecheck).
  • Passed: git diff --cached --check and original-vs-fresh stable patch-ID comparison.
  • Initial full local just ci and pre-push Rust tests exposed two stale RwLock test constructors in upstream crates/buzz-relay/src/handlers/event.rs. ConnectionState.auth_state now uses std::sync::Mutex; separately signed-off commit 4b0f7abb2 updates those two constructors, with the author's approval.
  • Passed after the fix: full repository just ci (exit 0), including formatting, Clippy, desktop/web checks and builds, Rust/Tauri/desktop/mobile tests, security-review checks, and file-size checks.
  • Also passed: pre-push desktop TypeScript check.
  • Fresh GitHub CI: pending; no all-green claim yet.

Why a fresh run

The old CI run's PostgreSQL rerun failed before testing because the desktop-e2e-relay artifact could not be downloaded. Its security audit flagged rustls 0.23.42 (RUSTSEC-2026-0285); the current main branch already uses rustls 0.23.45. Neither failure required editing the shared-compute UI diff.

mesh-demo-compute-v2.mov

sandro-sq and others added 2 commits September 16, 2026 16:19
Reapply the full remaining diff from #7014 on current main, retaining the shared-compute UX, smoke coverage, and mesh agent E2E updates. Mic Neale's foundation from #6189 is already present in main.

Co-authored-by: Michael Neale <michael.neale@gmail.com>
Signed-off-by: Alessandro Joabar <sandro@squareup.com>
Update two stale test constructors to match ConnectionState.auth_state, which now uses std::sync::Mutex. This separately fixes the upstream compile blocker discovered while validating the shared-compute PR.

Signed-off-by: Alessandro Joabar <sandro@squareup.com>
@github-actions

github-actions Bot commented Sep 16, 2026

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is 8953cbfff58ed768d996677fed3af0e3bac64a20...372e5407f937c13801cc80ce6d16e33c97000d02.
A new review must complete for this exact range. When manual authorization
is required, a Block organization member must comment exactly
@buzz-security-review 372e5407f937c13801cc80ce6d16e33c97000d02 to authorize a new review.
Any previous review applies only to its recorded range.

Signed-off-by: Alessandro Joabar <sandro@squareup.com>
@sandro-sq
sandro-sq marked this pull request as ready for review September 16, 2026 22:39
@sandro-sq
sandro-sq requested a review from a team as a code owner September 16, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant