1.9.0: rename CLI script hyp->hyperping; incident chunking/guard; partial-batch errors#52
Merged
KhaledSalhab-Develeap merged 1 commit intoJul 14, 2026
Conversation
…tial-batch errors BREAKING: the bundled console script is renamed hyp -> hyperping. 'hyp' collides with the hyperping-automation CLI and silently shadowed it when both were installed; use 'hyperping' for the SDK CLI now. - create_incidents() (sync+async): chunk a broadcast incident's status pages to <=51/incident (MAX_STATUSPAGES_PER_INCIDENT); create_incident() guards the cap. - create_maintenance_windows()/create_incidents() raise HyperpingPartialBatchError (carrying the already-created objects) on mid-batch failure instead of orphaning them silently. - CHANGELOG documents the breaking Integration/CLI changes that shipped mislabeled in 1.8.0/1.8.1; this is the corrective minor release. - Tests: incident chunk/guard/partial, maintenance exactly-51 boundary + partial-failure, async chunking. 613 pass, 95% cov, ruff+mypy clean.
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
Corrective 1.9.0 release addressing the follow-ups from the adversarial review of PR #51, and properly documenting the breaking changes that shipped mislabeled in 1.8.0/1.8.1.
BREAKING — CLI script rename (fixes the review's C1)
1.8.1 added a
hypconsole script for the SDK CLI.hypis the long-standing command of the separate hyperping-automation tool; with both installed, the SDK's script silently shadowed it (verified: brokehyp maintenance broadcast, CI jobs, runbooks, and exposed the SDK's unguarded write commands under a familiar name). Renamed tohyperping. (A console-script rename is breaking → 1.9.0, not 1.8.2.)Incident chunking + guard (review M3)
Incidents attach
statuspagesthe same way maintenance windows do, so a fleet-wide incident broadcast (~57 pages) hits the same silent >51 phantom.create_incidents()(sync + async): splits into ≤MAX_STATUSPAGES_PER_INCIDENT(51) chunks.create_incident()now raisesHyperpingValidationErrorabove the cap.Partial-batch failures (review M1)
create_maintenance_windows/create_incidentsnow raiseHyperpingPartialBatchErrorcarrying the already-created objects (.created/.completed/.total) on a mid-batch failure, instead of discarding them and orphaning windows/incidents silently.Docs (review H2)
CHANGELOG 1.9.0 has an Upgrade Notes section explaining the 1.8.0
Integration/EscalationPolicy/TeamMembermodel reconciliation (activeremoved,type→channel) and the 1.8.1 CLI addition — the breaking changes that were shipped without notes.Tests
create_maintenance_windows+create_incidentschunking.Follow-up (separate repo)
hyperping-automation will bump to
>=1.9.0, fixhyp release start --shared(review H1: unchunked create after pausing the fleet), add a CI smoke test assertinguv run hyp --helpshowsmaintenance, and fix the_parse_datetimeIL→UTC bug (review L5).