Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Demote idle Assistant provider verification

rcourtman8c7b14826d2f
diff --git a/docs/release-control/v6/internal/status.json b/docs/release-control/v6/internal/status.json
index 662c4be721..6139999591 100644
--- a/docs/release-control/v6/internal/status.json
+++ b/docs/release-control/v6/internal/status.json
@@ -6767,11 +6767,11 @@
{
"id": "codex-lane-followup-architecture-post-rc-canonicalization",
"agent_id": "codex",
- "summary": "Remove redundant Assistant model override choice",
+ "summary": "Demote idle Assistant provider verification",
"target_id": "v6-product-lane-expansion",
"claimed_at": "2026-06-05T21:57:48Z",
- "heartbeat_at": "2026-06-06T01:00:36Z",
- "expires_at": "2026-06-06T03:00:36Z",
+ "heartbeat_at": "2026-06-06T01:07:17Z",
+ "expires_at": "2026-06-06T03:07:17Z",
"work_item": {
"kind": "lane-followup",
"id": "architecture-post-rc-canonicalization"
diff --git a/docs/release-control/v6/internal/subsystems/ai-runtime.md b/docs/release-control/v6/internal/subsystems/ai-runtime.md
index b78c708684..795bb24443 100644
--- a/docs/release-control/v6/internal/subsystems/ai-runtime.md
+++ b/docs/release-control/v6/internal/subsystems/ai-runtime.md
@@ -339,6 +339,10 @@ runtime cost control, and shared AI transport surfaces.
explicit details affordance, but raw tool input/output JSON must not render
in the default transcript. Token accounting and other provider metadata
remain runtime/accounting data, not normal transcript prose.
+ Background provider-readiness checks are diagnostics and must stay quiet
+ while idle unless they produce an actionable issue; checking status may
+ surface during an active send, but an open empty drawer must not look busy
+ just because Pulse is verifying the selected route.
4. Add or change Patrol, alert-analysis, or remediation transport through `internal/api/ai_handlers.go`, `internal/api/ai_intelligence_handlers.go`, and `frontend-modern/src/api/patrol.ts`
Provider preflight diagnostics returned from `internal/api/ai_handlers.go`
must reuse the Patrol runtime failure classifier in `internal/ai/` and
diff --git a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx
index 5553587d69..4d1e20c412 100644
--- a/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx
+++ b/frontend-modern/src/components/AI/Chat/__tests__/AIChat.test.tsx
@@ -622,7 +622,7 @@ describe('AIChat', () => {
);
});
- it('sends user input while the selected provider check is still running', async () => {
+ it('keeps a pending selected-provider check quiet while still allowing input', async () => {
mockAIAPI.getSettings.mockResolvedValue({
model: 'openai:gpt-4',
chat_model: '',
@@ -634,7 +634,12 @@ describe('AIChat', () => {
renderChat();
- await screen.findByText('Verifying OpenAI provider');
+ await waitFor(() => {
+ expect(mockAIAPI.testProvider).toHaveBeenCalledWith('openai', 'openai:gpt-4');
+ });
+ expect(screen.queryByText('Verifying OpenAI provider')).not.toBeInTheDocument();
+ expect(screen.queryByLabelText('Assistant provider status')).not.toBeInTheDocument();
+
const textarea = screen.getByPlaceholderText(
'Ask about your infrastructure...',
) as HTMLTextAreaElement;
diff --git a/frontend-modern/src/components/AI/Chat/index.tsx b/frontend-modern/src/components/AI/Chat/index.tsx
index 4256cea89a..c0346c36fb 100644
--- a/frontend-modern/src/components/AI/Chat/index.tsx
+++ b/frontend-modern/src/components/AI/Chat/index.tsx
@@ -815,6 +815,9 @@ export const AIChat: Component<AIChatProps> = (props) => {
if (!readiness.provider || readiness.status === 'idle' || readiness.status === 'ready') {
return null;
}
+ if (readiness.status === 'checking' && !chat.isLoading()) {
+ return null;
+ }
return getAIChatProviderReadinessPresentation({
status: readiness.status === 'checking' ? 'checking' : 'error',
providerLabel: getAIProviderDisplayName(readiness.provider),