Skip to content

Conversation

wolfeidau
Copy link
Collaborator

@wolfeidau wolfeidau commented Aug 21, 2025

Also updated README to include link to create a read/write token 🎉

Resolves #103

I verified this works by unblocking an old dependabot build.

Screenshot 2025-08-21 at 1 25 55 pm

Also updated README to include link to create a read/write token 🎉
@wolfeidau wolfeidau requested a review from Copilot August 21, 2025 03:48
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds functionality to unblock blocked jobs in Buildkite builds and updates the README with clearer token scope documentation. The implementation includes a new unblock_job tool that allows users to unblock jobs and optionally provide field values for block steps.

  • Added UnblockJob function with proper validation and error handling
  • Created comprehensive test coverage for the unblock functionality including success, error, and validation scenarios
  • Updated README to clarify token scopes needed for read/write operations with direct links to create appropriate tokens

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pkg/server/mcp.go Registers the new unblock_job tool in the MCP server
pkg/buildkite/jobs.go Implements UnblockJob function with JobsClient interface and proper validation
pkg/buildkite/jobs_test.go Adds comprehensive test coverage for unblock functionality with mock client
README.md Updates token scope documentation to clearly distinguish read/write permissions

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link
Contributor

@catkins catkins left a comment

Choose a reason for hiding this comment

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

👍 thanks!

@wolfeidau wolfeidau merged commit 2059ba5 into main Aug 21, 2025
1 check passed
@wolfeidau wolfeidau deleted the pipe-1702-allow-buildkite-mcp-to-unblock-steps branch August 21, 2025 04:45
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.

(Feature Request): unblock manual approval steps
2 participants