Before submitting#
Area#
apps/server and packages/source-control-forgejo
Steps to reproduce#
- Open a T3 Code thread for a repository with an authenticated Forgejo connection.
- Use
pull_request_read to find an Actions check on a pull request.
- Call
ci_logs with that pull request number and the check name.
Expected behavior#
ci_logs returns the requested tail of the Forgejo Actions job log.
Actual behavior#
T3 lists the check result and job link. Calling ci_logs returns:
Pull request operation checkLogs failed: This host cannot read check logs.
The authenticated Forgejo request GET /api/v1/repos/{owner}/{repo}/actions/jobs/{job_id}/logs returns HTTP 200 and a plaintext log for the same job.
The Forgejo provider reads PR checks through the commit statuses API. It has no getCheckLogs implementation, so PullRequestService.checkLogs returns the error before calling the log endpoint. Forgejo provider · Error path
Impact#
Major degradation or frequent failure. Agents can see a failed Forgejo check but need a separate authenticated request to diagnose it.
Version or commit#
T3 Code 0.1.14-nightly.20261203.5637. Upstream main at 5dea97de40d6 has the same provider implementation for this operation.
Environment#
Linux x86_64, Forgejo 17.0.1+gitea-1.22.0.
Workaround#
Read the log through the authenticated Forgejo Actions API. PR #45027 shows how T3 wired another provider into ci_logs.
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.