mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-09-30 05:16:52 +08:00
a4f89cf28f
- Chain integrity: the "read newest hash, then insert" pair in record() could be interleaved by concurrent traces (the panel opens a dozen parallel GETs), so two rows linked to the same predecessor and one looked like a broken chain even though nobody edited anything. Serialize the pair with a per-service lock. - Resource classification: generic verbs fell back to resource_type='resource', so almost every read showed up as "View resource / Resource" (pipelines, bots, providers, users, monitoring...). Derive the family from the registered route identity (pipeline, bot, model_provider, llm_model, monitoring, user, workspace, webhook, api_key, system). - Frontend: render the resource family for the new types (8 locales) and keep the resource_id badge added earlier. Verified: backend integration 358 passed, ruff check/format clean; frontend tsc, eslint, prettier and check-i18n all pass.
Debug LangBot Frontend
Please refer to the Development Guide for more information.
Tests
Run the frontend smoke tests without a backend process:
pnpm test:e2e
The Playwright suite starts Vite and mocks the LangBot backend and Space APIs.