acc: run deploy/files/no-snapshot-sync locally#5689
Draft
radakam wants to merge 1 commit into
Draft
Conversation
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.
Collaborator
Integration test reportCommit: a151469
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enables the
bundle/deploy/files/no-snapshot-syncacceptance test to run against the local testserver in addition to cloud (Local = true), similar to recentacc: run <test> locallyPRs.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:Error: Workspace path not foundError: 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 = false→true, plus the normalizing[[Repls]].output.txt: two error lines normalized to the token.out.test.toml: regenerated (Local = true).Test plan
go test ./acceptance -run 'TestAccept/bundle/deploy/files/no-snapshot-sync'(terraform + direct).