Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture errors on deps.get in Hex ecosystem #11661

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

TylerWitt
Copy link
Contributor

What are you trying to accomplish?

Since all errors are expected to be encoded, we need to capture them and encode them, which was previously not happening.

Anything you want to highlight for special attention from reviewers?

How will you know you've accomplished your goal?

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

@TylerWitt
Copy link
Contributor Author

There was also bug that encoded errors, but didn't actually pass them back.

This should resolve the current issues while reporting actual errors.

@TylerWitt TylerWitt force-pushed the hex/capture-more-errors branch from 53b71e1 to d980d83 Compare February 23, 2025 09:23
@amazimbe amazimbe self-assigned this Feb 24, 2025
@amazimbe
Copy link
Contributor

Thanks @TylerWitt I'll deploy this tomorrow.

@amazimbe amazimbe force-pushed the hex/capture-more-errors branch from d980d83 to 2106d79 Compare February 25, 2025 15:20
Since all errors are expected to be base encoded, we need to capture them and encode them, which was previously not happening.
The error was encoded but never used.
@amazimbe amazimbe force-pushed the hex/capture-more-errors branch from 2106d79 to b74eab4 Compare February 25, 2025 16:02
@amazimbe amazimbe merged commit 0c3a32f into dependabot:main Feb 25, 2025
39 checks passed
dmitris pushed a commit to dmitris/dependabot-core that referenced this pull request Feb 26, 2025
* Capture errors on deps.get in Hex ecosystem

Since all errors are expected to be base encoded, we need to capture them and encode them, which was previously not happening.

* Use the encoded error

The error was encoded but never used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: elixir:hex Elixir packages via hex
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants