From 090b42618bf3caba2fa5a1e7a831dba0521d9e94 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Thu, 5 Feb 2026 08:45:41 -0300 Subject: [PATCH] Split Forgejo CI workflows and update documentation CI/CD Improvements: - Split monolithic botserver workflow into botserver-only and botui-only workflows - BotServer CI: Triggers on botserver/**, botlib/** changes, builds only botserver - BotUI CI: New workflow, triggers on botui/**, botlib/** changes, builds only botui - Separate caches to avoid conflicts between projects - Independent deployments and service restarts Documentation: - Remove WHATSAPP-CONFIG-GUIDE.md (duplicate of botbook documentation) - Update README.md with new rule: check botbook/ before creating .md files - Add workflow step to check existing documentation first Submodule updates: - botserver: Updated .forgejo/workflows/botserver.yaml (botserver-only) - botui: Added .forgejo/workflows/botui.yaml (new botui workflow) --- README.md | 12 +++++++----- botserver | 2 +- botui | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index df7cf56..5b48b86 100644 --- a/README.md +++ b/README.md @@ -858,6 +858,7 @@ validate_table_name(&safe_table)?; ❌ NEVER modify Cargo.toml lints section! ❌ NEVER use CDN links - all assets must be local ❌ NEVER use cargo clean - causes 30min rebuilds, use ./reset.sh for database issues +❌ NEVER create .md documentation files without checking botbook/ first - documentation belongs there ``` --- @@ -1035,11 +1036,12 @@ Subprojects (botapp, botserver, etc.) are **not** git submodules - they are inde ## Development Workflow 1. Read this README.md (workspace-level rules) -2. Read `/README.md` (project-specific rules) -3. Use diagnostics tool to check warnings -4. Fix all warnings with full file rewrites -5. Verify with diagnostics after each file -6. Never suppress warnings with `#[allow()]` +2. **BEFORE creating any .md file, search botbook/ for existing documentation** +3. Read `/README.md` (project-specific rules) +4. Use diagnostics tool to check warnings +5. Fix all warnings with full file rewrites +6. Verify with diagnostics after each file +7. Never suppress warnings with `#[allow()]` --- diff --git a/botserver b/botserver index 64d5e2a..30345c6 160000 --- a/botserver +++ b/botserver @@ -1 +1 @@ -Subproject commit 64d5e2a1bd79cf34df02ec6f61d4dfdd5e1a3fe9 +Subproject commit 30345c66e2738ebe73d896841e54f655999e3630 diff --git a/botui b/botui index 91a7501..e0504f3 160000 --- a/botui +++ b/botui @@ -1 +1 @@ -Subproject commit 91a750127c674b04858a8d59f21614538f71d1ee +Subproject commit e0504f37030ffd8c4a33188df8daf5b83edc52e9