fix(penpal): fail fast with helpful error when Warp is not connected#340
Open
pyricau wants to merge 1 commit intoblock:mainfrom
Open
fix(penpal): fail fast with helpful error when Warp is not connected#340pyricau wants to merge 1 commit intoblock:mainfrom
pyricau wants to merge 1 commit intoblock:mainfrom
Conversation
Adds a _check-warp recipe that tests reachability of global.block-artifacts.com before install runs. Without Warp, pnpm install would silently retry and eventually fail with confusing ECONNRESET errors. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pyricau
commented
Mar 4, 2026
| echo "Error: Block's internal network is unreachable." >&2 | ||
| echo "Turn on Warp before running this command." >&2 | ||
| exit 1 | ||
| fi |
Author
There was a problem hiding this comment.
I asked Claude to do this but looking at the PR I'm realizing builderbot is one of our OSS projects, so probably not appropriate. Not sure what to do if anything.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_check-warprecipe that tests reachability ofglobal.block-artifacts.combeforejust installrunspnpm installwould retry packages repeatedly with confusingECONNRESETerrors before eventually failingNote:
warp-cli statusreports "Connected" even when Block's internal network isn't reachable (it reflects Cloudflare tunnel state, not Block's overlay network), so we test reachability of the actual Artifactory host instead.Test plan
just installexits immediately with the Warp error messagejust installproceeds normally🤖 Generated with Claude Code