Skip to content

Conversation

Copy link

Copilot AI commented Dec 2, 2025

  • Refactor cloudImgCmd to use strings.Builder
  • Refactor azureCmd to use strings.Builder for consistency
  • Refactor gceCmd to use strings.Builder for consistency
  • Validate changes with make fmt and make vet
  • Run code review and security checks
  • Revert unintended changes to generated files
  • Reply to comment about generated file changes

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: jimmykarily <2794419+jimmykarily@users.noreply.github.com>
@jimmykarily
Copy link
Collaborator

@copilot there are other similar invocations of auroraboot in the same file. Fix them all in a consistent manner.

Co-authored-by: jimmykarily <2794419+jimmykarily@users.noreply.github.com>
Copilot AI changed the title [WIP] Update legacy scripts to auroraboot commands Refactor auroraboot command string to use strings.Builder Dec 2, 2025
Copilot AI requested a review from jimmykarily December 2, 2025 10:35
Co-authored-by: jimmykarily <2794419+jimmykarily@users.noreply.github.com>
@@ -1,5 +1,4 @@
//go:build !ignore_autogenerated
// +build !ignore_autogenerated
Copy link
Collaborator

Choose a reason for hiding this comment

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

@copilot what's with this change?

Copy link
Author

Choose a reason for hiding this comment

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

That was an unintended side effect from running make fmt, which triggered code generation and removed the old-style build constraint. I've reverted those changes so the PR now only modifies controllers/job.go. (4939c02)

Copy link
Author

Copilot AI commented Dec 2, 2025

@copilot there are other similar invocations of auroraboot in the same file. Fix them all in a consistent manner.

Refactored all similar auroraboot commands (cloudImgCmd, azureCmd, and gceCmd) to use strings.Builder for consistency. Each --set flag is now on a separate line for better readability. (613c4a5)

Copilot AI changed the title Refactor auroraboot command string to use strings.Builder Refactor auroraboot command strings to use strings.Builder Dec 2, 2025
Copilot AI requested a review from jimmykarily December 2, 2025 10:43
Co-authored-by: jimmykarily <2794419+jimmykarily@users.noreply.github.com>
@jimmykarily jimmykarily marked this pull request as ready for review December 2, 2025 10:47
@jimmykarily jimmykarily merged commit 5ad6a28 into 3779-fix-cloud-image-building Dec 2, 2025
8 of 15 checks passed
@jimmykarily jimmykarily deleted the copilot/sub-pr-201 branch December 2, 2025 10:51
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