Skip to content

fix(model): surface backend startup exits - #11447

Merged
mudler merged 2 commits into
masterfrom
maint/9050-grpc-startup-error
Aug 11, 2026
Merged

fix(model): surface backend startup exits#11447
mudler merged 2 commits into
masterfrom
maint/9050-grpc-startup-error

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Summary

  • preserve a local backend process exit code when gRPC readiness fails
  • include the last non-empty stderr diagnostic, bounded to 4 KiB
  • keep the generic readiness error for remote or still-running backends
  • document the richer runtime error

Testing

  • go test ./pkg/model -count=1
  • go vet ./pkg/model

Fixes #9050

Preserve the local backend process exit code and bounded stderr diagnostic when the process dies before its gRPC service becomes ready.

Fixes #9050

Assisted-by: Codex:gpt-5
Comment thread pkg/model/initializers.go Fixed
Assisted-by: Codex:gpt-5.6 [Codex]
@mudler
mudler merged commit f2cdc06 into master Aug 11, 2026
69 of 70 checks passed
@mudler
mudler deleted the maint/9050-grpc-startup-error branch August 11, 2026 07:54
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.

Internal error: failed to load model with internal loader: grpc service not ready

3 participants