Repository navigation
fix(agentnew): use work item URL in generated agents - #8700
Conversation
E2E tests are runningAuthorization passed for this commit. See the E2E Tests workflow for results. |
PR Summary by QodoUse work item URLs in generated agent harnesses
AI Description
Diagram
High-Level Assessment
Files changed (9)
|
Code Review by Qodo
1. Documented agent runs still use old URL
|
Site previewPreview: https://49b46208-site.fullsend-ai.workers.dev Commit: |
|
/fs-review |
Signed-off-by: apetruni <apetruni@redhat.com>
abc1cb8 to
2165590
Compare
|
🤖 Finished Review · ✅ Success · Started 10:58 AM UTC · Completed 11:09 AM UTC Commit: Runtime: pi · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $2.16 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
<!-- fullsend:risk-assessment --> DetailsSmall diff updating generated harness environment variables and golden tests with no protected paths or CI changes, balanced by moderate recent churn and change coupling in CLI and generator files. |
ReviewFindingsMedium
Low
|
|
@rh-hemartin, could you please review and put the ok-to-test label? thanks |
|
Thanks Dharit for the labels. Merging. |
Summary
Migrate
fullsend agent newto the forge-agnostic work item URL variable.Changes
ISSUE_URLfromFULLSEND_WORK_ITEM_URLin bothenv.runnerandenv.sandbox.docs/cli/agent.md.Refs #8648.
Unblocks the review finding in #8695.
Testing
go test ./internal/agentnew -run 'TestGolden|TestGeneratedHarnessUsesWorkItemURL|TestGeneratedPromptFetchesByNumberAndRepo' -count=1go test ./internal/cli -run 'TestAgentNew' -count=1make lintinternal/agentnew/render.go: buildHarness— 100%internal/cli/agent_new.go: printNextSteps— 94.7%A full
go test ./internal/clirun hit an unrelated pre-existing failure; the focusedagent newtests and lint pass on this branch.Checklist