Bug: Stable release becomes outdated very quickly due to hard coding

Open Beginner friendly
#188 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
helm, typescript
Domain
ci-cd, devops

Research direction

Start in src/run.ts at the hard-coded stableHelmVersion referenced by the issue, and inspect how the GitHub Action selects the default Helm release. Confirm the intended naming and version behavior against current Helm releases, then verify that the action no longer installs an outdated default and supports the syntax discussed in #187.

Written by the indexing model from the issue text.

Description

bug
What happened?

You appear to set a stableHelmVersion in run.ts. That's problematic because the stable version changes frequently so this action quickly ends up with an outdated stable version.

https://github.com/Azure/setup-helm/blob/df342a2656c018d52484e7d07ce33e4ade6254bb/src/run.ts#L13

Currently, the "stable" version points at 3.13.3 which has not been the latest stable for 1.5 years (since January 2024): https://github.com/helm/helm/releases/tag/v3.14.0

You should probably call it defaultHelmVersion as stable is misleading.

Also, this version should be updated with every release to not have too much of a gap between actual upstream stable and this action's "stable".

Using old versions means that newly introduced syntax will not work, e.g. --skip-schema-validation, see #187

Version
  • I am using the latest version
Runner

default

Relevant log output

NA

Dominant language
TypeScript
Stars
191
Forks
79
Avg merge
17d 9h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/setup-helm

All issues in Azure/setup-helm

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.