Skip to content

acc: run deploy/files/no-snapshot-sync locally#5689

Draft
radakam wants to merge 1 commit into
mainfrom
acc-tests-local-no-snapshot-sync
Draft

acc: run deploy/files/no-snapshot-sync locally#5689
radakam wants to merge 1 commit into
mainfrom
acc-tests-local-no-snapshot-sync

Conversation

@radakam

@radakam radakam commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Enables the bundle/deploy/files/no-snapshot-sync acceptance test to run against the local testserver in addition to cloud (Local = true), similar to recent acc: run <test> locally PRs.

The test already passes end-to-end against the testserver — bundle deploy, file sync, notebook detection, file removal, and workspace export all match. The only divergence was the wording of the "missing path" error from workspace get-status:

  • testserver: Error: Workspace path not found
  • real workspace API: Error: Path (...) doesn't exist.

Rather than change the shared testserver message (it appears in 4 other local goldens), this adds a test-scoped [[Repls]] that normalizes both forms to a stable [WORKSPACE_PATH_NOT_FOUND] token, keeping a single golden valid for both local and cloud runs.

Changes

  • test.toml: Local = falsetrue, plus the normalizing [[Repls]].
  • output.txt: two error lines normalized to the token.
  • out.test.toml: regenerated (Local = true).

Test plan

  • Passes locally on both engines: go test ./acceptance -run 'TestAccept/bundle/deploy/files/no-snapshot-sync' (terraform + direct).
  • Confirm cloud run still passes (the Repls regex matches the cloud wording, so the same golden should hold).

Enable the no-snapshot-sync acceptance test to run against the local
testserver in addition to cloud. The test already passes end-to-end
locally; the only divergence was the wording of the "missing path"
error from workspace get-status ("Workspace path not found" on the
testserver vs "Path (...) doesn't exist." on the real API), so a
test-scoped Repls normalizes both to a stable token.
@radakam radakam temporarily deployed to test-trigger-is June 23, 2026 08:57 — with GitHub Actions Inactive
@radakam radakam temporarily deployed to test-trigger-is June 23, 2026 08:57 — with GitHub Actions Inactive
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: a151469

Run: 28014613664

Env 🟨​KNOWN ✅​pass 🙈​skip Time
🟨​ aws linux 1 216 99 3:18
🟨​ aws windows 1 218 97 3:29
🟨​ aws-ucws linux 1 297 18 3:46
🟨​ aws-ucws windows 1 299 16 4:06
🟨​ azure linux 1 216 98 3:25
🟨​ azure windows 1 218 96 3:22
🟨​ azure-ucws linux 1 299 15 4:09
🟨​ azure-ucws windows 1 301 13 3:28
🟨​ gcp linux 1 215 100 3:04
🟨​ gcp windows 1 217 98 2:34
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
🟨​ TestAccept 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K 🟨​K

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