Skip to content

Commit d72b12f

Browse files
committed
fix: session sim tests expect .marker.main not .marker
Way markers are now scoped per-agent: .marker.{agent_id} where agent_id defaults to "main". The session sim tests were checking for the old unscoped .marker path. 10/10 scenarios pass. make test, make setup, make test-sim all green.
1 parent 73539eb commit d72b12f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/ways-cli/tests/session_sim.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ fn clean_markers(session_id: &str) {
199199
// ── Assertion helpers ──────────────────────────────────────────
200200

201201
fn assert_marker_exists(way_id: &str, session_id: &str) {
202-
let path = format!("{}/{session_id}/ways/{way_id}/.marker", sessions_root());
202+
let path = format!("{}/{session_id}/ways/{way_id}/.marker.main", sessions_root());
203203
assert!(
204204
Path::new(&path).exists(),
205205
"Expected marker for '{way_id}' but it doesn't exist at {path}"
206206
);
207207
}
208208

209209
fn assert_marker_absent(way_id: &str, session_id: &str) {
210-
let path = format!("{}/{session_id}/ways/{way_id}/.marker", sessions_root());
210+
let path = format!("{}/{session_id}/ways/{way_id}/.marker.main", sessions_root());
211211
assert!(
212212
!Path::new(&path).exists(),
213213
"Expected NO marker for '{way_id}' but found one at {path}"

0 commit comments

Comments
 (0)