crates/sidecar/tests/security_audit.rs:182 (assert_eq!(event.vm_id, denied_vm_id)) flakes intermittently in CI — assertion left == right failed. It passes locally (6/6, repeatedly) and passed in PR #139's re-run, but failed on the #139 squash-commit main run and an earlier PR run. Likely a timing/ordering race in structured-event capture (find_event returns the first security.permission.denied; under load it may observe an event with an unexpected vm_id).
Impact: intermittently reds main and forces full ~17-min CI re-runs.
Fix ideas: make find_event match the specific expected event (by path/vm_id) rather than the first of that type; or ensure the denial event is fully flushed before structured_events reads. Consider cargo-nextest with a serial test-group for this suite.
crates/sidecar/tests/security_audit.rs:182(assert_eq!(event.vm_id, denied_vm_id)) flakes intermittently in CI —assertion left == right failed. It passes locally (6/6, repeatedly) and passed in PR #139's re-run, but failed on the #139 squash-commit main run and an earlier PR run. Likely a timing/ordering race in structured-event capture (find_eventreturns the firstsecurity.permission.denied; under load it may observe an event with an unexpected vm_id).Impact: intermittently reds
mainand forces full ~17-min CI re-runs.Fix ideas: make
find_eventmatch the specific expected event (by path/vm_id) rather than the first of that type; or ensure the denial event is fully flushed beforestructured_eventsreads. Consider cargo-nextest with a serial test-group for this suite.