Skip to content

Conversation

@JoeColeman95
Copy link
Contributor

@JoeColeman95 JoeColeman95 commented Aug 27, 2025

  • Add agent pause/resume commands with note and timeout options
  • Add build list command with duration and message filtering
  • Update go-buildkite to v4.7.0 to support pause/resume
  • Fix job retry segfault on API errors
  • Include tests for all new functionality
  • Adding some quick win output formatting, the rest look quite comprehensive (such as the bubbletea view) and unnecessary for action items (e.g. pause/resume/download, etc)

Fixes: #519
Fixes: #521
Fixes: #522
Fixes: #523

- Add agent pause/resume commands with note and timeout options
- Add build list command with duration and message filtering
- Update Go to 1.25 and go-buildkite to v4.7.0 to support pause/resume
- Fix job retry segfault on API errors
- Include tests for all new functionality
Adding some quick win output formatting, rest look quite comprehensive (such as the bubbletea view) and unnecessary for action items (e.g. pause/resume/download, etc)
- Fix timestamp handling in build list to use promoted methods from embedded time.Time
@JoeColeman95 JoeColeman95 requested a review from a team as a code owner August 27, 2025 13:41
JoeColeman95 and others added 5 commits August 27, 2025 14:42
Added pagination up to a configurable limit, with a maximum of 5000 builds. Enhanced client-side filtering, improved table formatting.
@JoeColeman95
Copy link
Contributor Author

May not be immediately apparent, so will comment it here - the 5 mins/1440 mins on the agent pause feature that I am going off on in this PR are actually constraints set by the agent itself - although silently. It will default to 5 min pause if you don't specify.

You'd think setting this flag to 0 or higher than 1440 would mean longer, but 0 will result in literally no pause and anything higher than 1440 just won't be respected.

Thought I'd clear that up as it may just seem like I'm a crazy person and love magic numbers

@JoeColeman95 JoeColeman95 merged commit 05dbb50 into main Aug 28, 2025
1 check passed
@JoeColeman95 JoeColeman95 deleted the SUP-4588/Expand-functionality branch August 28, 2025 08:11
limit int
}

func NewCmdBuildList(f *factory.Factory) *cobra.Command {
Copy link

Choose a reason for hiding this comment

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

Love it, thank you for adding this! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

4 participants