fetch_ml/internal/queue
Jeremie Fraeys c89d970210
refactor: migrate from env var to build tags for native libs
Replace FETCHML_NATIVE_LIBS=1 environment variable with -tags native_libs:

Changes:
- internal/queue/native_queue.go: UseNativeQueue is now const true
- internal/queue/native_queue_stub.go: UseNativeQueue is now const false
- build/docker/simple.Dockerfile: Add -tags native_libs to go build
- deployments/docker-compose.dev.yml: Remove FETCHML_NATIVE_LIBS env var
- native/README.md: Update documentation for build tags
- scripts/test-native-with-redis.sh: New test script with Redis via docker-compose

Benefits:
- Compile-time enforcement (no runtime checks needed)
- Cleaner deployment (no env var management)
- Type safety (const vs var)
- Simpler testing with docker-compose Redis integration
2026-02-21 13:43:58 -05:00
..
filesystem refactor: Phase 6 - Queue Restructure 2026-02-17 13:41:06 -05:00
redis refactor(api): internal refactoring for TUI and worker modules 2026-02-20 15:51:23 -05:00
sqlite refactor: Phase 6 - Queue Restructure 2026-02-17 13:41:06 -05:00
backend.go feat(core): API, worker, queue, and manifest improvements 2026-02-12 12:05:17 -05:00
dedup.go feat: add manifest signing and native hashing support 2026-02-19 15:34:39 -05:00
errors.go refactor: extract domain types and consolidate error system (Phases 1-2) 2026-02-17 12:34:28 -05:00
event_store.go refactor(api): internal refactoring for TUI and worker modules 2026-02-20 15:51:23 -05:00
filesystem_queue.go refactor: adopt PathRegistry in queue filesystem_queue.go 2026-02-18 16:57:45 -05:00
keys.go refactor: Phase 3 - fix config/storage boundaries 2026-02-17 12:49:53 -05:00
metrics.go refactor: extract domain types and consolidate error system (Phases 1-2) 2026-02-17 12:34:28 -05:00
native_queue.go refactor: migrate from env var to build tags for native libs 2026-02-21 13:43:58 -05:00
native_queue_stub.go refactor: migrate from env var to build tags for native libs 2026-02-21 13:43:58 -05:00
queue.go feat: add manifest signing and native hashing support 2026-02-19 15:34:39 -05:00
sqlite_queue.go refactor: extract domain types and consolidate error system (Phases 1-2) 2026-02-17 12:34:28 -05:00
task.go refactor: Phase 3 - fix config/storage boundaries 2026-02-17 12:49:53 -05:00