ISSUE: Race condition and stuck runs
- .gitea/workflows/ and .forgejo/workflows/ both existed (removed .gitea earlier)
- Remaining .forgejo/workflows/build.yaml was disabled but still cluttering
- TEMPLATE.md was unused
- No way to cancel stuck runs without manual intervention
SOLUTION: Remove all auto-trigger workflows
- Deleted .forgejo/workflows/build.yaml.disabled
- Deleted .forgejo/workflows/TEMPLATE.md
- Added .forgejo/README.md explaining manual build process
- Zero CI auto-trigger (prevents race conditions)
MANUAL BUILD: Use provided script
export REGISTRY_TOKEN='<your-token>'
./scripts/build-and-push.sh
Benefits:
✅ No race conditions (no workflows active)
✅ Full visibility (see every step)
✅ No hanging processes (direct docker commands)
✅ Easy to debug (plain shell script)
✅ Can run from anywhere (just needs docker + git)
CI Status:
- Auto CI: ❌ DISABLED (Forgejo runners unavailable)
- Manual Build: ✅ READY
- Code Quality: ✅ 236 tests passing
- Docker: ✅ Ready to build
Production build workflow:
cargo test --lib --all # Verify tests
cargo build --release # Build binary
./scripts/build-and-push.sh # Push to registry