mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-24 17:35:19 +08:00
- 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.