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

Drop xet_error. #134

Merged
merged 4 commits into from
Jan 9, 2025
Merged

Drop xet_error. #134

merged 4 commits into from
Jan 9, 2025

Conversation

hoytak
Copy link
Collaborator

@hoytak hoytak commented Jan 7, 2025

xet_error was a source drop of thiserror with integrated logging and the ability to put in a breakpoint to note exception propagation. However, the benefits of maintaining a source drop with changes, at least on client side, are less clear in the current ecosystem and with upgrades to the thiserror package (e.g. better integrated stacktracing).

This PR removes xet_error and reverts everything back to the original thiserror implementation.

@hoytak hoytak requested review from assafvayner and seanses January 7, 2025 23:38
README.md Outdated
@@ -21,7 +21,7 @@ Xet-core is the repo responsible for Rust-based code running on the client machi
* [parutils](src/parutils): Provides parallel execution utilities relying on Tokio (ex. parallel foreach).
* [progress_reporting](src/progress_reporting): offers ReportedWriter so progress for Writer operations can be displayed.
* [utils](src/utils): general utilities - **unclear how much is currently in use**
* [xet_error](src/xet_error): Error utility crate, widely used for anyhow! logging in other crates.
* [thiserror](src/thiserror): Error utility crate, widely used for anyhow! logging in other crates.
Copy link
Contributor

Choose a reason for hiding this comment

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

we should get rid of this line

Copy link
Collaborator

@rajatarya rajatarya left a comment

Choose a reason for hiding this comment

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

@hoytak Let's merge this before the repo migration.

@hoytak hoytak merged commit 196e8c8 into main Jan 9, 2025
2 checks passed
@hoytak hoytak deleted the hoytak/250107-drop-xet-error branch January 9, 2025 20:43
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.

4 participants