QUEUE-144: source branch for split context-listener PRs [do not merge] - #1718
Draft
peter-lawrey wants to merge 37 commits into
Draft
peter-lawrey wants to merge 37 commits into
peter-lawrey wants to merge 37 commits into
Conversation
A typo'd path passed to analyse(File)/removableRollFileCandidatesByTailerPosition was silently mkdir'd and given a metadata.cq4t queue skeleton that later sweeps discovered as a real, empty queue. Guard with IllegalArgumentException before the builder can create anything.
An empty --park value (e.g. an unset shell variable expanding to --park "") silently degraded to a plain sweep and bypassed the one-shot guard; it is now a usage error. checkFreeDisk deduped filesystems by FileStore.name(), which collides across same-typed mounts (tmpfs/overlay/NFS), skipping a distinct filesystem that may be filling; dedupe by the FileStore itself, whose platform equals() compares device identity.
Document that the reserved .lock/.version tailer-id rejection is a deliberate breaking change required for non-overlapping metadata key namespaces, that a tableStoreGet miss is always a full scan because a named tailer can be registered without notice, and that TableStore.acquireOrGetValueFor's default throws UnsupportedOperationException for createIfAbsent=false unless overridden.
Note that custom RollCycles are unsupported (the tool infers the cycle from the file-name format), that a pretoucher-pre-created next cycle should be counted in --keep, that --fail-on-warn with --interval stops the loop on the first warning so needs a supervisor, and that the reserved tailer-id suffixes are a breaking change; soften the park-preflight claim to what the code guarantees.
This was referenced Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This draft is the original mixed QUEUE-143/QUEUE-144 source branch. It is retained for commit provenance only and must not be merged.
Work already split out:
The OSS cleanup CLI decision is complete: it ships independently in #1716 with cycle-number retention semantics. Remaining QUEUE-144 lifecycle and Enterprise integration commits will be mined into focused PRs based on the split stack; they will not be rebased through this umbrella branch.