Improve error message clarity - #1351
Open
lmvysakh wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
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
packageManagercontext 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.
priya-kinthali
approved these changes
Aug 19, 2026
v-jitenderpalsingh
approved these changes
Aug 19, 2026
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Updates the error message to provide clearer information to users.
Check list: