Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions crates/socket-patch-cli/tests/mode_migration_vlt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,8 +570,10 @@ async fn vlt_pinned_matrix_migration_agent_apply_after_hosted() {
fx.leg.ran();
}

/// 8: a hosted scan over an agent-patched warm tree keeps the tree (heal
/// rule (c) sees the afterHash pass): nothing is invalidated.
/// 8: a hosted scan over an agent-patched warm tree with no hidden lock
/// keeps the tree. Hosted scans fetch no patch record, so nothing proves
/// which bytes the store copy holds: heal rule (c) reports it as
/// unchecked and asks for `vlt ci`, and nothing is invalidated.
#[tokio::test(flavor = "multi_thread")]
#[ignore = "real vlt: SOCKET_PATCH_VLT_E2E_JS"]
async fn vlt_pinned_matrix_migration_hosted_scan_keeps_agent_patched_tree() {
Expand All @@ -586,7 +588,7 @@ async fn vlt_pinned_matrix_migration_hosted_scan_keeps_agent_patched_tree() {
let _ = std::fs::remove_file(fx.proj.join(HIDDEN_LOCK));
let ids = fx.store_ids(fx.t());
let doc = fx.scan(&[]);
fx.assert_advisory(&doc, &advisory_nothing_stale());
fx.assert_advisory(&doc, &advisory_undeterminable(ids.len()));
for id in &ids {
assert!(store_entry(&fx.proj, id).exists(), "{id} kept");
}
Expand Down
Loading