Skip to content

clarify(blacksmith-cache): make hydration-in-progress fallback log explicit#27

Merged
aayushshah15 merged 1 commit into
mainfrom
codesmith/clarify-hydration-fallback-logs
Apr 22, 2026
Merged

clarify(blacksmith-cache): make hydration-in-progress fallback log explicit#27
aayushshah15 merged 1 commit into
mainfrom
codesmith/clarify-hydration-fallback-logs

Conversation

@aayushshah15
Copy link
Copy Markdown
Contributor

@aayushshah15 aayushshah15 commented Apr 22, 2026

When GetStickyDisk returns Code.Aborted because another job is hydrating the git mirror, the previous log wording ("Falling back to standard checkout") left it unclear whether the checkout was still happening on a sticky disk (potentially an empty one) or on the runner's regular disk. It is the latter: the gRPC call is aborted before any disk is allocated, formatted, or mounted, so the subsequent git init/fetch clones directly from GitHub onto /home/runner/_work/... on the VM's rootfs, with no mirror cache involved.

This PR updates the second core.warning in the Code.Aborted catch block in src/blacksmith-cache.ts to state that explicitly: no sticky disk is mounted for this run, the checkout clones directly from GitHub onto the runner disk, and the mirror cache will be available on subsequent runs once hydration completes. dist/index.js is updated to match so the check-dist workflow passes.

No behavioral change, only log wording.


View in Codesmith
Codesmith can help with this PR — just tag @codesmith or enable autofix.

  • Autofix CI and bot reviews (Staging)

View in Codesmith
Codesmith can help with this PR — just tag @codesmith or enable autofix.

  • Autofix CI and bot reviews

Open in Devin Review

…plicit

When GetStickyDisk returns Code.Aborted (another job is hydrating the
mirror), no sticky disk is mounted for this run and checkout clones
directly from GitHub onto the runner's local disk. The previous
'Falling back to standard checkout' wording was ambiguous about that.
Update the warning to state explicitly that no sticky disk is mounted
and the checkout is happening on the runner disk with no mirror cache.

Co-authored-by: Codesmith Staging <codesmith-bot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@aayushshah15 aayushshah15 requested a review from adityamaru April 22, 2026 19:49
@aayushshah15 aayushshah15 merged commit 626e346 into main Apr 22, 2026
14 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