Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions acceptance/bundle/sync/replace-node-type/output.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,16 @@ Uploaded plain.sql
>>> list
NOTEBOOK bom
FILE plain.sql

=== Remove both local files and sync again

>>> [CLI] bundle sync --output text
Action: DELETE: bom.sql, plain.sql
Deleted bom.sql
Deleted plain.sql
Initial Sync Complete

=== BUG: bom remains after sync reports deleting bom.sql

>>> list
NOTEBOOK bom
7 changes: 7 additions & 0 deletions acceptance/bundle/sync/replace-node-type/script
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,10 @@ trace list
title "Sync replaces both\n"
trace $CLI bundle sync --output text 2>&1 | sort
trace list

title "Remove both local files and sync again\n"
rm bom.sql plain.sql
trace $CLI bundle sync --output text 2>&1 | sort

title "BUG: bom remains after sync reports deleting bom.sql\n"
trace list
2 changes: 2 additions & 0 deletions acceptance/bundle/sync/replace-node-type/test.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
Badness = "After a BOM-prefixed SQL notebook is removed locally, sync reports deleting bom.sql but leaves the remote notebook bom because the sync snapshot retains the .sql extension."

Cloud = true
Env.MSYS_NO_PATHCONV = "1"
Ignore = [".databricks"]
Loading