fix(#6760): expose work item keys to harness agents - #6769
Conversation
Signed-off-by: Ralph Bean <rbean@redhat.com>
PR Summary by QodoExpose work item keys to harness agents
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
Site previewPreview: https://f3ee9287-site.fullsend-ai.workers.dev Commit: |
|
🤖 Review · Commit: |
Signed-off-by: Ralph Bean <rbean@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 8:24 PM UTC · Completed 8:44 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $7.27 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Code Review by Qodo
1. GitLab IDs become issue numbers
|
|
Risk Assessment: moderate (2/5) DetailsSmall, well-scoped additive change exposing a new env var (FULLSEND_WORK_ITEM_KEY) with matching test and doc updates. Touching high-churn protected CI workflow files elevates Tier 2, but the purely additive nature and tight issue-to-PR scope alignment keep practical risk moderate. Previous runRisk Assessment: moderate (2/5) DetailsSmall, well-scoped additive change exposing a new env var with matching test and doc updates; elevated only slightly by touching high-churn protected CI workflow files with many recent contributors and fix commits. |
ReviewFindingsMedium
Low
Next steps:
Previous runReviewFindingsMedium
Low
Next steps:
|
Signed-off-by: Ralph Bean <rbean@redhat.com>
|
🤖 Finished Review · ✅ Success · Started 2:46 PM UTC · Completed 3:08 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high |
|
🤖 Finished Retro · ✅ Success · Started 3:25 PM UTC · Completed 3:36 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.73 |
Retro: PR #6769 — expose work item keys to harness agentsWorkflow shape: Human-authored PR (ralphbean) fixing #6760. Two review agent passes, one human approval, merge. No code/triage/fix agents involved. Timeline:
What went well:
Existing issues corroborated by this retro (not filed as new proposals):
Proposals filed
|
The common harness-dispatch path currently exports work-item URLs without the matching identifiers, so CEL-triggered code harnesses that require
ISSUE_NUMBERfail before the agent starts. This adds the forge-neutralFULLSEND_WORK_ITEM_KEYwhile keeping the compatibility variable where it is meaningful.For GitHub issue and PR payloads, both variables carry the numeric identifier. For Jira payloads,
FULLSEND_WORK_ITEM_KEYcarriesevent.entity.keyandISSUE_NUMBERstays empty, so we do not invent a relationship to a GitHub issue. The legacy reusable-code and inline route paths now expose the generic key beside their existing issue number too.Tests pin all three paths, including the Jira distinction.
Closes #6760
Testing:
make lint;GOCACHE=/tmp/fullsend-go-cache go test ./internal/scaffold -count=1