refactor(frontend): remove console ai features - #2579
Conversation
🚨 Registry drift detectedApp:
Components needing attention
🔢 Ad-hoc utility classes (arbitrary values)These bypass the design tokens. Prefer a named scale entry or add a new token.
Generated by lookout audit-changes. |
|
Review fixes pushed in
Validation: type-check, lint, build, 5 focused unit tests, and 10 focused integration tests pass. Final Claude Opus re-review: APPROVED (no actionable P0-P2 findings). All PR checks pass, including Enterprise CI. |
|
Removed |
|
Added the legacy AI link migration UX in
Review: inline adversarial/self-review found and fixed prototype-key route matching; no remaining P0–P2 findings. Visual inspection passed on desktop and 390 × 844 mobile. Focused tests, type-check, build, and all Console CI checks pass. Enterprise CI is still running. |
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
Co-Authored-By: OpenAI Codex <codex@openai.com>
32abfb1 to
c086b39
Compare
Merges 362 upstream commits from master into main. Master had independently migrated the frontend to a new component architecture (Base UI-based redpanda-ui registry, auto-form) and removed the AI Agents / Knowledge Base / MCP Servers product areas (upstream redpanda-data#2579); main had continued developing those areas plus authentication (OIDC/login), RBAC-based authorization, and audit logging on the old architecture. Resolution: - Non-auth conflicts (design-system components, generated protobuf/openapi, dropped AI feature pages, lockfiles) resolved to master's version, since master represents the current upstream architecture. - Authentication/audit-logging integration points (backend Login config wiring, app-shell layout, sidebar user menu/logout, security permissions tabs) manually reconciled to preserve main's auth behavior on top of master's new component APIs. - Removed remaining orphaned AI Agents/Knowledge Base/MCP Servers files that had no conflict (added on main after the fork, deleted upstream). - Fixed a UserData literal in backend-api.ts and go.mod's toolchain requirement to match master's expanded types/toolchain. Verified: frontend type-check, lint, unit tests (837), integration tests (1256), and production build all pass; backend build, vet, and test compilation across all packages pass. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Summary
Remove Console's dedicated AI frontend surface: legacy AI Agents, Knowledge Bases, Remote MCP, Transcripts, and AIGW integrations.
Preserved scope
Intentionally unchanged:
frontend/src/protogen.mcp.json,.claude, and the Claude workflow testSurface review
The compatibility page covers
/agents,/knowledgebases,/mcp-servers,/transcripts, and nested URLs. Agents and MCP links retain their Redpanda AI section; Knowledge Bases and Transcripts link to Redpanda AI home. When Console has a real cluster ID, links preserve it asadpEnvironmentId.Local inspection covered desktop and 390 × 844 mobile layouts, semantic navigation, the migration destinations, and the unchanged standard 404 for unrelated paths.
Release coordination
ai.redpanda.com.aigwUrlandisAdpEnabledbefore consuming the updatedSetConfigArgumentstype. Inline typed objects otherwise get excess-property errors.Testing
Node 22.22.3 unless noted:
bun install --frozen-lockfile --ignore-scriptsbun run lint(completed; reports the repository's existing 903 non-fixable lint findings)bun run type:checkbun run buildbun run test:unit— 51 files, 774 tests passedbun run test:integration— 113 files, 1,218 tests passed/agentsand nested/mcp-servers/server-123showed the migration UI with correct destinations;/definitely-missingretained the normal not-found UIAutomated review
ce7b0b3ff.origin/masteris merged into the branch.Review guidance
frontend-visual/test-browserworkflow