You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Support Gitea issue URLs as workspace references #49681
I use Orca with a self-hosted Gitea. Orca already talks to Gitea for PRs and commit status (ORCA_GITEA_TOKEN / ORCA_GITEA_API_BASE_URL), which works well.
Problem
Gitea issues cannot be linked to a workspace:
orca worktree set has --issue (GitHub), --linear-issue and --gitlab-issue, but nothing for Gitea.
So when an external script dispatches issues to agents, the workspace cannot show which Gitea issue it belongs to; we currently put the link only in the agent prompt.
Proposed solution
Accept Gitea issue URLs in --reference / orca reference add (and show them like other linked issues), resolving them through the existing Gitea settings. A --gitea-issue flag on worktree set would also work.
Alternatives or additional context
Configure a self-hosted Gitea remote (PR integration works).
Run orca worktree create --repo <id> --name test --reference https://<gitea-host>/<owner>/<repo>/issues/1 --json.
Both now record a Gitea issue instead of failing with Unsupported reference URL. A self-hosted /owner/repo/issues/N URL has the same shape as a GitHub Enterprise one, so the CLI asks the Orca host whether the URL is on a Gitea server it knows: one connected in Settings → Integrations, or the one in ORCA_GITEA_API_BASE_URL. Installs under a subpath (https://host/gitea/owner/repo/issues/1) work too. orca reference remove accepts the same URLs, and the workspace card's link editor has a "Gitea issue" kind.
I used --reference instead of adding a --gitea-issue flag to worktree set, since orca reference add covers that case.
If you can try the branch against your instance, feedback on the PR would help it land.
Activity
feat(gitea): accept Gitea issue URLs as workspace references
markelm1 commentedon Nov 29, 2026
This is implemented in #48552 (Gitea Tasks), commit 5b90105:
Both now record a Gitea issue instead of failing with
Unsupported reference URL. A self-hosted/owner/repo/issues/NURL has the same shape as a GitHub Enterprise one, so the CLI asks the Orca host whether the URL is on a Gitea server it knows: one connected in Settings → Integrations, or the one inORCA_GITEA_API_BASE_URL. Installs under a subpath (https://host/gitea/owner/repo/issues/1) work too.orca reference removeaccepts the same URLs, and the workspace card's link editor has a "Gitea issue" kind.I used
--referenceinstead of adding a--gitea-issueflag toworktree set, sinceorca reference addcovers that case.If you can try the branch against your instance, feedback on the PR would help it land.
feat(gitea): accept Gitea issue URLs as workspace references
feat(gitea): accept Gitea issue URLs as workspace references
feat(gitea): accept Gitea issue URLs as workspace references
feat(gitea): accept Gitea issue URLs as workspace references