Skip to content

fix: retry failed subagent directory initialization - #260

Merged
danielkov merged 2 commits into
mainfrom
fix/subagent-directory-retry
Oct 4, 2026
Merged

danielkov merged 2 commits into
mainfrom
fix/subagent-directory-retry

Conversation

@danielkov

Copy link
Copy Markdown
Contributor

Summary

Allow subagent directory initialization to recover from transient filesystem errors without restarting Kit. Keep the selected directory path stable and cache only successful initialization.

Motivation

A first subagent request made while the disk is full currently caches the directory-creation error permanently. Later requests replay that error even after disk space is available.

Technical details

Separate immutable path selection from successful filesystem initialization. Failed creation attempts remain retryable; after success, callers reuse the path without introducing new filesystem failures after reserving a subagent slot.

@kit-code-agent kit-code-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found. The changes look good to merge.

@danielkov
danielkov merged commit 013948c into main Oct 4, 2026
9 of 10 checks 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