Skip to content

Conversation

@kacpersaw
Copy link
Contributor

@kacpersaw kacpersaw commented Oct 31, 2025

Fixes flaky TestWorkspaceTagsTerraform and TestWorkspaceTemplateParamsChange tests that were failing with connection reset by peer errors when downloading the coder/coder provider.

This applies the same caching solution which was done in #17373

  1. Extracts provider caching logic into testutil/terraform_cache.go
  2. Updates TestProvision to use the shared caching helpers
  3. Updates enterprise workspace tests to use the shared caching helpers

The cache is persisted at ~/.cache/coderv2-test/ and automatically cached between CI runs via existing GitHub Actions cache setup.

Closes coder/internal#607

Copy link
Contributor Author

kacpersaw commented Oct 31, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@kacpersaw kacpersaw marked this pull request as ready for review October 31, 2025 10:52
@kacpersaw kacpersaw force-pushed the kacpersaw/workspace-tags-flake branch from 0a91a65 to d3ff141 Compare November 11, 2025 09:49
@kacpersaw kacpersaw enabled auto-merge (squash) November 12, 2025 08:35
@kacpersaw kacpersaw merged commit f543a87 into main Nov 12, 2025
26 checks passed
@kacpersaw kacpersaw deleted the kacpersaw/workspace-tags-flake branch November 12, 2025 08:43
@github-actions github-actions bot locked and limited conversation to collaborators Nov 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flake: enterprise/coderd TestWorkspaceTagsTerraform

2 participants