-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
CI Failure Details
CI Run Link: https://github.com/coder/coder/actions/runs/23728673111
Job: test-go-pg (macos-latest)
Date: 2026-03-30 05:08:49 UTC
Commit: 4d2b0a2f82ca6b6d65760522584d21267cfdaea3 (Kyle Carberry)
Error Analysis
Test: TestWorkspaceApps/WorkspaceAppsProxySubdomain/WildcardPortOK
File: coderd/workspaceapps/apptest/apptest.go:1476
Error: expected "hello world from apps test" but received 404 Application Unavailable page
Key evidence:
apptest.go:1476:
Error: Not equal:
expected: "hello world from apps test"
actual : "<!doctype html>...<p>Agent state is \"disconnected\", not \"connected\"</p>..."
Test: TestWorkspaceApps/WorkspaceAppsProxySubdomain/WildcardPortOK
Root Cause Assessment
Likely timing/flake in workspace apps startup or agent connection. The app request returned the 404 "Application Unavailable" page because the agent state was still "disconnected" when the test expected the app to be serving content. No panic/OOM/race evidence.
Precise Assignment Analysis
- git log --oneline -10 --follow coderd/workspaceapps/apptest/apptest.go
- Most recent meaningful change: 4c63ed760 (Cian Johnston) "fix(workspaceapps): use fresh context in LastUsedAt assertions"
- Assigning to @johnstcn as the most recent owner of workspace apps test helpers.
Related Issues
- flake: TestWorkspaceApps/WorkspaceAppsProxySubdomain/ProxyError #960 (TestWorkspaceApps/WorkspaceAppsProxySubdomain/ProxyError, different subtest/failure mode)
Reproduction
- Not deterministic; occurred in nightly-gauntlet macOS run.
Reactions are currently unavailable