Skip to content

acc: Reproduce that file syncs are done despite failed resource deployments - #6324

Open
janniklasrose wants to merge 2 commits into
mainfrom
janniklasrose/file-deletion-during-deploy
Open

acc: Reproduce that file syncs are done despite failed resource deployments#6324
janniklasrose wants to merge 2 commits into
mainfrom
janniklasrose/file-deletion-during-deploy

Conversation

@janniklasrose

Copy link
Copy Markdown
Contributor

Changes

Reproduce (via an acceptance test) that file syncs happen at the start of a deployment.

In this case, we inject a failure into the resource deployment and observe that a file move operation takes effect regardless of deployment success.

Why

Discovered this behaviour during an investigation on job file deploy-time race condition.

Ideally, file deletion happens after the deployment finishes (and conditional on success)

@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Could not determine reviewers from git history.
Round-robin suggestion: @lennartkats-db

Eligible reviewers: @andrewnester, @anton-107, @denik, @lennartkats-db, @pietern, @shreyas-goenka

Suggestions based on git history. See OWNERS for ownership rules.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: dbdb385

Run: 32304530652

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 1 4 274 1163 4:34
💚​ aws windows 1 4 276 1161 3:14
💚​ azure linux 1 4 273 1163 5:23
💚​ azure windows 1 4 275 1161 4:15
💚​ gcp linux 1 4 274 1163 6:09
💚​ gcp windows 1 4 276 1161 4:19
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
Top 2 slowest tests (at least 2 minutes):
duration env testname
3:16 azure windows TestAccept
2:32 gcp windows TestAccept

Setting MSYS_NO_PATHCONV=1 globally in [Env] fixed the leading-slash
/Workspace/... arguments passed to `workspace get-status`, but it also
disabled Git Bash path conversion for the shebang-resolved .py helpers
(update_file.py, read_id.py). On Windows the native python.exe then
received the unconverted POSIX path (/c/a/cli/cli/.../update_file.py ->
C:\c\a\cli\cli\...), which does not exist, so the test failed only on
the windows/direct runner.

Scope the env var to the three get-status calls that actually pass a
workspace path, leaving the .py helpers with normal path conversion.

Co-authored-by: Isaac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants