Skip to content

Rollover session drain - #29

Merged
CodingInAVan merged 2 commits into
mainfrom
rollover-session-drain
Aug 4, 2026
Merged

Rollover session drain#29
CodingInAVan merged 2 commits into
mainfrom
rollover-session-drain

Conversation

@CodingInAVan

Copy link
Copy Markdown
Contributor

Keep rollover uploads alive through final session discovery

The launcher-owned agent could decide it was drained before the watcher
observed a final rollover session created near process shutdown.

Add a synchronous discovery pass while --exit-when-drained evaluates
quiescence. The agent now exits only after no newly discovered session
has started and all tailers/ACK cleanup are idle.

Also compile the agent for Java 21 so the artifact runs on the deployed
3090 host even when built locally with a newer JDK.

@CodingInAVan
CodingInAVan merged commit 357615b into main Aug 4, 2026
1 check passed
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