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
Jira poll should honor the configured Forgejo agent-definition source #9988
The new Jira built-in polling path resolves the built-in triage and code harnesses through a GitHub-only resolver in internal/cli/poll.go.
By contrast, fullsend run uses the existing agentsRepoFallback path, which honors FULLSEND_FORGEJO_URL, FULLSEND_FORGEJO_AGENTS_REPO, and FULLSEND_FORGEJO_AGENTS_REF.
When a Forgejo agent-definition source is configured, Jira polling can therefore evaluate triggers from the GitHub definition while the dispatched run loads the Forgejo definition. If the definitions differ, Jira commands can be incorrectly matched or skipped, or the dispatched run can use different behavior from the definition that matched it.
Expected behavior
Jira polling should resolve built-in agents from the same configured, pinned Forgejo source as fullsend run, or the documentation should explicitly state that Forgejo agent sources are unsupported for Jira polling.
Acceptance criteria
With a valid Forgejo source configured, Jira polling loads built-in harnesses from that source and pinned commit.
Invalid or unreadable Forgejo configuration fails closed and does not silently fall back to GitHub.
Add regression coverage for both the default GitHub path and the configured Forgejo path.
Document the Jira-poll behavior alongside the other commands that share the Forgejo source.
Context
This is a follow-up parity gap, not a regression in the GitHub path tested by PR #9831. Related: #9867 and PR #9873, which added Forgejo resolution for other execution paths.
Reacted by fullsend-ai-triage and fullsend-ai-coder
Thanks for filing this parity gap. The code path you describe is not on the main branch yet. The resolver that loads the built-in triage and code harnesses for Jira polling is being added by the still-open PR #9831. On main today, Jira polling only evaluates agents registered in config.yaml, so there is no built-in resolver to switch over to the Forgejo source.
PR #9831 does not cover Forgejo support, so it is a prerequisite and not a fix for this issue. Work here should wait until it merges. The change would then build on the code that PR introduces. As you describe, the natural approach is to reuse the existing agentsRepoFallback path used by fullsend run, so polling honors FULLSEND_FORGEJO_URL, FULLSEND_FORGEJO_AGENTS_REPO and FULLSEND_FORGEJO_AGENTS_REF. It should fail closed on invalid or unreadable Forgejo configuration. The existing 'Agent definitions from a Forgejo instance' section in the fullsend run docs is the place to extend with the Jira-poll behavior.
Once #9831 has landed, this issue should be ready to triage again and implement. Your acceptance criteria are clear enough to start from.
The prerequisite from the earlier triage, PR #9831, has merged, so the built-in resolver for Jira polling now exists on main and this issue is no longer blocked.
Findings from the code
The Jira matcher builds its built-in resolver in newJiraBuiltinResolverFn (internal/cli/poll.go). That resolver reads only from the GitHub agents repository and never consults the Forgejo source. fullsend run goes through agentsRepoFallback, which checks the configured Forgejo source first and fails closed.
Fail-closed behavior needs one extra change. The BuiltinResolver type in internal/harnessdispatch/enumerate.go returns no error, so a bad Forgejo configuration cannot currently reach the poll. The type, or how the resolver reports errors, will need to change.
The docs change belongs in the "Agent definitions from a Forgejo instance" section of docs/cli/run.md.
Suggested approach
Reuse the Forgejo path from agentsRepoFallback in the Jira resolver. Fetch harnesses at the pinned commit, route companion files through the Forgejo source, and never fall back to GitHub once a Forgejo source is configured.
Proposed test cases
1. No Forgejo env: built-ins load from GitHub (unchanged).
2. Valid Forgejo source: triage/code load from Forgejo at the pinned SHA; GitHub is not contacted.
3. Invalid or unreadable Forgejo config: the matcher build returns an error; no GitHub fallback.
4. A Forgejo harness with a different trigger than the GitHub one is the one matched against.
No open PR currently addresses this issue, and the work does not touch CI workflow files, so it is ready for implementation.
Labels: The prerequisite PR #9831 has merged, so the blocked label no longer applies. The issue describes a behavioral defect in the Jira dispatch path, matching type/bug and component/dispatch.
Next steps:
/fs-code — agent creates a PR to implement this issue
/fs-code <your instruction> — agent implements with your specific guidance
Activity
fullsend-ai-triage commentedon Dec 1, 2026
🤖 Finished Triage · ✅ Success · Started 2:42 PM UTC · Completed 2:44 PM UTC
Commit:
66d7918· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.28
fullsend-ai-triage commentedon Dec 1, 2026
Thanks for filing this parity gap. The code path you describe is not on the main branch yet. The resolver that loads the built-in
triageandcodeharnesses for Jira polling is being added by the still-open PR #9831. On main today, Jira polling only evaluates agents registered inconfig.yaml, so there is no built-in resolver to switch over to the Forgejo source.PR #9831 does not cover Forgejo support, so it is a prerequisite and not a fix for this issue. Work here should wait until it merges. The change would then build on the code that PR introduces. As you describe, the natural approach is to reuse the existing
agentsRepoFallbackpath used byfullsend run, so polling honorsFULLSEND_FORGEJO_URL,FULLSEND_FORGEJO_AGENTS_REPOandFULLSEND_FORGEJO_AGENTS_REF. It should fail closed on invalid or unreadable Forgejo configuration. The existing 'Agent definitions from a Forgejo instance' section in thefullsend rundocs is the place to extend with the Jira-poll behavior.Once #9831 has landed, this issue should be ready to triage again and implement. Your acceptance criteria are clear enough to start from.
Blocked by:
csoceanu commentedon Dec 2, 2026
/fs-triage
fullsend-ai-triage commentedon Dec 2, 2026
🤖 Finished Triage · ✅ Success · Started 9:35 AM UTC · Completed 9:37 AM UTC
Commit:
5403dd0· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.23
fullsend-ai-triage commentedon Dec 2, 2026
The prerequisite from the earlier triage, PR #9831, has merged, so the built-in resolver for Jira polling now exists on main and this issue is no longer blocked.
Findings from the code
newJiraBuiltinResolverFn(internal/cli/poll.go). That resolver reads only from the GitHub agents repository and never consults the Forgejo source.fullsend rungoes throughagentsRepoFallback, which checks the configured Forgejo source first and fails closed.BuiltinResolvertype ininternal/harnessdispatch/enumerate.goreturns no error, so a bad Forgejo configuration cannot currently reach the poll. The type, or how the resolver reports errors, will need to change.docs/cli/run.md.Suggested approach
Reuse the Forgejo path from
agentsRepoFallbackin the Jira resolver. Fetch harnesses at the pinned commit, route companion files through the Forgejo source, and never fall back to GitHub once a Forgejo source is configured.Proposed test cases
No open PR currently addresses this issue, and the work does not touch CI workflow files, so it is ready for implementation.
Labels: The prerequisite PR #9831 has merged, so the blocked label no longer applies. The issue describes a behavioral defect in the Jira dispatch path, matching type/bug and component/dispatch.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancefullsend-ai-coder commentedon Dec 2, 2026
🤖 Finished Code · ✅ Success · Started 9:39 AM UTC · Completed 10:05 AM UTC
Commit:
5403dd0· View workflow run →Runtime: claude · Model: opus → claude-opus-5-5 · Effort: high · Cost: $2.58
fix(#9988): document Forgejo source in Jira GitLab requirements and t…