multica-ai/multica · error
brew upgrade failed: %w
Error message
brew upgrade failed: %w
What it means
Error "brew upgrade failed: %w" thrown in multica-ai/multica.
Source
Thrown at server/internal/daemon/daemon.go:4416
d.updating.Store(false)
return serverUpdateRuntimeBusy
case <-ticker.C:
}
}
}
// runUpdate executes the brew-or-download upgrade against targetVersion and
// returns the human-readable output (always populated, even on failure when
// brew gives us a useful diagnostic). The caller is responsible for the
// `updating` CAS guard and for reporting status back to the server / triggering
// the restart — extracted so the server-triggered path (handleUpdate) and the
// auto-update poller (autoUpdateLoop) share the exact same execution body.
func (d *Daemon) runUpdate(targetVersion string) (string, error) {
if cli.IsBrewInstall() {
d.logger.Info("updating CLI via Homebrew...")
out, err := cli.UpdateViaBrew()
if err != nil {
return out, fmt.Errorf("brew upgrade failed: %w", err)
}
return out, nil
}
d.logger.Info("updating CLI via direct download...", "target_version", targetVersion)
out, err := cli.UpdateViaDownload(targetVersion)
if err != nil {
return out, fmt.Errorf("download update failed: %w", err)
}
return out, nil
}
// updateReportBackoffs defines the retry schedule for delivering CLI update
// status back to the server. This mirrors localSkillReportBackoffs because
// both features have the same user-visible failure mode: the daemon completed
// work locally, but a transient report failure leaves the UI waiting until the
// server-side request times out.
//
// Overridable for tests to avoid real sleeps.View on GitHub (pinned to 2c0912b6ec)
Solutions
- Run 'brew upgrade multica-ai/tap/multica' manually to see the full error.
When it happens
Trigger: Thrown at server/internal/daemon/daemon.go:4416 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/22c3364e236a10dc.
Report an issue: GitHub.