Commit graph

478 commits

Author SHA1 Message Date
226337a12e Update botserver: fix nested runtime panic in transfer_to_human 2026-04-03 20:44:01 -03:00
e3858db952 Update botserver: use systemctl for deploy 2026-04-03 20:39:52 -03:00
9fcf933cf4 Update botserver: remove error masking in CI deploy 2026-04-03 20:36:42 -03:00
44e374ce97 Update botserver: fix CI deploy workflow 2026-04-03 20:35:53 -03:00
e6ea794f91 Update botserver: fix CI deploy workflow 2026-04-03 20:31:57 -03:00
44df9c79a9 Update botserver: fix CI deploy SSH workflow 2026-04-03 20:20:36 -03:00
788ac4d87d Update botserver: fix deploy kill step 2026-04-03 20:01:24 -03:00
30a51697bf Update botserver: fix CI deploy step hanging 2026-04-03 19:51:48 -03:00
62aa619211 fix(ci): resolve deploy step hanging on pkill
- pgrep -f botserver matched the SSH command itself causing deadlock
- replaced with pkill -f '/opt/gbo/bin/botserver' || true
- added SSH keepalive (ServerAliveInterval=10, ServerAliveCountMax=3)
- added Step 7: explicitly start botserver after deploy
- fixed unquoted SSH_ARGS causing argument splitting
- increased verify sleep from 10s to 15s
2026-04-03 19:44:38 -03:00
1a6d6299d5 docs: update AGENTS.md with CI/CD directives and remove deprecated patterns
- Added explicit CI/CD deployment directives (NEVER use scp, ALWAYS use CI)
- Updated CI runner documentation: runs as gbuser, sccache config, workspace paths
- Fixed deprecated block_in_place code example to use std:🧵:spawn pattern
- Added security headers: NEVER include sensitive data in documentation
- Updated container architecture table with all services
2026-04-03 18:46:24 -03:00
17161624da Update botserver: Fix nested runtime panic in AuthConfig::from_env()
This fixes the critical bug that caused botserver to crash during
initialization with "Cannot start a runtime from within a runtime"
error.

Changes in botserver submodule:
- AuthConfig::from_env() now uses new_current_thread() pattern
- Fixes panic occurring after CORS layer initialization
- Aligns with previous get_database_url_sync fix pattern

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-03 14:02:39 -03:00
14e41f1bfc Update botserver: CI deploy SSH key fix for gbuser 2026-04-03 10:18:05 -03:00
c59418061a Update botserver: CI improvements - gbuser, sccache, data dir 2026-04-03 09:40:30 -03:00
d3abe80c1c Update botserver: fix get_database_url_sync nested runtime panic 2026-04-03 09:26:35 -03:00
f333d68cd6 Update botserver: fix nested runtime panic with new_current_thread 2026-04-03 09:17:52 -03:00
ae38a8705e Update botserver: skip local services when remote Vault detected 2026-04-03 07:36:28 -03:00
d6419b57d5 Update botserver: enforce Vault-only secrets policy 2026-04-03 07:12:29 -03:00
c92da26f17 Update botserver: fix env var reading for distributed services 2026-04-02 21:17:32 -03:00
104f0e21e7 Update botui: favicon converted to proper ICO format 2026-04-02 18:44:03 -03:00
a3c3276c06 Update botserver: fix health checks for non-root environments 2026-04-02 18:16:10 -03:00
33dab80fe3 Update botserver submodule 2026-04-02 17:03:22 -03:00
3f13f41fce Update submodules: botserver workflow, botui favicon 2026-04-02 16:50:04 -03:00
17f6c61db9 Update botserver: ci adds Step 7 to restart botserver after deploy 2026-04-02 16:01:45 -03:00
7eb61b3f47 docs: add prod.md 2026-04-02 15:46:28 -03:00
a5cc841915 Update botserver to working commit 7b4753af 2026-04-02 15:38:06 -03:00
35433964e8 Update botserver: Build inside container to fix glibc compatibility 2026-04-02 13:46:27 -03:00
0f4c1d0ecd chore: sync workspace state 2026-04-02 13:38:38 -03:00
7265a9ebef Update botserver: Fix SecretPaths to match Vault seeding paths 2026-04-02 07:27:12 -03:00
f9734978de Update botserver: Fix async Vault call in init_redis 2026-04-02 06:59:31 -03:00
bb5b39b137 Update botserver: Fix Valkey cache connection with Vault password 2026-04-01 20:17:47 -03:00
b6686fe00d Update botserver: Vault as single source of truth for all service credentials and locations 2026-04-01 16:47:32 -03:00
48c70f9dac Update botserver: Fix vault health check shell injection false positive 2026-03-31 21:35:36 -03:00
9171352a31 Update submodules: botlib (log format fix) + botserver (vault recovery fix) 2026-03-31 21:02:13 -03:00
1d2aa0cabb Update submodules: botserver, botui, botmodels 2026-03-31 19:58:32 -03:00
3b10e6a284 Update botserver: tar+zstd deploy 2026-03-31 19:07:38 -03:00
4e99594303 Update submodules: botserver CI deploy fix 2026-03-31 19:02:33 -03:00
c550c4291d Update botserver: CI deploy via rsync 2026-03-31 18:20:05 -03:00
57d8bd9975 Update submodules: CI deploy fix 2026-03-31 18:16:15 -03:00
bf8db24d64 Update submodules: CI PATH fix for alm-ci 2026-03-31 15:32:54 -03:00
04470b533b Update submodule references: botserver CI fix 2026-03-31 15:29:15 -03:00
4fc772e4b1 Update submodules: botserver and botui CI workflow fixes 2026-03-31 15:24:53 -03:00
15ffb51d1b docs: Add rule to never write internal IPs to logs 2026-03-31 11:12:57 -03:00
45db3d0f89 Update submodules: fix compilation errors and warnings 2026-03-30 15:53:54 -03:00
a0296ba7aa fix: compilation errors and warnings
- Add SafeCommand import to botapp/src/desktop/tray.rs
- Implement missing SecurityHeadersConfig and middleware in headers.rs
- Remove unused CspBuilder from headers.rs
- Remove unused ScriptService import in botserver/src/core/bot/mod.rs
- Remove unused SERVER_START_EPOCH and server_epoch function
2026-03-30 15:53:37 -03:00
9ecacb02fa Update AGENTS-PROD.md: Remove all Podman references, update for LXC
Major changes:
- Remove all Podman-related sections and commands
- Update container architecture to reflect LXC (Linux Containers)
- Simplify infrastructure: all services run in LXC containers
- Update container management sections for LXC commands
- Replace Podman-specific backup procedures with LXC snapshots
- Update DNS and proxy management for LXC containers
- Remove MinIO/Drive migration procedures (not applicable)
- Add troubleshooting section for common LXC issues

All documentation now correctly references LXC containers instead of Podman.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-03-27 13:57:59 -03:00
cf14ab4009 Update botserver submodule: use local Rust/sccache in CI workflow 2026-03-25 14:53:32 -03:00
7233603814 Update submodules: botserver, botui with CI fixes 2026-03-25 13:33:34 -03:00
78fd9e9617 Update botserver: Remove sudo from CI workflow 2026-03-24 16:24:42 -03:00
2b4f116787 Update botui submodule 2026-03-24 14:04:27 -03:00
a1d04c1e39 Update botui submodule to latest 2026-03-24 13:59:32 -03:00