Skip to content

Reuse the checkpoint writer for task queue publication - #1204

Draft
oxa-agent[bot] wants to merge 1 commit into
mainfrom
agent/1165-queue-atomic-writer
Draft

oxa-agent[bot] wants to merge 1 commit into
mainfrom
agent/1165-queue-atomic-writer

Conversation

@oxa-agent

@oxa-agent oxa-agent Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Refs #1165, P0–P3 row D113. T2.

Related #307 row night-watch + feeder + goal-loop (assignment publication).

Queue publication uses the checkpoint writer with its existing locked directory handle. Staging uses a unique hidden .tmp sibling, and publication keeps the no-overwrite hard link and directory sync. The queue still checks pending and started entries before writing.

Removes: the separate queue staging, linking, and cleanup implementation.

Formatting and diff checks passed. Hosted lane 44171491048 passed for oxa-work, oxa-cli and selected consumers on x86_64 and ARM64 at 20ed5f807e6be163cdfdffc9b889f44dfc157ba3, including the existing concurrent-publication and dedupe tests. The queue hunk overlaps #1162, whose reservation callback is retained in a local merge preview. The integrated tree will need hosted CI.

This branch has not been deployed

No deployments
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