Skip to content

feat: add check for lost+found directory after disk mount#45

Merged
pbardea merged 2 commits intomainfrom
pb/log-lost-found
Oct 13, 2025
Merged

feat: add check for lost+found directory after disk mount#45
pbardea merged 2 commits intomainfrom
pb/log-lost-found

Conversation

@pbardea
Copy link
Contributor

@pbardea pbardea commented Oct 13, 2025

Check for presence of lost+found directory in /var/lib/buildkit after mounting the sticky disk. This directory typically indicates filesystem issues during previous shutdown and helps diagnose potential corruption.

Example: https://app.blacksmith.sh/useblacksmith/runs/18479156296/jobs/52650664240#step:5:132

To help identify BLA-2150

🤖 Generated with Claude Code


Note

Add a post-mount check for a lost+found directory on the mounted disk and log a warning if found.

  • Setup/Build mount flow (src/setup_builder.ts):
    • Add post-mount check for mountPoint/lost+found; logs a warning if present and emits a debug message on check errors.

Written by Cursor Bugbot for commit 6af4b90. This will update automatically on new commits. Configure here.

pbardea and others added 2 commits October 13, 2025 11:27
Check for presence of lost+found directory in /var/lib/buildkit after
mounting the sticky disk. This directory typically indicates filesystem
issues during previous shutdown and helps diagnose potential corruption.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@pbardea pbardea merged commit 9254c55 into main Oct 13, 2025
9 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.

2 participants