canonical / canonical/inference-snaps-testing

Retry restarting snap service

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
1
Forks
0
Avg merge
3d 49m
Merged PRs (30d)
2

Description

See: https://github.com/canonical/inference-snaps-testing/actions/runs/22994127616/job/66761921816

https://github.com/canonical/inference-snaps-testing/blob/ca6975585b40f5e4a16982d5e2e9b24f7d7e2a8c/agent-scripts/engine-selection.sh#L34

Change this to `_run_retry` to avoid a race condition with Systemd service refresh and restart.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with agent-scripts/engine-selection.sh at line 34 and inspect the linked GitHub Actions job for the restart failure. Confirm how the service refresh and restart are sequenced, change the call as requested to use _run_retry, and rerun the relevant workflow to verify the race condition is avoided.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.