Resolve #104 : Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch#172
Resolve #104 : Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch#172bosesuneha merged 16 commits intoAzure:mainfrom
Conversation
Tatsinnit
left a comment
There was a problem hiding this comment.
❤️ Thank you so much for the gentle ping and this PR. It will be awesome if you add more detail as to the use case this PR is targeting and intent beyond obvious that it adds the test with the function name. =)
Why? Because of archival and reasons of this feature enhancement, gives a really good look into the reasons why this was done for future reasons when we look back and right now as well.
There are few initial observation shared and in case you can please take a look and see what do you think about those ideas or thoughts relevant to this work.
As always thank you for this and the ping.
…zure#173) Bumps the actions group in /.github/workflows with 1 update: [github/codeql-action](https://github.com/github/codeql-action). Updates `github/codeql-action` from 3.29.0 to 3.29.1 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](github/codeql-action@ce28f5b...39edc49) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 3.29.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
There was a problem hiding this comment.
❤️☕️ thank you so much for making changes, changes look great!! Please get one quick review with @bosesuneha or @davidgamero as well. Thanks
ps: I trust you’ve tested the behaviour also please squash and merge.
Introduced the resolveKubectlVersion function, which automatically resolves a given major.minor version input (e.g., '1.27') to the latest available patch version (e.g., 'v1.27.15'). The function also supports full version passthrough (e.g., 'v1.28.3' remains unchanged). A comprehensive suite of unit tests has been added to validate all resolution scenarios. This PR resolves #104