Skip to content

feat(board): a Pull requests section with the pull requests agents opened through the tools (#292) - #940

Merged
aixle-com[bot] merged 10 commits into
developfrom
feature/task-pull-requests-section
Dec 1, 2026
Merged

aixle-com[bot] merged 10 commits into
developfrom
feature/task-pull-requests-section

Conversation

@NOX73

@NOX73 NOX73 commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

What

A board task now lists the pull requests agents opened for it through pull_request_create.

  • Link on creation: PullRequests::TaskLink links the pull request (also an existing: true one) to the run's board task as an ExternalResource of kind pull_request, with repository, number, title, URL and workflow in data. The identity comes from EventPipeline.external_resource, which the triggers now use too, so a trigger event finds the same link and no second one is made. A failure to link never fails the tool call.
  • Trigger links now also store repository, number, title and workflow name for display.
  • Migration LinkToolOpenedPullRequestsToTasks: links every succeeded create in pull_request_operations whose run has a board task, any provider. Idempotent.
  • UI: a Pull requests section in TaskDetailSidebar (repository#number, title, link, and "Opened by an agent in " or "Linked by a trigger"). Hidden when empty. No state is shown, because the platform does not track one from pull request events.
  • No new table or model.

Test

  • test/services/internal_tools/pull_request_tools_test.rb, test/services/pull_requests/trigger_support_test.rb, test/db/link_tool_opened_pull_requests_to_tasks_test.rb
  • BoardPage.test.tsx
  • Known unrelated failure: schema_parity_test (oidc_signing_keys_state constraint formatting).

@aixle-com aixle-com Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of head 37c137f: no [Must] findings. Two recommendations inline.

Comment thread app/services/pull_requests/task_link.rb Resolved
Comment thread app/services/pull_requests/task_link.rb Resolved
Comment thread app/resources/task_detail_resource.rb Resolved

@aixle-com aixle-com Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head f89663c (round 3 changes: ExternalResourceResource, listed_pull_requests scope in the model, regenerated Typelizer types). No findings; the earlier threads are addressed.

…requests-section

Signed-off-by: Alex <[email protected]>

# Conflicts:
#	db/schema.rb

@aixle-com aixle-com Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed head cb58027: merge of develop only; PR-specific code unchanged from the approved f89663c, merge resolutions verified. No findings.

@aixle-com
aixle-com Bot merged commit 8d5043e into develop Dec 1, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant