Skip to content

[Feature]: Gitea task sources #4703

Open
Open

Description

@hydra8

Problem or use case

Hey guys,

First of all, great product — really appreciate what you’re building with Orca.

Thanks a lot for adding Gitea support, that’s super useful. One thing that would make it even better is having Gitea available as a Task Source as well.

Right now it feels like that part is still missing, and it would be really helpful to be able to connect Gitea tasks directly in Orca.

Proposed solution

Would be awesome to see this added in a future update.

Alternatives or additional context

No response

Activity

  1. added
    enhancement
    on Jun 5, 2026
  2. added
    size/l
    on Jun 9, 2026
  3. charilaouc commented on Jun 30, 2026

    @charilaouc

    Strong +1 from a self-hosted setup. We run Gitea 1.26.2 (Docker) as our primary forge and just validated the full agent-task loop against it: a labeled Gitea issue -> orca worktree create --agent claude -> the agent authenticated via the Gitea REST API, read the issue, and completed the task in a worktree. The one missing piece is exactly this -- Gitea as a native Task Source (today it is GitHub/GitLab/Linear; Gitea is forge/PR-only).

    #5493 already implements it comprehensively (issues + PRs, multi-account self-hosted, GitLab-provider pattern) -- looks like it is just conflicting with main and awaiting review. Happy to test it against our live Gitea if that helps it land.

  4. added theissue type on Jul 12, 2026
  5. hydra8 commented on Jul 23, 2026

    @hydra8
    Author

    any news?

  6. 8 remaining items

  7. Nenzyz commented on Nov 1, 2026

    @Nenzyz

    @camarigor sorry, i'm a newbie on github, how can i provide a build, i'm running now my version with other fixes?

  8. camarigor commented on Nov 2, 2026

    @camarigor

    Thanks, and no worries! The simplest path, which also keeps the maintainers in the loop:

    1. Fork stablyai/orca on GitHub (the Fork button at the top of the repository page), push your work to a branch on your fork, and open a pull request against main. A draft pull request is fine if it is not ready yet.
    2. If you can, put the Gitea/tea task source in its own pull request, separate from your other fixes. That makes it easier to review and to test on its own.
    3. Please mention the tea version you tested with, and whether Orca passes --login and --repo explicitly, because of the fallback note I described above.

    Once the pull request is up, I will build it from your branch and test it against my Forgejo 17.0.1 instance, then report back here with logs. I would rather test from the pull request source than from a prebuilt binary, so the change stays reviewable for everyone.

  9. Nenzyz commented on Nov 2, 2026

    @Nenzyz

    Thank you, created a PR
    Fixing PR big change to a correct change set
    Done

  10. pedromcaraujo commented on Nov 11, 2026

    @pedromcaraujo

    +1, this is the blocker for us too. We self-host Forgejo and evaluated Orca (headless orca serve + the browser client) as a replacement for our own browser-based agent workstation. PRs via the Gitea provider (ORCA_GITEA_TOKEN / ORCA_GITEA_API_BASE_URL) work well, but without Gitea/Forgejo issues as a task source (browse issues, start a worktree from one, hand #N to the agent) we can't switch.

    We looked at bridging it with a plugin (panel + terminal:send / agent:launch), but on a headless orcad runtime orca plugin list returns "Plugin service is not available on this runtime", so a plugin isn't an option for web-client users either. That makes first-class support the only route.

    Since the Gitea client already exists for PRs and the issues API mirrors GitHub's shape (GET /repos/{owner}/{repo}/issues, type=issues), it would be great to see this land.

  11. saberone commented on Nov 20, 2026

    @saberone

    Hi! I've been running a fork with Gitea support built on Orca's existing hosted-review provider (src/main/gitea/client.ts), and I'd like to upstream it in a way that fits your plans rather than add a third parallel effort next to #5493 and #15315.

    What it covers, tested against a self-hosted Gitea instance on macOS:

    • Tasks page: Gitea issues as a task source (state/involvement/search filters, detail sheet with comments, Start workspace with the issue content in the agent draft).
    • PRs: merge, close/reopen, mark ready, edit title.
    • Checks: commit statuses plus Actions job steps, log tail, and re-run failed jobs.
    • Comments: conversation and inline threads with reply/edit/delete/resolve/reactions.

    How it differs from #5493: it extends the existing ForgeProvider / hosted-review path instead of adding a second Gitea client and IPC namespace, and every endpoint goes through runtime RPC, so it also works on remote/SSH runtimes and mobile.

    A note on CLI auth: tea was archived on 2026-10-29 in favour of the official gt CLI. My fork can route through gt like gh/glab, but the plain ORCA_GITEA_TOKEN path stays the default, so this part is optional.

    Before I open anything, a few questions for the maintainers (@AmethystLiang, since you mentioned the task-source refactor in #5493):

    1. Is that refactor still the plan, and should a Gitea task source wait for it or build on feat(tasks): add Gitea and Forgejo task source #5493?
    2. For PR actions and comments, do you prefer feat(plugins): add forge provider plugin extension point #15315's per-action ForgeProvider methods (mergeReview, commentReview, listReviewComments, …) or a single optional mutateReview hook? I'll follow whichever shape you pick.
    3. Would a first, self-contained PR for Gitea Actions checks (job steps, log tail, re-run failed jobs) be welcome? Neither feat(tasks): add Gitea and Forgejo task source #5493 nor feat(plugins): add forge provider plugin extension point #15315 covers it. I'd keep it small, with screenshots and a linked issue.

    Happy to help land or trim #5493 instead if that's the better path.

    Drafted with AI assistance (Claude Opus); I reviewed and tested the code myself.

  12. markelm1 commented on Nov 24, 2026

    @markelm1

    Opened #48552: Gitea/Forgejo as a Tasks source on today's main, building on #5493. It works from the desktop app, a paired orca serve and the web client, accepts self-hosted HTTP servers, and lets you connect servers in Settings (env vars still work and take precedence). Testing against your Forgejo instances would be very welcome.

  13. elenium3 commented on Nov 27, 2026

    @elenium3

    +1 for this.

    All my work is tracked in a self-hosted Gitea: issues across several repositories, collected on organisation project boards. Hosted review for Gitea already works well through ORCA_GITEA_TOKEN, so Tasks is the one page where these projects show nothing.

    For now I read the board through a small sidebar plugin. That covers listing and opening items, but not the Tasks page itself, and a plugin cannot add a source there. Either a built-in Gitea source (#48552 looks like the current attempt) or the plugin extension point for task providers (#42723, #26281) would solve it.

  14. madn00b commented on Nov 28, 2026

    @madn00b

    +1 for this as well. Please make this happen ASAP.

  15. 0xAlbertChen commented on Nov 29, 2026

    @0xAlbertChen

    Strong +1 for first-class Gitea and Forgejo support as a Task Source.

    I operate a self-hosted, multi-host, multi-provider AI agent orchestration system where Gitea Issues serve as the single source of truth for all tasks.

    Orca is used as the agent execution and workspace management layer. However, without native Gitea Task Source integration, we have to maintain additional scripts and integration logic to connect task management with agent execution.

    Requested capabilities:

    • First-class Gitea and Forgejo support in Settings → Task Sources.
    • Multiple self-hosted servers and accounts.
    • Automatic repository detection from Git remotes.
    • Issue browsing, searching, filtering and editing.
    • Support for labels, milestones, assignees, comments and project boards.
    • Create workspaces and launch agents directly from Gitea issues.
    • Persistent links between issues, workspaces, agents and pull requests.
    • Support for remote hosts, SSH, headless Orca Server and web clients.
    • Machine-readable task operations through CLI and RPC.
    • Reliable synchronization of issue status and comments back to Gitea.

    Architectural considerations:

    Gitea should remain the authoritative source of task state. Orca should provide the execution and management interface without requiring users to maintain a second task database as another source of truth.

    Combined with #21746 (machine-readable provider usage and quota data), this would make Orca significantly more valuable as an infrastructure layer for automated multi-agent orchestration.

    I particularly support #48552, which appears to address many of these requirements, including remote runtime support and self-hosted server configuration.

    Is there any remaining blocker preventing this integration from being merged? I would love to see this prioritized.

  16. sq-101 commented on Nov 29, 2026

    @sq-101

    +1 from me too, #48552 would be very helpful for my workflow

  17. lqstc commented on Nov 30, 2026

    @lqstc

    Adding data rather than just another +1: the stated plan for this feature (landing Gitea as a task source after the forge-provider refactor in #15315) appears stalled upstream.

    #15315 has been open since 2026-08-18. CodeRabbit's two review rounds (12 + 3 actionable comments) were fully addressed by the author the same day, the latest bot review reports no remaining actionable findings, and there has been no human review since — 3.5 months of silence. Meanwhile #45880 (Gitea task source via the official gt CLI, fixing this issue) is also awaiting a first human review.

    Could a maintainer (@AmethystLiang) take a look at #15315 or share an updated plan if the plugin-provider route has changed? Happy to help test against a self-hosted Gitea instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementsize/l

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions