Commit graph

31 commits

Author SHA1 Message Date
Jeremie Fraeys
79faf9556e
ci: fix version mismatches in build-cli.yml
Some checks failed
Build CLI with Embedded SQLite / build (arm64, aarch64-linux) (push) Waiting to run
Build CLI with Embedded SQLite / build (x86_64, x86_64-linux) (push) Waiting to run
Build CLI with Embedded SQLite / build-macos (arm64) (push) Waiting to run
Build CLI with Embedded SQLite / build-macos (x86_64) (push) Waiting to run
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI/CD Pipeline / Test (push) Failing after 5m48s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Test Native Libraries (push) Has been skipped
Documentation / build-and-publish (push) Failing after 35s
CI/CD Pipeline / Docker Build (push) Has been skipped
- Update Zig from 0.15.0 to 0.15.2 (consistent with ci.yml)

- Update SQLite from 3450000 to 3480000 (consistent with Makefile)
2026-02-21 21:03:43 -05:00
Jeremie Fraeys
2d66a85abc
ci: add SHA256 verification for SQLite and fix CLI build
Some checks failed
Build CLI with Embedded SQLite / build (arm64, aarch64-linux) (push) Waiting to run
Build CLI with Embedded SQLite / build (x86_64, x86_64-linux) (push) Waiting to run
Build CLI with Embedded SQLite / build-macos (arm64) (push) Waiting to run
Build CLI with Embedded SQLite / build-macos (x86_64) (push) Waiting to run
Documentation / build-and-publish (push) Waiting to run
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI/CD Pipeline / Test (push) Has been cancelled
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been cancelled
CI/CD Pipeline / Build (push) Has been cancelled
CI/CD Pipeline / Test Scripts (push) Has been cancelled
CI/CD Pipeline / Test Native Libraries (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
- Add SHA256 verification to build_sqlite.sh (SQLite 3.48.0)

- Add build-sqlite and CLI build steps to ci.yml build job

- Remove cache from benchmark-metrics.yml
2026-02-21 20:58:08 -05:00
Jeremie Fraeys
aaef56e13e
ci: merge ci-native.yml into ci.yml and remove duplicates
Some checks failed
Documentation / build-and-publish (push) Waiting to run
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 3s
CI/CD Pipeline / Test (push) Has been cancelled
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been cancelled
CI/CD Pipeline / Build (push) Has been cancelled
CI/CD Pipeline / Test Scripts (push) Has been cancelled
CI/CD Pipeline / Test Native Libraries (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
- Merge test-native job from ci-native.yml into ci.yml

- Remove duplicate security-scan job (kept in security-scan.yml)

- Remove cache steps from merged native job (infra not available)

- Update Go version to 1.25.0 for consistency

- Update docker-build needs to include test-native

- Delete ci-native.yml
2026-02-21 20:54:18 -05:00
Jeremie Fraeys
5f2fc66200
fix(ci): correct Zig download URLs to ziglang.org format
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Documentation / build-and-publish (push) Waiting to run
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 18s
CI/CD Pipeline / Test (push) Failing after 1m9s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
Change from incorrect GitHub releases URL to official ziglang.org URL

Format: ziglang.org/download/{VERSION}/zig-{ARCH}-{OS}-{VERSION}.tar.xz
2026-02-21 20:39:18 -05:00
Jeremie Fraeys
f9e80f8bdf
ci: remove all caching from CI workflow
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Documentation / build-and-publish (push) Waiting to run
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 6s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
CI/CD Pipeline / Test (push) Failing after 21s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
Cache infrastructure is not implemented in the Forgejo instance, causing timeouts

Removed:

- actions/cache steps for Go modules, Zig build, native libs, apt packages

- Docker buildx layer caching (cache-from/cache-to)
2026-02-21 20:37:51 -05:00
Jeremie Fraeys
169dd98642
fix(ci): use GitHub releases for Zig download with better error handling
Some checks failed
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Security Scan / Security Analysis (push) Waiting to run
Security Scan / Native Library Security (push) Waiting to run
Checkout test / test (push) Successful in 4s
CI with Native Libraries / Check Build Environment (push) Successful in 11s
CI/CD Pipeline / Test (push) Failing after 5m7s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Failing after 4m50s
Documentation / build-and-publish (push) Failing after 26s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 2h5m54s
CI/CD Pipeline / Docker Build (push) Has been skipped
- Switch from ziglang.org/download to github.com/ziglang/zig/releases

- Add curl -fsSL --retry 3 for reliable downloads

- Use file-based extraction instead of pipe-to-tar for verification
2026-02-21 18:18:54 -05:00
Jeremie Fraeys
d6265df0bd
docs: update all documentation to use build tags instead of deprecated env var
- README.md: Replace FETCHML_NATIVE_LIBS with -tags native_libs
- docs/src/native-libraries.md: Update all examples to use build tags
- .forgejo/workflows/ci-native.yml: Use -tags native_libs in all test steps
- Remove deprecated FETCHML_NATIVE_LIBS=1/0 env var references
2026-02-21 15:11:27 -05:00
Jeremie Fraeys
a3b957dcc0
refactor(cli): Update build system and core infrastructure
- Makefile: Update build targets for native library integration
- build.zig: Add SQLite linking and native hash library support
- scripts/build_rsync.sh: Update rsync embedded binary build process
- scripts/build_sqlite.sh: Add SQLite constants generation script
- src/assets/README.md: Document embedded asset structure
- src/utils/rsync_embedded_binary.zig: Update for new build layout
2026-02-20 21:39:51 -05:00
Jeremie Fraeys
96c4c376d8
ci(forgejo): add contract tests and docs deployment
- Add contract-test.yml workflow for API contract testing
- Add docs-deploy.yml for automated documentation deployment
2026-02-20 15:51:29 -05:00
Jeremie Fraeys
ff542b533f
feat(cli): embed SQLite and unify commands for local mode
- Add SQLite amalgamation fetch script (make build-sqlite)
- Embed SQLite in release builds, link system lib in dev
- Create sqlite_embedded.zig utility module
- Unify experiment/run/log commands with auto mode detection
- Add Forgejo CI workflow for building with embedded SQLite
- Update READMEs for local mode and build instructions

SQLite follows rsync embedding pattern: assets/sqlite_release_<os>_<arch>/
Zero external dependencies for release builds.
2026-02-20 15:50:04 -05:00
Jeremie Fraeys
e4d286f2e5
feat: add security monitoring and validation framework
- Implement anomaly detection monitor (brute force, path traversal, etc.)
- Add input validation framework with safety rules
- Add environment-based secrets manager with redaction
- Add security test suite for path traversal and injection
- Add CI security scanning workflow
2026-02-19 15:34:25 -05:00
Jeremie Fraeys
8b4e1753d1
chore: update configurations and deployment files
- Add Redis secure configuration
- Update worker configurations for homelab and Docker
- Add Forgejo workflow configurations
- Update docker-compose files with improved networking
- Add Caddy configurations for different environments
2026-02-16 20:38:19 -05:00
Jeremie Fraeys
3bd118f2d3
ci: fix Hugo installation - aggressively remove old versions and use absolute paths
Some checks failed
Checkout test / test (push) Successful in 6s
CI with Native Libraries / Check Build Environment (push) Successful in 10s
CI/CD Pipeline / Test (push) Failing after 5m7s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Failing after 4m52s
Documentation / build-and-publish (push) Failing after 25s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 16m19s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
CI/CD Pipeline / Docker Build (push) Has been skipped
2026-02-12 18:08:25 -05:00
Jeremie Fraeys
580288b166
fix(ci): remove codecov/codecov-action - not available on Forgejo instance
Some checks failed
Checkout test / test (push) Successful in 4s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
CI/CD Pipeline / Test (push) Failing after 5m8s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Failing after 4m52s
Documentation / build-and-publish (push) Failing after 37s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 16m16s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
CI/CD Pipeline / Docker Build (push) Has been skipped
2026-02-12 14:16:32 -05:00
Jeremie Fraeys
bdcb134582
ci: replace setup-zig action with manual installation for Forgejo compatibility
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Documentation / build-and-publish (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
CI/CD Pipeline / Test (push) Failing after 20s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
2026-02-12 14:14:37 -05:00
Jeremie Fraeys
4c82237608
ci: performance optimizations - native lib caching, docker layer caching, path filtering, apt caching
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Documentation / build-and-publish (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
CI/CD Pipeline / Test (push) Failing after 1m0s
CI/CD Pipeline / Dev Compose Smoke Test (push) Has been skipped
CI/CD Pipeline / Build (push) Has been skipped
CI/CD Pipeline / Test Scripts (push) Has been skipped
CI/CD Pipeline / Security Scan (push) Has been cancelled
CI/CD Pipeline / Docker Build (push) Has been cancelled
2026-02-12 14:12:25 -05:00
Jeremie Fraeys
5695d847ca
ci: add Redis service to ci-native.yml for test isolation
Some checks failed
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
Documentation / build-and-publish (push) Failing after 37s
CI with Native Libraries / Build and Test Native Libraries (push) Has been cancelled
CI with Native Libraries / Build Release Libraries (push) Has been cancelled
2026-02-12 14:09:57 -05:00
Jeremie Fraeys
1f0881e70f
ci: install cmake in test-native job (jobs don't share packages)
Some checks failed
Checkout test / test (push) Successful in 6s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
Documentation / build-and-publish (push) Failing after 39s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 31s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
2026-02-12 13:54:06 -05:00
Jeremie Fraeys
51eb6f9d0d
ci: update Hugo to 0.146.0 for hugo-book theme compatibility
Some checks failed
Checkout test / test (push) Successful in 4s
CI with Native Libraries / Check Build Environment (push) Successful in 11s
Documentation / build-and-publish (push) Failing after 37s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 17s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
2026-02-12 13:49:56 -05:00
Jeremie Fraeys
98a156110e
ci: revert to Go 1.25.0 to match go.mod
Some checks failed
Checkout test / test (push) Successful in 4s
CI with Native Libraries / Check Build Environment (push) Successful in 11s
Documentation / build-and-publish (push) Failing after 40s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 16s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
2026-02-12 13:48:31 -05:00
Jeremie Fraeys
d003b3de64
ci: replace slow setup-go with fast shell script in all workflows
Some checks failed
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
Documentation / build-and-publish (push) Failing after 32s
CI with Native Libraries / Build and Test Native Libraries (push) Failing after 5s
CI with Native Libraries / Build Release Libraries (push) Has been skipped
2026-02-12 13:41:59 -05:00
Jeremie Fraeys
8b95f2b5d2
ci: use fast Go setup that skips download if already installed
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 11s
Documentation / build-and-publish (push) Has been cancelled
Test / test (push) Successful in 1s
2026-02-12 13:39:14 -05:00
Jeremie Fraeys
b4f2b3e785
ci: auto-install cmake and build dependencies
Some checks failed
CI with Native Libraries / Build and Test Native Libraries (push) Blocked by required conditions
CI with Native Libraries / Build Release Libraries (push) Blocked by required conditions
Test / test (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI with Native Libraries / Check Build Environment (push) Successful in 12s
Documentation / build-and-publish (push) Has been cancelled
2026-02-12 13:35:48 -05:00
Jeremie Fraeys
06b388d692
ci: add timeouts and pre-flight checks to native CI
Some checks failed
Test / test (push) Waiting to run
Checkout test / test (push) Successful in 4s
CI with Native Libraries / Check Build Environment (push) Failing after 1s
CI with Native Libraries / Build and Test Native Libraries (push) Has been skipped
CI with Native Libraries / Build Release Libraries (push) Has been skipped
Documentation / build-and-publish (push) Has been cancelled
2026-02-12 13:32:59 -05:00
Jeremie Fraeys
d408a60eb1
ci: push all workflow updates
Some checks failed
Documentation / build-and-publish (push) Waiting to run
Test / test (push) Waiting to run
Checkout test / test (push) Successful in 5s
CI with Native Libraries / test-native (push) Has been cancelled
CI with Native Libraries / build-release (push) Has been cancelled
2026-02-12 13:28:15 -05:00
Jeremie Fraeys
06690230e2
ci: add native library CI workflow
Some checks failed
Checkout test / test (push) Waiting to run
Documentation / build-and-publish (push) Waiting to run
CI with Native Libraries / test-native (push) Failing after 5m35s
CI with Native Libraries / build-release (push) Has been skipped
Test / test (push) Successful in 1s
2026-02-12 13:21:37 -05:00
Jeremie Fraeys
d3f1a1841a
ci: fix invalid secrets syntax in job-level if
Some checks are pending
Checkout test / test (push) Waiting to run
Documentation / build-and-publish (push) Waiting to run
Test / test (push) Successful in 1s
2026-02-12 13:18:59 -05:00
Jeremie Fraeys
19853dbdf6
ci: add test workflow and ignore Instruments traces
Some checks failed
Test / test (push) Successful in 1s
Checkout test / test (push) Has been cancelled
Documentation / build-and-publish (push) Has been cancelled
2026-02-12 13:13:24 -05:00
Jeremie Fraeys
df5d872021
ci: migrate from GitHub to Forgejo/Gitea
- Add Forgejo workflow files (.forgejo/workflows/)
- Add Gitea templates (.gitea/ISSUE_TEMPLATE/, .gitea/PULL_REQUEST_TEMPLATE.md)
- Remove legacy .github/ workflows and templates
2026-02-12 12:05:00 -05:00
Jeremie Fraeys
890c632fa7
testing checkout on docker
All checks were successful
Checkout test / test (push) Successful in 46s
2026-01-19 14:09:10 -05:00
Jeremie Fraeys
9a990d2805
testing checkout
Some checks are pending
Checkout test / test (push) Waiting to run
2026-01-19 13:12:44 -05:00