jdx/mise · error
tokio runtime thread panicked
Error message
tokio runtime thread panicked
What it means
Error "tokio runtime thread panicked" thrown in jdx/mise.
Source
Thrown at src/github/oauth.rs:629
fn default_poll_interval() -> u64 {
5
}
fn block_on<F>(future: F) -> F::Output
where
F: std::future::Future + Send + 'static,
F::Output: Send + 'static,
{
if tokio::runtime::Handle::try_current().is_ok() {
std::thread::spawn(move || {
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("failed to build tokio runtime")
.block_on(future)
})
.join()
.expect("tokio runtime thread panicked")
} else {
tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.expect("failed to build tokio runtime")
.block_on(future)
}
}
#[cfg(test)]
pub(crate) mod test_support {
use super::*;
pub(crate) fn cache_key(host: &str, client_id: &str, scopes: &str) -> String {
super::cache_key(host, client_id, scopes)
}
pub(crate) fn set_cache_path(path: PathBuf) {View on GitHub (pinned to 6f52dcdf99)
Solutions
- Retry the GitHub device-flow login; a background thread panicked. If it persists, report a mise bug with the panic output.
When it happens
Trigger: Thrown at src/github/oauth.rs:629 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of jdx/mise@6f52dcdf99 (2026-08-22).
Data as JSON: /api/errors/5b2b76d974faf02e.
Report an issue: GitHub.