Skip to content

flake: TestTools/WorkspaceWriteFile #993

@blink-so

Description

@blink-so

CI Run Link: https://github.com/coder/coder/actions/runs/17664198301

Commit Info: 6d390770872e8071880d5d5caa600a79d92ec43d by hugodutka

Failed Job: test-go-pg (windows-2022)

Error Analysis:

--- FAIL: TestTools/WorkspaceWriteFile (0.92s)
=== FAIL: codersdk/toolsdk TestTools (1.52s)

Assignment Analysis:
Used git blame -L 559,580 codersdk/toolsdk/toolsdk_test.go to identify test owner:

  • Test function added by Asher (d5a02d570f) on 2025-09-11 12:17:15
  • All lines of the WorkspaceWriteFile test function were authored by Asher

Root Cause: Test failure in toolsdk/toolsdk_test.go for the WorkspaceWriteFile functionality on Windows platform. This appears to be a flaky test that fails intermittently on the Windows runner.

Test Location: codersdk/toolsdk/toolsdk_test.go:559-580

Platform: Windows (test-go-pg windows-2022 runner)

Related Issues: Similar to #798 (TestTools/WorkspaceSSHExec flake) but different subtest

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions