Repository navigation
Conversation
Co-authored-by: Copilot App <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 25, 2026, 11:24 AM ET / 15:24 UTC. ClawSweeper reviewWhat this changesThe PR requires a managed llama-server to pass both health and configured-model verification before Local AI saves and publishes its provider endpoint. Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readinessKeep this collaborator-authored draft open. The patch appears to correctly fix the reported Local AI publication flaw, but required CI is still running and the PR is not ready for closure or merge. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — execution before step 1 Assertions:
How this fits togetherLocal AI starts a managed llama-server, probes its loopback health and model metadata, then persists and publishes the endpoint for gateway provider routing. Startup and refresh both consume the same probe result. flowchart LR
A[Managed llama-server] --> B[Health endpoint]
A --> C[Model listing endpoint]
B --> D[Readiness decision]
C --> D
D --> E[Startup and refresh]
E --> F[Published Local AI provider]
Before merge
Agent review detailsSecurityNone. Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Land the shared readiness predicate after the running checks confirm the focused Local AI tests and repository closeout remain green. Do we have a high-confidence way to reproduce the issue? Yes. Current main's health-only probe result can be traced directly through startup and refresh to endpoint publication even when model evidence is unknown or absent. Is this the best way to solve the issue? Yes. A single readiness predicate, consumed by both startup and refresh, is the narrowest maintainable repair and preserves the existing parser's expected-path validation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ccd64bbb7d68. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Closing as superseded by #1212, which covers verified-model publication and also handles unsafe route withdrawal and endpoint rebinding. |
Fixes #1192
Summary
/healthsucceeds and/modelsverifies the configured managed model./modelstimeout, invalid data, missing alias, unknown state, and wrong path as not ready.Validation
dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restore --filter "FullyQualifiedName~LlamaServerClientTests|FullyQualifiedName~Startup_DoesNotPublishWhenModelEvidenceIsNotVerified"(8 passed)dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restore --filter "FullyQualifiedName!~ManagedLocalGatewayPortProvenanceServiceTests.VerifyMicrosoftSignedFile_AcceptsWindowsWslBinary"(687 passed)dotnet test .\tests\OpenClaw.Shared.Tests\OpenClaw.Shared.Tests.csproj --no-restore(3812 passed, 32 skipped)git diff --check.\build.ps1builds Shared, Cli, WinNodeCli, and SetupEngine, then fails WinUI restore becauseMicrosoft.WindowsAppSDKandWinUIExcannot be resolved locally while nuget.org is disabled.dotnet test .\tests\OpenClaw.Tray.Tests\OpenClaw.Tray.Tests.csproj --no-restorecannot run because restore assets for the Tray test project are missing and local package restore cannot load nuget.org.dotnet test .\tests\OpenClaw.Connection.Tests\OpenClaw.Connection.Tests.csproj --no-restorehas one environment failure:VerifyMicrosoftSignedFile_AcceptsWindowsWslBinaryreports localwsl.exeas unsigned. The full suite otherwise passes when that environment-specific test is excluded..\scripts\setup-dev.ps1 -CheckOnlyReal behavior proof
/modelstimeout, invalid response, missing alias, unknown model state, and wrong model path all return not healthy.