Skip to content

Agent drain robustness - #26

Merged
CodingInAVan merged 2 commits into
mainfrom
agent-drain-robustness
Jun 30, 2026
Merged

Agent drain robustness#26
CodingInAVan merged 2 commits into
mainfrom
agent-drain-robustness

Conversation

@CodingInAVan

Copy link
Copy Markdown
Contributor

Discovery scans one grouping level deep, so a standalone agent watching a parent folder finds both flat / and grouped run-// layouts.
Keep one bad session from stalling the launcher's 60s drain cap:

  • LogTailer finishes a session whose .tmp/ working dir has been frozen past a stale grace (producer crashed or was killed), not only when it is removed.
  • TailerManager settles each finished session with a marker discovery skips:
    .uploaded (clean) or .failed (orphaned). GPUFL_AGENT_PRUNE_FAILED deletes an orphaned session instead - its windows are already uploaded.
  • A launcher-spawned --upload agent (GPUFL_AGENT_IGNORE_PREEXISTING) uploads only sessions newer than its JVM start, ignoring old sessions in a reused output dir.

@CodingInAVan
CodingInAVan merged commit 43ae69e into main Jun 30, 2026
1 check passed
@CodingInAVan
CodingInAVan deleted the agent-drain-robustness branch June 30, 2026 20:41
@CodingInAVan
CodingInAVan restored the agent-drain-robustness branch June 30, 2026 22:43
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