Skip to content

Navigation Menu

Sign in
Sign up

fix(penpal): fail fast with helpful error when Warp is not connected - #340

Open
pyricau wants to merge 1 commit into
block:main from
pyricau:py/warp-check-install
Open

fix(penpal): fail fast with helpful error when Warp is not connected #340
pyricau wants to merge 1 commit into
block:main from
pyricau:py/warp-check-install

Conversation

@pyricau

@pyricau pyricau commented Mar 4, 2026
edited
Loading

Copy link
Copy Markdown

Summary

  • Adds a _check-warp recipe that tests reachability of global.block-artifacts.com before just install runs
  • Without Warp, pnpm install would retry packages repeatedly with confusing ECONNRESET errors before eventually failing
  • Now fails immediately with a clear message: "Error: Block's internal network is unreachable. Turn on Warp before running this command."

Note: warp-cli status reports "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

  • With Warp off: just install exits immediately with the Warp error message
  • With Warp on: just install proceeds normally

🤖 Generated with Claude Code

chatgpt-codex-connector[bot] reacted with thumbs up emoji
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>
Comment thread apps/penpal/justfile
echo "Error: Block's internal network is unreachable." >&2
echo "Turn on Warp before running this command." >&2
exit 1
fi

@pyricau pyricau Mar 4, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@baxen baxen Awaiting requested review from baxen baxen is a code owner
@wesbillman wesbillman Awaiting requested review from wesbillman wesbillman is a code owner
@matt2e matt2e Awaiting requested review from matt2e matt2e is a code owner

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /