CI failure in main branch on Windows runner.
Commit: b90bc7c398d7d878d537011896f345afbc162faa
Committer: spikecurtis
Workflow: https://github.com/coder/coder/actions/runs/17147149970
Error:
agent_test.go:142:
Error Trace: C:/actions-runner/coder/coder/coderd/coderdtest/coderdtest.go:1226
C:/actions-runner/coder/coder/cli/agent_test.go:142
Error: Condition never satisfied
Test: TestWorkspaceAgent/AWS
Root cause: Agent fails to authenticate with AWS instance identity, getting 404 error:
POST http://127.0.0.1:53714/api/v2/workspaceagents/aws-instance-identity: unexpected status code 404: Instance with id "instanceidentifier" not found.
The test creates an agent with instance ID "instanceidentifier" but the agent is not found in the database when trying to authenticate, causing the agent connection to fail and the test to timeout.
This appears to be the same underlying issue as #778 (GoogleCloud variant) where the agent with the test instance identifier is not being properly persisted or is getting deleted from the database.
CI failure in main branch on Windows runner.
Commit: b90bc7c398d7d878d537011896f345afbc162faa
Committer: spikecurtis
Workflow: https://github.com/coder/coder/actions/runs/17147149970
Error:
Root cause: Agent fails to authenticate with AWS instance identity, getting 404 error:
The test creates an agent with instance ID "instanceidentifier" but the agent is not found in the database when trying to authenticate, causing the agent connection to fail and the test to timeout.
This appears to be the same underlying issue as #778 (GoogleCloud variant) where the agent with the test instance identifier is not being properly persisted or is getting deleted from the database.