fix(linux-sandbox): clean bwrap mountpoint placeholders

Co-authored-by: Codex noreply@openai.com
This commit is contained in:
viyatb-oai
2026-04-13 22:29:17 -07:00
parent 6270d61439
commit 4179952552
5 changed files with 276 additions and 37 deletions

View File

@@ -347,6 +347,10 @@ async fn bwrap_dev_nodes_work_and_missing_workspace_dot_codex_stays_blocked() {
output.stdout.text.split_whitespace().collect::<Vec<_>>(),
vec!["00", "00", "00", "00", "00", "00", "00", "00"]
);
assert!(
!tmpdir.path().join(".codex").exists(),
"bwrap-created .codex mountpoint should be cleaned up after command exit"
);
}
#[tokio::test]