canonical / canonical/observability

Rock update action should look at more than just `latest`

Open
#203 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Just
Stars
10
Forks
25
Avg merge
6h 3m
Merged PRs (30d)
7

Description

[Rock update action](https://github.com/canonical/observability/blob/main/.github/workflows/rock-update.yaml) is fetching the release that's marked as `latest`. However, sometimes, as a CVE response, upstream project might release more versions (example: [This Grafana CVE fix](https://grafana.com/blog/2024/08/14/grafana-security-release-medium-severity-security-fix-for-cve-2024-6837/?utm_source=grafana_news&utm_medium=rss) was released as [10.4.7](https://github.com/grafana/grafana/releases/tag/v10.4.7), [11.0.3](https://github.com/grafana/grafana/releases/tag/v11.0.3), [11.1.4](https://github.com/grafana/grafana/releases/tag/v11.1.4), but **none of them is marked as latest at the time of writing**).

We might need to fetch more than just `latest` release.

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/rock-update.yaml and trace how the Rock update action selects the upstream release. Use the Grafana CVE releases cited in the issue as examples; done means the action can find relevant releases beyond one marked latest.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.