-
Notifications
You must be signed in to change notification settings - Fork 3
plat 481
| Coordination | Value |
|---|---|
| State | fixed on main: npm test is green (482 files passed, 2802 tests passed, 1 skipped); frontend-ci.yml now runs it on pushes; the DMG runs on release tags only |
| Date | 2026-10-04 |
| Owner | frontend-chat |
Desktop DMG fails on every recent main run at "Test Frontend Performance Contracts", which
runs the whole frontend suite (npm test, vitest). On a clean main it has 11 failing tests in
9 files plus 2 files that fail to import. Every PR shows red because of it.
-
Circular import (2 files fail to load):
services/llm-config-api.tsreadgetApiBaseUrl()at module load, whileservices/api.tsimports stores that import it, so a test that importeduseLLMStorefirst hit "Cannot access 'vite_ssr_import_6' before initialization" (workChatTabSelection.test.ts,PlatformChat.parentSubmit.test.tsx). -
Stale source-contract tests: the Vault commits of 3–4 Oct (
ba931c50b,aa7f10146,9832ca775) restructured Setup, Integrations, the gateway console and the Gmail / secrets / access panels without updating the tests that read those component sources: WorkflowResponsiveLayout, formsKitAdoption (4), WorkspacePanelGuideButton, gatewayConsoleShared, WorkWorkspacePane (2), ConnectorsBrowser.browserHeader, Wo## Done -
llm-config-api.tssets the base URL per request (also follows a workspace switch); the two import failures and the services tests pass. -
All 11 stale tests were test-side (no code regression found); each keeps its intent on the new structure:
- WorkflowResponsiveLayout: the persistent Chat tab title is now the workflow name, not "Chat".
- formsKitAdoption Gmail: kit imports checked are ToggleRow/FormSection/Input/Textarea (no checkbox is used); still zero raw elements.
- formsKitAdoption secrets: checks the Button/Checkbox/Input kit imports instead of badge/SettingsCard; still zero raw elements.
- formsKitAdoption LLM actions: dropped the
Inputimport assertion only (the provider search field was removed in 6c7a648b6); still no raw input. - formsKitAdoption access bodies: the Users role dropdowns now use the kit
Select, so the assertion is zero raw elements and no<select. - WorkspacePanelGuideButton: Gmail how-to answer text is now "Connect Google account".
- gatewayConsoleShared: groups are a list first; the test opens the group, then asserts the MCP permissions list (a connector is mocked) and the opened group survive the outage and recover.
- WorkWorkspacePane: secret selection moved from Identity to Integrations > Plugins (Secrets/Vault); Identity tabs are General/Connected work/Models; Integrations opens on a section picker with breadcrumbs. Removed the
persistExplicitGlobalSelection/allowGlobalPromotionassertions on Identity (feature moved to the Vault panel). - ConnectorsBrowser banner: the "Why can't I add one?" explainer was removed on purpose (everyone connects privately); the test now asserts it is gone and the plain private-connect/Vault wording.
- WorkflowCapabilitiesPanel.mcpLayout: the Gmail section now says "Your Google accounts for this project" and renders
GoogleAccountList.
-
gatewayConsoleSharedoutage recovery was the last red test (a Vault change on 4 Oct made an empty permissions list say "No MCPs assigned. Add MCPs (1)", soDocsis no longer on screen until Add MCPs is opened). The test now asserts that text; the "(1)" proves the connector loader recovered. The whole suite is green. - The macOS DMG build no longer runs on every push and pull request.
Desktop DMGruns on av*release tag or by hand (workflow_dispatch). The frontend typecheck andnpm testmoved to a cheap Ubuntu workflow,frontend-ci.yml, that runs on pushes and PRs that touchfrontend/. The Go checks stay incoding-cli-p0.yml.
- Confirm
frontend-ci.ymlis green onmain, and that the nextv*tag builds the DMG.
Auto-synced from docs/ on main. Edit there, not here.