`Missing download info for` message could be more helpful
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 1.4k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 24
Description
Describe the bug
When you specify a uses: some/action@non-existent-ref-name, the error message isn't terribly helpful
To Reproduce
- Create and run a workflow that uses an action with a reference to a ref name that doesn't exist, https://github.com/check-spelling-sandbox/onedrive/actions/runs/14161440115)
- See error
Expected behavior
Error message should suggest,
- if the repository exists, that it's likely the reference name is bad.
- if no public repository exists and the owner doesn't match the current repository's owner, that "either the repository doesn't exist, or it's private and that you cannot use private repositories in
uses:" - if no public repository exists and the owner does match the current repository's owner, that "either the repository doesn't exist, or it's private and you haven't set the repository to be used, but you could..."
Runner Version and Platform
Version of your runner?
2.323.0
OS of the machine running the runner? Ubuntu 24.04.2
What's not working?
Please include error messages and screenshots.
Getting action download info
Error: Missing download info for check-spelling-sandbox/check-spelling@prereleae
Job Log Output
If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.
Runner and Worker's Diagnostic Logs
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/Runner.Worker/ActionManager.cs around line 212 and reproduce the workflow using a nonexistent action reference. Update the error wording to distinguish a bad reference, an unavailable repository, and the owner-specific private-repository cases described in the issue; done means the resulting message is more helpful for each scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100