feat: add bsk CLI auto update

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BB-fat
2026-07-08 14:14:00 +08:00
co-authored by Cursor
parent 647ae659b7
commit a7c48275f9
17 changed files with 2255 additions and 35 deletions
+2 -6
View File
@@ -25,9 +25,7 @@ use tokio_tungstenite::tungstenite::handshake::client::generate_key;
use tokio_tungstenite::tungstenite::http::Request;
use tokio_tungstenite::tungstenite::protocol::Message;
use support::{
wait_for_abort_registered, wait_for_inflight_forwarded, wait_until,
};
use support::{wait_for_abort_registered, wait_for_inflight_forwarded, wait_until};
const TEST_EXT_ID: &str = "abcdefghijklmnopabcdefghijklmnop";
@@ -551,9 +549,7 @@ async fn cancel_arriving_during_promote_critical_section_keeps_request_cancel_in
wait_until(
"extension snapshot/cancel counters to match",
Duration::from_secs(2),
|| {
snapshots_clone.load(AOrdering::SeqCst) == cancels_clone.load(AOrdering::SeqCst)
},
|| snapshots_clone.load(AOrdering::SeqCst) == cancels_clone.load(AOrdering::SeqCst),
)
.await;