Skip to content

fix: graceful auth init#23

Open
hanzo-dev wants to merge 2 commits intomainfrom
fix/graceful-auth-init
Open

fix: graceful auth init#23
hanzo-dev wants to merge 2 commits intomainfrom
fix/graceful-auth-init

Conversation

@hanzo-dev
Copy link
Member

Fixes CrashLoopBackOff

… app

The cloud-api was crashing on startup (CrashLoopBackOff, 6/8 pods) because
InitAuthConfig() panics when the IAM application or cert is not found.

Changed all panic() calls to log warnings and return gracefully, allowing
the service to start with auth features disabled. This lets pods stabilize
while IAM configuration is being set up.

Also adds billing usage record writer for invoice reconciliation.
148 files changed, 7,314 insertions, 12,664 deletions.

Foundation:
- Added tailwindcss, lucide-react, sonner, clsx, tailwind-merge
- Dark monochrome theme matching IAM
- cn() utility, sonner toast wrapper

App shell:
- App.js: class → functional, Ant Layout/Sider/Menu → Tailwind sidebar
- BaseListPage: Tailwind tables, native search
- Setting: sonner toast, Tailwind badges
- SystemInfo: Tailwind stat cards

Chat system (25 files):
- ChatPage, ChatBox, ChatInput, MessageItem: monochrome chat UI
- Drawers → slide-over panels
- All lucide-react icons

Knowledge/Store (8 files):
- Store and vector management pages

All remaining pages (~90 files):
- File, Provider, Graph, Node, Machine, Container, Pod
- Article, Workflow, Task, Form, Record, Message, Video
- All table sub-components
- All common components

17 residual antd imports in deeply coupled pages.
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.

1 participant