Repository navigation
Conversation
skills/hp/SKILL.md is an agent-facing guide to running hp bounded and reading its output. It is embedded and printed by `hp --skill`. Flags move into defineFlags(fs) so TestSkillDocumentsEveryFlag can walk every flag and fail when the skill misses one. --fail-style dots|bang (env HP_FAIL_STYLE) selects the braille failure marker: dots keeps the 0.8.7 purple full cell, bang restores the red ! of 0.8.6 and earlier (blank column for a single failure in a pair). .gitignore anchors the binary names to the root: a bare `hp` pattern ignored skills/hp/. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Requests were sequential: a timed-out request blocked the next, so with the defaults one failure glyph stood for 6 s (5 s timeout + 1 s sleep), 12 s per braille cell, against ~1 s while the host was up. The bar's time scale stretched sixfold exactly during outages. runFixedRate (schedule.go) now starts a request every interval whatever earlier ones are doing, like ping, and hands results to the renderer in send order (inOrder). Loss % becomes the share of time without answers. Each request captures its protocol at send time, and downgrade counts only failures of the current protocol, so in-flight requests of the old protocol cannot trigger a second downgrade. Timeline periods start at the send time of their first request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The startup DNS check passed the whole target to LookupHost, so any
host:port target ("example.com:8443", "127.0.0.1:8080") exited with
"cannot resolve" unless a proxy was set. hostname() strips the port
and IPv6 brackets before the lookup.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Release v0.8.8.
--intervalwhatever earlier ones are doing, like ping. One glyph is one interval of wall time during outages too (before, each failure stood for timeout + interval, 6 s by default, 12 s per braille cell). Loss % is now time-based. Results are drawn in send order.--fail-style dots|bang(envHP_FAIL_STYLE): braille failure marker, purple⣿(default) or the red!of 0.8.6 and earlier.--skill: prints the embedded agent skill (skills/hp/SKILL.md); a test fails when a flag is missing from it.host:porttargets no longer fail the startup DNS check.Verified on dev:
go test -racegreen, golangci-lint v2.15.0 clean, CI green ond66f0b2; real runs against a black-hole IP (6 requests in 7.4 s instead of ~17 s) and a local server hung mid-run (timeline shows the outage in wall time).🤖 Generated with Claude Code