rea-ci-tests-audit
MOmorluto/rea485k9,215 new stars in the last 7 days
Inspect an environment's GitHub pull request, mark it ready or draft, or merge it from the Hyperfide CLI; read PR status from another plugin.
The plugin finds the pull request for an environment's current branch by
running gh in the environment's workspace on its machine, so forks, upstream
remotes and the machine's own gh login apply. The composer banner, the Info
panel and sidebar plugins read their PR status from it.
Hyperfide pull-request show <environment-id> [--json]
Hyperfide pull-request ready <environment-id> [--json]
Hyperfide pull-request draft <environment-id> [--json]
Hyperfide pull-request merge <environment-id> [--method merge|squash|rebase] [--json]
show prints the PR number, state, branch, attention, checks, review and
mergeability. --json prints { "outcome": "available", "pullRequest" },
{ "outcome": "absent" } or { "outcome": "unavailable", "message" }.ready needs a draft PR, draft needs an open PR and merge needs an open
PR GitHub reports as mergeable. Each re-reads the PR first and fails with
the reason otherwise.show reports unavailable and the actions fail
with a message naming the machine.gh must be installed and logged in on that machine.Other plugins read the same data through RPC. pullRequests is a keyed read:
pass up to 200 environment ids and get one row per id. While a client watches
a row, the plugin re-checks it every 30 seconds when checks are pending,
auto-merge is on, the PR is queued or mergeability is unknown. It also
re-checks after a thread on the environment goes idle or the environment's
refs, status or metadata change, and refreshes viewers only when the row
changes.
experimental_useRpcKeyedQuery({
pluginId: "hyperfide--github-pr-status",
contract,
method: "pullRequests",
keys: [environmentId],
});
hyperfide-platform plugin rpc inspect hyperfide--github-pr-status prints the input and output schemas
for pullRequests, markReady, markDraft and merge.
MOmorluto/rea485k9,215 new stars in the last 7 days
MOmorluto/rea485k9,215 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
MAmattpocock/skills336k5,004 new stars in the last 7 days
Block dangerous git commands like push and reset --hard before they execute.
MAmattpocock/skills336k5,004 new stars in the last 7 days