Skip to content

Resolve #104 : Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch#172

Merged
bosesuneha merged 16 commits intoAzure:mainfrom
ejaifeobuks:main
Jul 11, 2025
Merged

Resolve #104 : Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch#172
bosesuneha merged 16 commits intoAzure:mainfrom
ejaifeobuks:main

Conversation

@ejaifeobuks
Copy link
Copy Markdown
Contributor

@ejaifeobuks ejaifeobuks commented Jun 27, 2025

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

@ejaifeobuks ejaifeobuks requested a review from Tatsinnit June 27, 2025 17:49
Copy link
Copy Markdown
Member

@Tatsinnit Tatsinnit left a comment

Choose a reason for hiding this comment

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

❤️ 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.

@Tatsinnit Tatsinnit added the enhancement New feature or request label Jun 27, 2025
@ejaifeobuks ejaifeobuks changed the title Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch Fix #104: Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch Jul 2, 2025
@ejaifeobuks ejaifeobuks changed the title Fix #104: Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch Resolve #104 : Enhance Version Handling: Auto-Resolve kubectl Major.Minor to Latest Patch Jul 2, 2025
Tatsinnit
Tatsinnit previously approved these changes Jul 2, 2025
Tatsinnit
Tatsinnit previously approved these changes Jul 3, 2025
Tatsinnit
Tatsinnit previously approved these changes Jul 8, 2025
dependabot bot and others added 4 commits July 10, 2025 00:06
…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>
Tatsinnit
Tatsinnit previously approved these changes Jul 10, 2025
Copy link
Copy Markdown
Member

@Tatsinnit Tatsinnit left a comment

Choose a reason for hiding this comment

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

❤️☕️ 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.

@Tatsinnit Tatsinnit requested a review from bosesuneha July 10, 2025 06:20
ReinierCC
ReinierCC previously approved these changes Jul 10, 2025
@ejaifeobuks ejaifeobuks dismissed stale reviews from ReinierCC and Tatsinnit via 7ca5c0d July 10, 2025 15:41
Copy link
Copy Markdown
Member

@bosesuneha bosesuneha left a comment

Choose a reason for hiding this comment

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

lgtm

@bosesuneha bosesuneha merged commit 7500adf into Azure:main Jul 11, 2025
6 checks passed
@davidgamero davidgamero mentioned this pull request Mar 25, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Automatically select the latest patch release

5 participants