Skip to content

feat(queue): add ORM-backed PostgreSQL backend - #5

Merged
ZhiXiao-Lin merged 2 commits into
mainfrom
codex/postgres-queue-20260809
Aug 9, 2026
Merged

ZhiXiao-Lin merged 2 commits into
mainfrom
codex/postgres-queue-20260809

Conversation

@ZhiXiao-Lin

Copy link
Copy Markdown
Contributor

Adds the durable shared PostgreSQL QueueBackend used by Flow and Cloud task management. The backend uses A3S ORM migrations and parameterized SQL, SKIP LOCKED leasing, fencing tokens, heartbeats, stalled recovery, retries, timeouts, retention, idempotency, and deduplication. It also fixes in-process retry, timeout, heartbeat, stalled recovery, and shutdown lease release behavior.

Validation:

  • PostgreSQL 17 integration tests: 11 passed
  • cargo test --all-targets --all-features
  • cargo test --all-targets
  • cargo test --all-targets --no-default-features
  • strict Clippy for all-features, default, and no-default-features
  • rustdoc with warnings denied
  • cargo publish dry-run for a3s-boot 0.1.4

@ZhiXiao-Lin
ZhiXiao-Lin merged commit 81b6103 into main Aug 9, 2026
1 check passed
@ZhiXiao-Lin
ZhiXiao-Lin deleted the codex/postgres-queue-20260809 branch August 9, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant