FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Improve error message clarity by lmvysakh · Pull Request #1351 · actions/setup-python · GitHub

Improve error message clarity - #1351

Merged
HarithaVattikuti merged 1 commit into
actions:mainfrom
lmvysakh:update_error_message
Aug 20, 2026
Merged

Improve error message clarity#1351
HarithaVattikuti merged 1 commit into
actions:mainfrom
lmvysakh:update_error_message

Conversation

Copy link
Copy Markdown
Contributor

Description:
Updates the error message to provide clearer information to users.

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

Copilot AI lite review requested due to automatic review settings August 19, 2026 10:09
lmvysakh requested a review from a team as a code owner August 19, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

Updates the cache-miss dependency error message emitted by the cache distributor to include the active package manager and provide clearer next-step guidance for users of the action.

Changes:

  • Expanded the thrown error message when no dependency file is found to include packageManager context and remediation guidance.
  • Regenerated the compiled dist/ bundles to reflect the source change.
  • Updated the cache restore test assertion to match the new error text.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
src/cache-distributions/cache-distributor.ts Updates the runtime error message for missing dependency-file matches.
dist/setup/index.js Updates the bundled setup entrypoint to include the new error message.
dist/cache-save/index.js Updates the bundled cache-save entrypoint to include the new error message.
tests/cache-restore.test.ts Adjusts the expected thrown error string to match the new message.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

HarithaVattikuti merged commit 751276e into actions:main Aug 20, 2026
1015 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL