Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: ci_logs fails for Forgejo Actions jobs with available logs #48107

ClosedSunsilkk(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server and packages/source-control-forgejo

Steps to reproduce

  1. Open a T3 Code thread for a repository with an authenticated Forgejo connection.
  2. Use pull_request_read to find an Actions check on a pull request.
  3. 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.

  1. tanstack-source added labelsbug

  2. 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.

  3. juliusmarminge closed this

Sign in to join this conversation.