Files
fil/.ai-rulez/domains/document-extraction/rules/async-and-concurrency.md
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

331 B

priority
priority
high
  • All extraction paths must be fully async using tokio
  • Never block the async runtime — use spawn_blocking for CPU-intensive work
  • All public types must be Send + Sync
  • Use tokio::select! for timeout handling on extraction operations
  • Cross-platform: test on Linux (amd64, arm64) and macOS at minimum