atlas
d340c1773a
fix: ci-log durable persisted-log fallback for pruned runs
...
ci-log drove only the live run-view streamer (POST .../runs/<n>/jobs/<j>
with logCursors), which reads the live act_runner task record. Forgejo
prunes that record once a run completes, so the streamer 500s with
'task ... resource does not exist' on quick or older runs even though
the web UI still shows the logs — the reader (argus, atlas) then had to
ask the operator to relay the error.
Add a fallback: when the streamer errors or returns no lines, download
the persisted whole-job log via the same web route the run page's view-
raw-logs link uses, .../runs/<n>/jobs/<job>/attempt/<a>/logs, keyed by
the per-repo run number with the attempt segment. It survives the task
prune. Live and recent runs keep the rich per-step streamed view; only
the pruned case takes the flat fallback (where --step can't apply). New
--attempt flag (default 1) selects the run attempt for re-runs.
Verified against a real pruned run whose streamer 500'd: the fallback
prints the full persisted log; a completed short job ends cleanly at
'Job succeeded', confirming the route returns complete logs.
2026-06-23 22:45:05 +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
fix: ci-log durable persisted-log fallback for pruned runs
2026-06-23 22:45:05 +02:00
ci_rerun.rs
hive-forge: ci-rerun dispatches a fresh run via workflow-dispatch API
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
hive-forge: add 'reopen' verb (pr reopen / issue reopen)
2026-06-23 18:35:19 +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
hive-forge: add 'reopen' verb (pr reopen / issue reopen)
2026-06-23 18:35:19 +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
hive-forge: add 'reopen' verb (pr reopen / issue reopen)
2026-06-23 18:35:19 +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
reopen.rs
fix(reopen): add # Errors doc to run()
2026-06-23 18:35: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