fix: sideload workbench job in PR followup client mutation - #3923
Conversation
There was a problem hiding this comment.
This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:
| Name | Details |
|---|---|
| 💬 Prompt | Implement a minimal change in the Go GraphQL client so the EnqueueWorkbenchPrFollowup mutation also sideloads the related workbench job in its response, while preserving the existing queued prompt behavior.... |
| 🔗 Run history | View run history |
Soffi AI SummaryThis PR extends the Commits
Updated: 2026-07-28 20:44 UTC |
|
we should also add a graphql field in the elixir graphql server to fetch the workbenches url and add it to the go client query being used here. THere are existing url builder helpers that can be reused, and the current url for a workbench job can be found in the react code under assets. |
Greptile SummaryUpdates the Go GraphQL client to expose the workbench job associated with PR follow-up prompts.
Confidence Score: 5/5The PR appears safe to merge with no actionable defects identified. The added field is supported by the GraphQL schema and resolver, the queued prompt is linked to the job before being returned, and the generated Go and persisted-query artifacts were updated consistently.
|
| Filename | Overview |
|---|---|
| go/client/graph/workbench.graphql | Adds the linked workbench job ID to the mutation response; the server schema, resolver path, and existing mutation coverage support this selection. |
| go/client/client.go | Regenerates the mutation document and response types to expose the selected workbench job without breaking repository callers. |
| go/client/generated/persisted-queries/queries.json | Regenerates the persisted-query entry alongside the changed operation document. |
Reviews (1): Last reviewed commit: "fix(client): sideload workbench job in P..." | Re-trigger Greptile
Summary
EnqueueWorkbenchPrFollowupto keep returning the queued prompt while also selecting the relatedworkbenchJobgo/clientpackage in Docker with Go 1.26Rationale
The mutation previously only returned the queued prompt selection. This change keeps that behavior and also sideloads the related workbench job in the mutation response so callers can access the linked job object immediately.