mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-18 02:24:27 +02:00
test(cli): pass --yes in the S3 e2e overwrite load (RFC-011 Decision 9) (#265)
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 <noreply@anthropic.com>
This commit is contained in:
parent
1493ea4ce6
commit
05cb73eda6
1 changed files with 4 additions and 0 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue