From 05cb73eda6ce121612bf5e3dba8be92a9a7d5e30 Mon Sep 17 00:00:00 2001 From: Andrew Altshuler Date: Tue, 16 Jun 2026 12:24:14 +0300 Subject: [PATCH] test(cli): pass --yes in the S3 e2e overwrite load (RFC-011 Decision 9) (#265) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The RustFS S3 integration job was red on `local_cli_s3_end_to_end_init_load_read_flow`: the test runs `load --mode overwrite` against an `s3://` target, which the RFC-011 Decision 9 destructive-write guard now refuses without `--yes` ("refusing destructive `load --mode overwrite` against non-local target …"). The guard is intended and already covered in cli_data.rs; this test slipped through because it only runs in the bucket-gated RustFS CI job, not the default local gate. Add `--yes` to match the established pattern used by the other overwrite-against-non-local tests in this file (lines ~1305, ~1331). Co-authored-by: Claude Opus 4.8 --- crates/omnigraph-cli/tests/system_local.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/omnigraph-cli/tests/system_local.rs b/crates/omnigraph-cli/tests/system_local.rs index e9e4b2f..9b3701e 100644 --- a/crates/omnigraph-cli/tests/system_local.rs +++ b/crates/omnigraph-cli/tests/system_local.rs @@ -640,6 +640,10 @@ fn local_cli_s3_end_to_end_init_load_read_flow() { .arg("load") .arg("--mode") .arg("overwrite") + // `--yes` clears the RFC-011 Decision 9 destructive-write + // confirmation: `--mode overwrite` against a non-local (s3://) + // target is refused without it. + .arg("--yes") .arg("--data") .arg(fixture("test.jsonl")) .arg(&graph_uri),