Tracking: Forgejo Actions tooling — read-only runs/jobs/logs tools #111
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills#111
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Tracking issue for the Forgejo extension's Phases 7–8 work: five read-only Forgejo Actions tools (list/search runs and jobs; download job and run logs) with a deterministic on-disk cache, plus the final documentation pass. Every step-issue in milestones M6 and M7 belongs to this feature.
Background
The
forgejopi extension (extensions/forgejo/) already replaces thefjCLI's issue/PR functionality by calling the Forgejo REST API directly (Phases 0–6 complete:src/issues.ts,src/pulls.ts,src/milestones.ts,src/api.ts,src/git.ts,src/forgejo.ts; 31 tools registered insrc/index.ts). This revision adds read-only Actions tooling to debug CI pipeline failures. API surface is verified against Forgejo v16 source (routers/api/v1/repo/action.go) and the v16 swagger.Design references:
extensions/forgejo/docs/DESIGN.mdandextensions/forgejo/docs/IMPLEMENTATION_PLAN.md(Phases 7–8). All issues in this set are fully self-contained; this issue is the umbrella.Scope (this feature)
forgejo_action_runs,forgejo_action_run_view,forgejo_action_jobs,forgejo_action_job_log,forgejo_action_run_logs.src/actionsCache.ts(deterministic cache paths + cache-first read/write) andsrc/actions.ts(API functions).read:repositoryonly — nothing is written to Forgejo.?step=/?q=/?format=ndjsonare v17+ future work — NOT in scope.Branch & commit conventions (AGENTS.md)
feature/issue-111/forgejo-actions-tools.issue-111: <summary>.issue-111: add forgejo actions tools, bodyCloses #111; merge decision left to the repo owner.Rollout order
npm run check+npm testgreen; manual validation on a Forgejo v16+ instance — the currentgit.excelera.netruns v10.0.3 / Gitea 1.22 and does not expose the actions runs/jobs/logs endpoints.Acceptance Criteria
npm run check+npm testgreen with the new suite.Closes #111; merge left to the repo owner.Test Plan
Manual validation checklist (post-implementation, on a Forgejo v16+ instance):
forgejo_action_runswithstatus[]=failure→ pick a failed run.forgejo_action_run_view run_id=...→ run details.forgejo_action_jobs run_id=...→ jobs of the run.forgejo_action_job_log run_id=... job_id=...→ verify returnedpath,sizeBytes,lineCount,cached: false.cached: true(no network).forgejo_action_run_logs run_id=...→ verifyrun.zip+ per-job logs land in the cache dir.refresh: true→ re-download confirmed.pi-loop opened and merged a pull request for this issue: #123