Skip to content

Conversation

@hoytak
Copy link
Collaborator

@hoytak hoytak commented Dec 16, 2025

PR against #587 to simplify signal handling.

seanses and others added 8 commits December 11, 2025 10:55
There have been many dead code left in xet-core due to
`#![allow(dead_code)]` at a couple of places. This PR removes them and
fix the corresponding linting errors. No functionality change.
The repo scanner migration services calls xet-core with tracing subscriber
set to logging at `INFO` level. As a result, xet-core has been too chatty for
repo scanner because we log at `INFO` level at many places as we wanted
to log more info in hf-xet to help diagnose problems.

This PR employs a build feature `elevated_information_level` which is
enabled only for hf-xet, such that the information we want to log in
hf-xet are still emitted at `INFO` level, but for others emitted at
`DEBUG` level, so not to clutter the repo scanner log.
- Remove dependencies from Cargo.toml files that are not used.
- Move dependencies directly referencing crates.io from crate level
Cargo.toml to the workspace Cargo.toml.
- Fix using RemoteClient in WASM: AdaptiveConcurrencyController uses
`tokio::time::Instant` which wraps `std::time::Instant` and is not
available in WASM.
- Add [cargo-machete](https://github.com/bnjbvr/cargo-machete) to CI to
check unused dependencies.

No functionality change.
…#591)

This function adds get_file_term_data and get_reconstruction to the
Client interface, including adding those functions to the LocalClient.
It also rearranges some things in the RemoteClient struct to call the
methods from there. This is the first step in a larger effort to
separate out the file writer methods from the RemoteClient class in
order to allow for more thorough testing and simulation using the
LocalClient backend.
Simplify windows sigint handler.
@hoytak hoytak changed the title Update runtime.rs Update to SIGINT handler PR. Dec 16, 2025
@hoytak hoytak requested a review from rajatarya December 16, 2025 23:30
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.

3 participants