Skip to content

AutoCookies/pomaiqueue

Repository files navigation

PomaiQueue

Pomai Logo

Pomai Queue is a deterministic, bounded, crash-safe backend task queue with replay debugging.

Canonical contract

Behavior source of truth is docs/QUEUE_CONTRACT.md.

Build and test

cmake -S . -B build
cmake --build build
ctest --test-dir build --output-on-failure

Quickstart (server + admin CLI)

cmake -S . -B build -DPOMAIQ_BUILD_SERVER=ON
cmake --build build --target pomaiqueue-server pomaiqctl
./build/pomaiqueue-server --config config/pomaiqueue.toml

Inspect a message offset:

./build/pomaiqctl inspect --queue jobs --group default --offset 1

Generate a bugreport bundle:

./build/pomaiqctl bugreport --queue jobs --group default --from-seq 1 --to-seq 500 --out /tmp/pomaiqueue-bugreport.tar.gz

Determinism and crash safety

P0 acceptance checklist (baseline)

  • Server wrapper binary (pomaiqueue-server) starts from config/pomaiqueue.toml.
  • Durable rename path uses fsync + rename + fsync(dir) in state persistence.
  • Deterministic consumer session primitive and scheduler are unit tested.
  • CI contains separate build/unit/integration/crash/lint/artifact stages.

Production-ready claim policy

This project does not claim universally production-ready status. Readiness is defined and tracked in docs/READINESS_SCORECARD.md with explicit scope and limitations.

About

pomaiqueue

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages