canonical / canonical/observability

Rock CI: first pack the rock, then install the rest of the deps

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

Description

Currently, if packing the rock fails, we [discover](https://github.com/canonical/grafana-rock/actions/runs/13262644311/job/37022566193) it only after 5 minutes of installing dependencies.

https://github.com/canonical/observability/blob/3b9dbca8c50bf1c7a51732a36a70a16fd0df3066/.github/workflows/rock-pull-request.yaml#L51-L57

![Image](https://github.com/user-attachments/assets/bc0a41e4-6c44-40ec-a3af-1fac59b266e1)

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/rock-pull-request.yaml around lines 51-57 and review the linked failed workflow run. Reorder the workflow so rock packing happens before the remaining dependency installation, then verify that a packing failure stops CI without waiting for the later dependency step.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.