Skip to content

flake: TestProxyRegisterDeregister #14961

Closed
@spikecurtis

Description

@spikecurtis

seen here: https://github.com/coder/coder/actions/runs/11161236686/job/31023381497

 t.go:99: 2024-10-03 11:41:47.893 [debu]  coderd: synced licensed entitlements
    t.go:99: 2024-10-03 11:41:47.893 [debu]  coderd: got pubsub update
    t.go:99: 2024-10-03 11:41:47.893 [debu]  coderd: syncing licensed entitlements
    t.go:99: 2024-10-03 11:41:47.893 [debu]  coderd: POST  host=localhost:41331  path=/api/v2/workspaceproxies/me/register  proto=HTTP/1.1  remote_addr=127.0.0.1  start="2024-10-03T11:41:47.893940325Z"  took=28.75µs  status_code=403  latency_ms=0  request_id=ce9ead79-f400-4846-9d6d-9a2388dc7ca9
    workspaceproxy_test.go:365: 
        	Error Trace:	/home/runner/work/coder/coder/enterprise/coderd/workspaceproxy_test.go:365
        	Error:      	Received unexpected error:
        	            	POST http://localhost:41331/api/v2/workspaceproxies/me/register: unexpected status code 403: Workspace Proxy is a Premium feature. Contact sales!
        	Test:       	TestProxyRegisterDeregister/OK

looks like registration is racing license entitlements

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions