Skip to content

Remove redundant get-last-build command - #15

Merged
alexec merged 2 commits into
mainfrom
copilot/remove-get-last-build-command
Nov 17, 2025
Merged

Remove redundant get-last-build command#15
alexec merged 2 commits into
mainfrom
copilot/remove-get-last-build-command

Conversation

Copilot AI commented Nov 17, 2025

Copy link
Copy Markdown
Contributor

The get-last-build command duplicated functionality already provided by get-job, which returns last build information (number and status).

Changes

CLI (main.go)

  • Removed get-last-build command case and getLastBuild() function
  • Updated help text

MCP Server (mcp.go)

  • Removed get_last_build tool registration and getLastBuildHandler() function

Documentation (README.md)

  • Removed command from usage examples and MCP tools list

Users needing last build details should use get-job <job-name> which displays:

Last Build:          #42 - SUCCESS
Last Success:        #42
Last Failed:         #38
Original prompt

Remove the "get-last-build" command. This information is already returned by "get-job".


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI self-assigned this Nov 17, 2025
Co-authored-by: alexec <1142830+alexec@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove get-last-build command as it is redundant Remove redundant get-last-build command Nov 17, 2025
Copilot AI requested a review from alexec November 17, 2025 00:16
@alexec
alexec marked this pull request as ready for review November 17, 2025 00:19
@alexec
alexec enabled auto-merge (squash) November 17, 2025 00:19
@alexec
alexec merged commit bddd6af into main Nov 17, 2025
1 check passed
@alexec
alexec deleted the copilot/remove-get-last-build-command branch November 17, 2025 00:19
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.

2 participants