hyperhive/hive-forge/src/verbs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas cd4bdf4eea feat(#1778): add hive-forge ci-rerun to re-run CI without an empty commit
When a CI run fails for a transient reason (remote-builder flap, cold-daemon
window, act_runner hiccup) the only retrigger path was an empty commit, which
litters PR history and forces a force-push to clean up. This verb POSTs the
rerun action directly.

- `ci-rerun --run <n>` re-runs all jobs of a run (run number = the `runs/<n>`
  the UI shows, same value ci-log / artifact-get take, surfaced as a CI
  context's target_url by pr-status).
- `--pr <n>` resolves the run from the PR head sha's CI status target_url.
- `--job <i>` re-runs a single job.

Forgejo exposes no REST endpoint for rerunning a run, so this rides the run
page's web routes (`<base>/<owner>/<repo>/actions/runs/<n>[/jobs/<i>]/rerun`)
via a new `Client::post_web_no_content` (web base like post_json_web, tolerates
the redirect/empty response the rerun handler returns). Mirrors ci-log's
web-route approach + auth path.

docs/tools/forge.md updated with the verb.
2026-06-23 14:53:11 +02:00
..
artifact_get.rs feat(hive-forge): add artifact-get verb to download CI run artifacts 2026-06-15 17:59:38 +02:00
assign.rs feat(#1877): restructure hive-forge into pr/issue sub-verbs 2026-06-22 16:01:13 +02:00
attach.rs hive-forge: add # Errors docs on every verb's pub fn run (closes #816) 2026-05-31 16:22:05 +02:00
attachment_get.rs style: treefmt main — fix CI formatting check 2026-06-05 13:09:56 +02:00
branches.rs hive-forge: drop boilerplate # Errors from pure-GET verbs (mara on #827, option A) 2026-05-31 16:22:05 +02:00
ci_log.rs ci-log: graceful message when a run's logs are gc'd (404/500) instead of raw http error 2026-06-17 10:05:21 +02:00
ci_rerun.rs feat(#1778): add hive-forge ci-rerun to re-run CI without an empty commit 2026-06-23 14:53:11 +02:00
clone.rs address argus: drop issue tags from clone/pr-create module docs, fix stale knowledge wording 2026-06-05 20:51:50 +02:00
close.rs feat(#1877): restructure hive-forge into pr/issue sub-verbs 2026-06-22 16:01:13 +02:00
comment.rs feat(#1888): read-before-comment guard via forge notification read-state 2026-06-22 18:54:40 +02:00
comment_edit.rs hive-forge: add # Errors docs on every verb's pub fn run (closes #816) 2026-05-31 16:22:05 +02:00
comment_show.rs hive-forge: drop boilerplate # Errors from pure-GET verbs (mara on #827, option A) 2026-05-31 16:22:05 +02:00
comments.rs feat(#1888): read-before-comment guard via forge notification read-state 2026-06-22 18:54:40 +02:00
diff.rs ci(#1555): prose-ify legacy tracker tags; add lint:allow escape hatch 2026-06-10 13:14:42 +02:00
issue.rs hive-forge: drop boilerplate # Errors from pure-GET verbs (mara on #827, option A) 2026-05-31 16:22:05 +02:00
issue_cmd.rs feat(#1877): restructure hive-forge into pr/issue sub-verbs 2026-06-22 16:01:13 +02:00
issue_create.rs hive-forge: add # Errors docs on every verb's pub fn run (closes #816) 2026-05-31 16:22:05 +02:00
issue_edit.rs hive-forge: add # Errors docs on every verb's pub fn run (closes #816) 2026-05-31 16:22:05 +02:00
labels.rs feat(#1877): restructure hive-forge into pr/issue sub-verbs 2026-06-22 16:01:13 +02:00
lint.rs ci(#1555): prose-ify legacy tracker tags; add lint:allow escape hatch 2026-06-10 13:14:42 +02:00
list.rs list: reject --page 0 and --limit 0 (1-based; clap range parser, per review) 2026-06-17 13:49:45 +02:00
milestone.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
mod.rs feat(#1778): add hive-forge ci-rerun to re-run CI without an empty commit 2026-06-23 14:53:11 +02:00
pr.rs hive-forge: drop boilerplate # Errors from pure-GET verbs (mara on #827, option A) 2026-05-31 16:22:05 +02:00
pr_cmd.rs feat(#1877): restructure hive-forge into pr/issue sub-verbs 2026-06-22 16:01:13 +02:00
pr_commits.rs hive-forge: add pr-commits verb (PR commit list, survives rebase-rewritten shas) 2026-06-17 19:25:01 +02:00
pr_create.rs ci(#1555): prose-ify legacy tracker tags; add lint:allow escape hatch 2026-06-10 13:14:42 +02:00
pr_merge.rs refactor(hive-forge): share latest-per-reviewer logic between pr-status and pr-merge 2026-06-15 11:44:19 +02:00
pr_reviews.rs fix(clippy): fix all clippy warnings in hive-ag3nt, hive-forge, hive-matrix-mcp, hive-sh4re 2026-06-05 14:35:12 +02:00
pr_status.rs refactor(hive-forge): share latest-per-reviewer logic between pr-status and pr-merge 2026-06-15 11:44:19 +02:00
repo_add_collaborator.rs feat(hive-forge): add repo-create + repo-add-collaborator verbs 2026-06-14 22:09:31 +02:00
repo_create.rs feat(hive-forge): add repo-create + repo-add-collaborator verbs 2026-06-14 22:09:31 +02:00
repo_labels.rs hive-forge: add repo-labels verb to list a repo's full label set 2026-06-19 01:45:08 +02:00
subscription.rs fix(#1233): subscription --watch uses PUT, GET handles 404 as not-watching 2026-06-03 23:23:51 +02:00
timeline.rs feat(#1877): restructure hive-forge into pr/issue sub-verbs 2026-06-22 16:01:13 +02:00
tree_sha.rs hive-forge: drop boilerplate # Errors from pure-GET verbs (mara on #827, option A) 2026-05-31 16:22:05 +02:00
view.rs feat(#1888): read-before-comment guard via forge notification read-state 2026-06-22 18:54:40 +02:00