Reproduce #1976 as acceptance test#5455
Conversation
Waiting for approvalCould not determine reviewers from git history. Eligible reviewers: Suggestions based on git history. See OWNERS for ownership rules. |
|
Commit: 2dcf99c Ignoring .gh-logs/27019777791/update-check-action/action.yml: cannot extract env
28 interesting tests: 15 SKIP, 7 KNOWN, 6 flaky
Top 23 slowest tests (at least 2 minutes):
|
| trace $CLI bundle deploy | ||
|
|
||
| title "After redeploy: the files dir and state are recreated, but the python_file is NOT re-uploaded" | ||
| trace errcode $CLI workspace get-status "$BUNDLE_PATH/files/hello_world.py" |
There was a problem hiding this comment.
we have also 'musterr' to assert that it must fail.
| @@ -0,0 +1,31 @@ | |||
| # Redeploy after the remote bundle directory is deleted out-of-band (e.g. a user | |||
There was a problem hiding this comment.
We have Badness in test.toml to mark tests recording a buggy behaviour.
This could also be shortened, for example: "After bundle files deleted remotely, next "bundle deploy" does not reupload them until snapshot.json is removed."
You can also confirm that it's the issue by removing snapshot.json and deploying again.
Reproduce #1976 as acceptance test.
The files aren't re-synced because their mtime in local hasn't changed.
touching any of the files will retrigger upload