Commit graph

4476 commits

Author SHA1 Message Date
d7582a3ef4 ci: trigger após limpar cache de runs antigas
Some checks failed
BotServer CI/CD v2 / build (push) Failing after 1s
2026-04-18 16:24:18 -03:00
dac663dad8 ci: Renomear workflow para botserver-v2.yaml para forçar novo registro
Some checks failed
BotServer CI/CD v2 / build (push) Failing after 1s
2026-04-18 16:21:47 -03:00
f388e5b380 ci: Forçar refresh do workflow (v2) e remover erros de sintaxe
Some checks failed
BotServer CI/CD v2 / build (push) Failing after 1s
- Renomeado para 'BotServer CI/CD v2'
- Estrutura totalmente reescrita
- Removido blocos if/else quebrados
- Adicionado variáveis de ambiente para cache isolado
2026-04-18 16:20:38 -03:00
6c84840739 ci: trigger rebuild com runner re-registrado (label: gbo) 2026-04-18 16:19:08 -03:00
a3fead3c94 ci: trigger rebuild com runner limpo e sccache desativado
Some checks are pending
BotServer CI/CD / build (push) Waiting to run
2026-04-18 16:14:51 -03:00
005de5bba7 fix: Build debug (rápido) e remoção total de clones
Some checks are pending
BotServer CI/CD / build (push) Waiting to run
- Alterado para cargo build (debug) para compilação mais rápida
- Removido lógica de if/else quebrada
- Caminho fixo: /opt/gbo/work/botserver/src
- Apenas git pull + build
2026-04-18 16:11:27 -03:00
b39dc3e268 fix: Remover git clone e usar path /opt/gbo/work/botserver/src
Some checks failed
BotServer CI/CD / build (push) Failing after 0s
2026-04-18 16:07:29 -03:00
1f19d47cec ci: trigger rebuild sem sccache (corrupção removida) 2026-04-18 16:05:17 -03:00
6f2a64dea7 ci: rebuild after sccache clear (botserver only)
Some checks failed
BotServer CI/CD / build (push) Failing after 3m51s
2026-04-18 15:49:41 -03:00
fd786cd7da fix: DriveCompiler compilation errors
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
- Fix Diesel query to use correct column types
- Remove non-existent drive::configure() call
- Clean up unused imports
2026-04-18 15:04:09 -03:00
1218d1b968 ci: rebuild after sccache clear
Some checks failed
BotServer CI/CD / build (push) Failing after 3m44s
2026-04-18 14:58:50 -03:00
53e8324f3f ci: trigger rebuild after sccache clear
Some checks failed
BotServer CI/CD / build (push) Failing after 3m36s
2026-04-18 14:48:39 -03:00
bc7ce37902 fix: DriveCompiler compila diretamente em /opt/gbo/work/
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
- Remove intermediário /opt/gbo/data/
- DriveMonitor baixa direto para work/{bot}.gbai/{bot}.gbdialog/
- DriveCompiler compila .bas → .ast in-place
- Fluxo unificado: MinIO → work → .ast
2026-04-18 14:46:50 -03:00
2bc44413c5 refactor: Unify GBDialog compilation to use drive_files table
Some checks failed
BotServer CI/CD / build (push) Failing after 3m48s
- Renamed LocalFileMonitor to DriveCompiler
- DriveCompiler reads drive_files table to detect changes
- Compiles .bas → .ast when etag changes (like GBKB/GBOT)
- Unified flow: MinIO → drive_files → DriveCompiler → .ast
2026-04-18 14:40:34 -03:00
bc37ffc6a5 fix: Re-enable LocalFileMonitor to compile .bas files
Some checks failed
BotServer CI/CD / build (push) Failing after 48s
- LocalFileMonitor compiles .bas files from /opt/gbo/data to /opt/gbo/work
- DriveMonitor (S3) needs to sync files from MinIO to /opt/gbo/data first
- This restores the compilation pipeline that was broken
2026-04-18 14:29:45 -03:00
c67d90ee13 fix: Resolve compilation errors from drive_monitor refactoring
All checks were successful
BotServer CI/CD / build (push) Successful in 7m24s
- Add start_monitoring() method to DriveMonitor (placeholder)
- Move normalize_config_value to types.rs as standalone function
- Remove duplicate definitions
- Fix module exports in mod.rs
- Ensures CI/CD pipeline can build successfully
2026-04-18 13:18:35 -03:00
97a4583d81 refactor: Split drive_monitor into modules for better organization
Some checks failed
BotServer CI/CD / build (push) Failing after 2m5s
- Extract KbProcessor for knowledge base processing
- Extract Monitor for file monitoring logic
- Extract Types for shared types and structs
- Extract Utils for helper functions
- Improves code organization and maintainability
- Reduces mod.rs complexity
2026-04-18 13:08:39 -03:00
2dc5cf0761 fix: Return error instead of Ok(()) on timeout in check_gbkb_changes
- When timeout occurs listing .gbkb objects, function was returning Ok(())
- This caused .gbkb to never sync because errors were silently ignored
- Now returns Err() so failures are properly logged and retried
- Fixes salesianos bot not finding ramais, cartas, proc knowledge bases
2026-04-18 10:45:06 -03:00
fed92acaab Fix git clone handling for existing directories
All checks were successful
BotServer CI/CD / build (push) Successful in 27m5s
2026-04-17 21:02:26 -03:00
c697b97943 Fix Cargo.toml filtering to preserve botserver member
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 20:58:27 -03:00
41b502ef9a Fix workspace directory structure
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
2026-04-17 20:52:44 -03:00
29a87e3694 Fix PATH environment for cargo command
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
2026-04-17 20:46:59 -03:00
5272b308f7 Update CI: use sccache, separate target dir per project, shared cargo cache
Some checks failed
BotServer CI/CD / build (push) Failing after 3s
2026-04-17 19:53:47 -03:00
3a027e6619 Fix CI workflow to cache dependencies and preserve workspace between runs
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
2026-04-17 19:45:18 -03:00
843298ee54 Force CI
Some checks failed
BotServer CI/CD / build (push) Failing after 9s
2026-04-17 18:53:29 -03:00
867ba98585 Fix CI: Combine all steps into single atomic run block
Some checks failed
BotServer CI/CD / build (push) Failing after 10s
2026-04-17 18:47:01 -03:00
98dde8cba2 Fix CI: Separate step for Cargo.toml setup
Some checks failed
BotServer CI/CD / build (push) Failing after 16s
2026-04-17 18:45:15 -03:00
1571293565 Trigger CI rebuild
Some checks failed
BotServer CI/CD / build (push) Failing after 3s
2026-04-17 18:42:15 -03:00
059a7c6584 Fix CI: Use gbuser home directory, fresh sources + cached target
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:37:22 -03:00
be410f4faa Fix CI: Remove sudo from Install deps (packages already installed)
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
2026-04-17 18:33:05 -03:00
1782fd95ec Restore working CI with persistent directories
Some checks failed
BotServer CI/CD / build (push) Failing after 4s
2026-04-17 18:24:55 -03:00
2091169e22 Force CI rebuild after cleanup 2026-04-17 18:21:16 -03:00
e3ca478461 Rewrite CI: Clean clone every time, no caching issues
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:15:40 -03:00
0e8e416284 Simplify CI - remove sccache and simplify build step
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:11:15 -03:00
5783d2e784 Fix CI: Remove chown causing permission errors
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 18:05:30 -03:00
b6b80d988a Test cache: small comment change
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:58:48 -03:00
3f11122eb7 Fix CI: Remove tee that causes permission error
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:55:44 -03:00
ceac526bc5 Fix CI: Use git reset to preserve timestamps for incremental builds
Some checks failed
BotServer CI/CD / build (push) Failing after 10m1s
2026-04-17 17:43:04 -03:00
4561d2d4fb Trigger CI 1776458057
Some checks failed
BotServer CI/CD / build (push) Has been cancelled
2026-04-17 17:34:17 -03:00
de1f9b8fdb Trigger CI build
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:25:00 -03:00
3cc6521146 Fix CI: Fresh clone source, keep cached target for fast builds
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:17:26 -03:00
4785f8b1d7 Fix CI workflow - add git config for botserver update
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 17:13:48 -03:00
c6d2f19458 Fix git config in CI workflow 2026-04-17 17:04:52 -03:00
a9d8f68675 Remove CI trigger comment
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 16:47:30 -03:00
b0295f12a5 Trigger CI build - add comment
Some checks failed
BotServer CI/CD / build (push) Failing after 1s
2026-04-17 16:23:38 -03:00
41d7eb4c1d Fix container.rs compilation errors, add ContainerSettings to ComponentConfig, add incus to allowed commands, fix rate_limiter warning in AzureGPT5Client
Some checks failed
BotServer CI/CD / build (push) Failing after 2s
2026-04-17 16:08:39 -03:00
e8e1b7d65b ci: Move workspace to /tmp to avoid permission issues
All checks were successful
BotServer CI/CD / build (push) Successful in 1m37s
- Use /tmp/persistent-botserver instead of /opt/gbo/data
- Use /tmp/sccache and /tmp/cargo for caches
- Runner has full permissions on /tmp
- Fixes 'Operation not permitted' on chown
2026-04-17 12:53:30 -03:00
2b432c763c ci: Use HOME/USER env vars instead of su/sudo
Some checks failed
BotServer CI/CD / build (push) Failing after 0s
- Remove su - and sudo -u which require passwords
- Set HOME=/home/gbuser and USER=gbuser as env vars
- Run git/cargo with proper HOME prefix
- Fix runner hanging on authentication
2026-04-17 12:49:13 -03:00
f67de0e85c ci: Use /home/gbuser instead of /opt/gbo/data to avoid permission issues
Some checks failed
BotServer CI/CD / build (push) Failing after 3s
- Move CI workspace to /home/gbuser/persistent-botserver
- Cache now in /home/gbuser/.cache and /home/gbuser/.cargo
- No more permission conflicts with /opt/gbo/data
2026-04-17 12:39:57 -03:00
e59892f9b4 ci: Use su - instead of sudo -u for runner compatibility
Some checks failed
BotServer CI/CD / build (push) Failing after 6s
- Replace sudo with su - gbuser -c for proper user switching
- Simplify permission handling with chown/chmod as root
- Use su - for all gbuser operations
2026-04-17 12:03:47 -03:00