Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 16, 2026

Thanks for contributing!

Background

To pass the semanic-prs check, ensure you prefix your title with one of the .types in semanic.yml, followed by a : , e.g. feature: My PR

IssueWhat issue are you resolving with this PR? Please provide the number or link. _NOTE:_ If you don't have an issue for this work, please create one before creating this PR.

Response: Addresses review comments from PR #191 (review 3668887529)

DescriptionPlease describe how this PR is addressing the issue and/or why it is being addressed this way.

Response: Applies code style improvements from automated review:

  • Bash string comparisons: Replaced == "" with -z and ! -z with -n for idiomatic empty/non-empty checks
  • Go import alias: Changed pFlag to pflag throughout main.go to follow Go's lowercase package alias convention

Files modified:

  • bsctl/scripts/workflows/docs-bump_docs-bump_CHANGELOG-bump.sh - empty string check
  • shared-scripts/k8s/clear-finalizers.sh - two non-empty string checks
  • bsctl/main.go - import alias and all usages
Steps to Reproduce and TestPlease give us a step-by-step guide to reproduce the bug. A link to the steps in the issue is enough.

Response:

  1. Build with make build - verifies Go changes compile
  2. Verify bash scripts maintain identical behavior with improved idioms

Required Checkboxes

All of these checkboxes are required for PR's to be considered.

PR Checks

  • I answered all of the background questions
  • I have added sensible labels to the associated issue and this PR
  • I have added/updated tests for all added/modified code, and all tests are passing
  • I have added documentation, as appropriate, including CHANGELOG and version updates as needed

Code of Conduct

By submitting this PR, you agree to follow our Code of Conduct

  • I agree to follow this project's Code of Conduct

💡 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.

…entions

Co-authored-by: mrlunchbox777 <9466269+mrlunchbox777@users.noreply.github.com>
Copilot AI changed the title [WIP] Move more scripts to Golang chore: apply code review feedback - improve bash idioms and Go naming conventions Jan 16, 2026
Copilot AI requested a review from mrlunchbox777 January 16, 2026 05:21
Copy link
Owner

@mrlunchbox777 mrlunchbox777 left a comment

Choose a reason for hiding this comment

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

lgtm

@github-actions github-actions bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 16, 2026
@mrlunchbox777
Copy link
Owner

@copilot correct the failing gates

Copy link
Contributor Author

Copilot AI commented Jan 16, 2026

@copilot correct the failing gates

The CI gate "Code coverage report" is failing because it cannot find a baseline coverage report for the target branch 180-feature-move-more-scripts-to-golang.

The code coverage workflow (.github/workflows/go-coverage-report.yaml) only runs on push events to main, but your PR targets 180-feature-move-more-scripts-to-golang which is itself a feature branch. Since that branch has never had a push event trigger the coverage workflow, there's no baseline to compare against.

This is expected behavior when PRs target feature branches instead of main. The "Unit tests" job passes successfully - only the coverage comparison fails due to missing baseline.

Options:

  1. Accept this limitation - the actual code changes are working correctly
  2. Temporarily modify the workflow to trigger on pushes to 180-feature-move-more-scripts-to-golang
  3. Wait until the base branch is merged to main and gets its baseline

My code changes don't cause this issue - it's an infrastructure limitation with the base branch configuration.

@mrlunchbox777 mrlunchbox777 marked this pull request as ready for review January 16, 2026 05:31
@mrlunchbox777 mrlunchbox777 merged commit db85c57 into 180-feature-move-more-scripts-to-golang Jan 16, 2026
6 of 8 checks passed
@mrlunchbox777 mrlunchbox777 deleted the copilot/sub-pr-191 branch January 16, 2026 05:31
Copilot AI requested a review from mrlunchbox777 January 16, 2026 05:31
Copilot stopped work on behalf of mrlunchbox777 due to an error January 16, 2026 05:31
mrlunchbox777 added a commit that referenced this pull request Jan 16, 2026
* bubbling up errors and fixing tests

* WIP working on adding io streams

* handling nils for the interfaces

* adding a check and test

* adding some test

* simplifying

* adding and updating some workflows and adding tests

* bumping versions

* dropping the extra file

* trying to get the workflows to work again

* deconflicting the names

* adding the action validator

* updating the action validator

* poking the checks

* more fixes

* fixing the ignore

* trying something else

* trying another thing

* wildcard

* just switching to grep

* fixing typo

* more debug

* finding more stuff

* moving back to jobs with steps

* bumping and testing more

* fixing the constants test

* more test fixes

* ensuring that major versions are tested, but not worrying about minor or patches

* renaming and adding the CHANGELOG bump

* testing the logs

* tested all of the changelog tested locally and bumping things

* test

* test

* test

* test

* test

* setting back to a real changelog

* switching back to a failing changelog until this is ready

* attempting the script

* adding execute permissions

* moving scripts to scripts

* forgot a folder

* forgot the workflows

* add execution

* lysdexia

* adding test to factory

* found WIP

* bbctl moved, adjusting, currently broken

* still broken, but got main test working

* fixing the rest of the tests

* docs bump

* trying to fix the pipe

* trying again

* Update shared-scripts/big-bang/readme-bump.sh

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Andrew Shoell <mrlunchbox777@gmail.com>

* feat: updating gitalias

* feat: finishing this pr so more can be done

* fix: update CHANGELOG and version to 0.1.3 for test fixes

- Updated CHANGELOG date to 2026-01-16
- Bumped version from 0.1.2 to 0.1.3
- Documented test expectation updates after bbctl v1.5.0 upgrade

* chore: apply code review feedback - improve bash idioms and Go naming conventions (#258)

* Initial plan

* chore: apply review comments - improve bash idioms and Go naming conventions

Co-authored-by: mrlunchbox777 <9466269+mrlunchbox777@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mrlunchbox777 <9466269+mrlunchbox777@users.noreply.github.com>

---------

Signed-off-by: Andrew Shoell <mrlunchbox777@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: mrlunchbox777 <9466269+mrlunchbox777@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants