f99013872d
refactor: fix TaskEngine feature gate, thread-safe Extensions with Arc<RwLock>
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 4m47s
2025-12-20 19:57:57 -03:00
ec3ee5329e
fix: add DNS configuration to containers before apt-get
...
- Add Google DNS (8.8.8.8, 8.8.4.4) to /etc/resolv.conf
- Fixes 'Temporary failure resolving' errors in containers
2025-12-19 22:32:57 -03:00
bc3b3845b4
fix: make exec_in_container return errors instead of silently warning
...
- Changed from warn() to error() and return Err()
- Added info logging for each command executed
- Now we can see why downloads/installs fail
2025-12-19 19:59:15 -03:00
9a3ac6141e
fix: pass VAULT_ADDR inside container via bash -c
...
- env() on Command only sets host env, not container env
- Use bash -c with VAULT_ADDR=... prefix for init and unseal commands
2025-12-19 13:19:50 -03:00
f20d662941
fix: store vault-unseal-keys in working directory, not /opt/gbo/secrets
2025-12-19 12:28:22 -03:00
182f1b8cdc
feat: auto-generate .env and vault-unseal-keys on vault install
...
- Vault is automatically initialized with 5 keys, threshold 3
- Creates /opt/gbo/secrets/vault-unseal-keys with chmod 600
- Creates or appends to .env with VAULT_ADDR, VAULT_TOKEN, VAULT_UNSEAL_KEYS_FILE
- Vault is automatically unsealed after init
- No manual steps required for initial setup
2025-12-19 12:20:55 -03:00
a711f1e28a
feat: use secrets file for Vault auto-unseal (more secure)
...
- VAULT_UNSEAL_KEYS_FILE points to /opt/gbo/secrets/vault-unseal-keys
- Unseal keys stored in separate file with chmod 600
- Not in .env (which might be in git, logs, etc.)
- Output shows step-by-step setup instructions
2025-12-19 11:36:00 -03:00
38ff9cb8aa
fix: improve container IP detection and add VAULT_UNSEAL_KEYS to .env
...
- Wait for network before getting IP
- Try hostname -I as fallback for IP detection
- Add VAULT_UNSEAL_KEY_1/2/3 to .env output for auto-unseal
- botserver can auto-unseal Vault on startup using these keys
2025-12-19 11:02:27 -03:00
876212abc0
feat: show connection info after container install
...
- Only Vault returns .env variables (VAULT_ADDR, VAULT_TOKEN)
- All other components show 'botserver vault put' commands to store credentials
- Added proper vault init/unseal instructions
- CLI now prints InstallResult with IP, ports, and connection info
2025-12-19 10:49:09 -03:00
07c479b307
fix: install base packages (wget, unzip, curl) in containers before download
...
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 5m9s
- Vault download was failing because unzip was not installed
- Now all containers get wget, unzip, curl, ca-certificates as base packages
- Also added vault config.hcl generation in pre-install commands
2025-12-19 09:48:15 -03:00
f4e0fc4f28
fix: allow container install without Vault configured
...
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 5m19s
- Make create_container_service work without DATABASE_URL from Vault
- Components like vault, vector_db that don't need DB can now install first
- DB_PASSWORD defaults to empty string when Vault is not available
2025-12-19 09:33:56 -03:00
e3e24e514f
fix: make container installation fully non-interactive
...
GBCI / build (push) Successful in 3m11s
GBCI Bundle / build-bundle (push) Has been skipped
- Add automatic lxd init --auto before container creation
- Use DEBIAN_FRONTEND=noninteractive for apt-get
- Add apt-get update -qq before installing packages
2025-12-18 21:20:47 -03:00
49eb6bcf11
feat: add fallback images for LXC container creation and install-dependencies.sh
...
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 3m3s
- Try ubuntu:24.04, ubuntu:22.04, images:debian/12, images:debian/11 in order
- Clean up failed container attempts before trying next image
- Add install-dependencies.sh script for runtime library installation
- Fixes 404 error when LXD image server has outdated cached images
2025-12-18 21:09:26 -03:00
26d7dcceb7
chore: consolidate migrations 6.1.1-6.1.3 into 6.1.0_enterprise_suite
...
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 5m2s
- Integrate config ID type fixes (TEXT → UUID)
- Integrate connected_accounts, session_account_associations, account_sync_items
- Integrate bot hierarchy (parent_bot_id, enabled_tabs_json, inherit_parent_config)
- Integrate email_monitors, folder_monitors, folder_change_events, email_received_events
- Integrate user_organizations table
- Remove separate 6.1.1, 6.1.2, 6.1.3 migration folders
- Maximum version remains 6.1.0 per project standards
2025-12-18 18:52:52 -03:00
ff6f332763
ci: debug build, no swap (fastest)
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 16m38s
2025-12-18 17:33:04 -03:00
aac4de2ce4
ci: fix swap setup and optimize release build for low memory
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 13s
2025-12-18 17:14:36 -03:00
84117ce5b2
feat: add ON EMAIL and ON CHANGE keywords for event-driven monitoring
...
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 14s
- Add ON EMAIL keyword with FROM/SUBJECT filters
- Add ON CHANGE keyword with account:// syntax (gdrive, onedrive, dropbox, local)
- Add TriggerKind::EmailReceived (5) and FolderChange (6)
- Add migration 6.1.3_bot_hierarchy_monitors with:
- email_monitors, folder_monitors tables
- email_received_events, folder_change_events tables
- user_organizations table
- Bot hierarchy: parent_bot_id, enabled_tabs_json, inherit_parent_config
- Add 26 unit tests (12 on_email, 12 on_change, 2 trigger_kind)
- Update PROMPT.md with weekly maintenance checklist
- Zero warnings, zero errors
2025-12-18 16:17:58 -03:00
23ccac2b1e
CI: add swap and staged build to prevent OOM
GBCI / build (push) Has been cancelled
GBCI Bundle / build-bundle (push) Has been skipped
2025-12-18 14:08:47 -03:00
7600620224
Add rotate-secret and rotate-secrets commands for credential rotation
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 24m38s
2025-12-18 11:20:31 -03:00
91f6263746
Add version --all command
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Has been skipped
2025-12-18 11:06:19 -03:00
ee8f17b800
CI: reduce codegen-units to 1 to prevent OOM
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 23m36s
2025-12-18 10:41:33 -03:00
f8ac224d00
Add vault CLI commands for secret migration
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 24m51s
2025-12-18 09:40:16 -03:00
55faf55e08
CI: add libpq-dev for PostgreSQL linking
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Successful in 16m37s
2025-12-17 22:40:45 -03:00
bac5dc3d4a
CI: use debug build for fastest compilation
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 12m21s
2025-12-17 22:01:11 -03:00
3d18873c89
CI profile: disable LTO, 16 codegen units for max speed
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Has been cancelled
2025-12-17 22:00:38 -03:00
e992667e2a
Use CI profile: thin LTO + 4 codegen units for faster builds
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Has been cancelled
2025-12-17 21:59:52 -03:00
503d6e7ca8
Reduce memory usage in CI: limit parallel jobs
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Has been cancelled
2025-12-17 21:56:28 -03:00
ab215bc90e
Disable botserver-bundle workflow
GBCI Bundle / build-bundle (push) Has been skipped
GBCI / build (push) Failing after 32m32s
2025-12-17 20:44:01 -03:00
88605711e1
fix: remove unused error import
GBCI Bundle / build-bundle (push) Failing after 29m52s
GBCI / build (push) Failing after 30m53s
2025-12-17 18:38:34 -03:00
27fae3ba05
fix: resolve all warnings - wire up services properly
GBCI Bundle / build-bundle (push) Failing after 31m25s
GBCI / build (push) Failing after 27m41s
2025-12-17 17:41:37 -03:00
f490eb09eb
Fix warnings: add Debug derive, prefix unused vars
GBCI Bundle / build-bundle (push) Failing after 26m24s
GBCI / build (push) Failing after 26m5s
2025-12-17 11:26:58 -03:00
351708f3fa
Save build logs to /opt/gbo/logs/
GBCI Bundle / build-bundle (push) Failing after 25m54s
GBCI / build (push) Failing after 22m25s
2025-12-16 22:29:29 -03:00
36453cd03b
Add debug output to diagnose silent CI failures
GBCI Bundle / build-bundle (push) Failing after 27m9s
GBCI / build (push) Waiting to run
2025-12-16 21:13:12 -03:00
a2dd0b3683
Simplify: build only Linux x86_64 for now
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Failing after 24m37s
2025-12-16 20:40:40 -03:00
c41c201ac8
Fix: use full paths for cargo to work across all build steps
GBCI Bundle / build-bundle (push) Failing after 26m20s
GBCI / build (push) Failing after 25m0s
2025-12-16 19:59:05 -03:00
8788ad7df2
Fix: rename gbserver to botserver, use rustup for Rust install, remove macOS
GBCI Bundle / build-bundle (push) Failing after 27m36s
GBCI / build (push) Failing after 23m47s
2025-12-16 19:17:47 -03:00
62e22f1180
Fix: use git clone for dependencies outside workspace
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Failing after 24m19s
2025-12-16 17:20:36 -03:00
38406043d6
Add checkout of botlib dependency in CI
GBCI Bundle / build-bundle (push) Failing after 17s
GBCI / build (push) Failing after 19s
2025-12-16 17:00:14 -03:00
a1fef6fc37
Add Cargo caching for faster builds
GBCI Bundle / build-bundle (push) Failing after 26s
GBCI / build (push) Failing after 23s
2025-12-16 16:35:22 -03:00
d380368fee
Add Forgejo CI workflows - botserver.yaml and botserver-bundle.yaml with cross-platform builds
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Has been cancelled
2025-12-16 13:25:26 -03:00
e486689644
Fix: Skip starting components that are already running (minio, valkey)
2025-12-16 10:48:42 -03:00
2f9622ab77
Update calendar and email modules
2025-12-15 23:16:08 -03:00
9a309b4bea
Fix vault health check - quote URL to prevent & being interpreted as shell background
2025-12-15 18:04:53 -03:00
62915b2164
Add debug logs to package manager start function
2025-12-15 17:50:03 -03:00
3c56b6e088
Fix Vault retry logic - wait up to 20 seconds for vault to start
2025-12-15 17:37:00 -03:00
7ccca11a25
Fix Vault startup: detect connection refused and start vault properly
2025-12-15 17:32:15 -03:00
dfe07d8449
Fix: add trace to log imports
2025-12-15 17:14:39 -03:00
4bae62b736
Fix Vault startup - add retry logic and auto-restart zombie vault processes
2025-12-15 17:11:47 -03:00
2d310a71ac
Fix llm-server default to true, convert debug eprintln to trace
2025-12-15 16:33:13 -03:00
e200f47864
Fix Zitadel masterkey to come from Vault
...
- Add masterkey field to gbo/directory secret in Vault during bootstrap
- Generate random 32-char masterkey if not exists
- Update Zitadel exec_cmd to read masterkey from Vault
- Remove hardcoded masterkey values
2025-12-15 13:56:50 -03:00