Skip to content

agent logs don't stream on web when writing from a second log source - 2.13 regression #14257

Closed
@spikecurtis

Description

@spikecurtis

The Agent is coming up and sending logs to Coderd, and then in addition, you have a second program that is also sending logs to Coderd, using the same Agent token.

The logs the Agent sends (e.g. logs from startup scripts) are appearing in the Web Dashboard, and stream in while the workspace is starting.

The logs the second program sends do not appear initially, but then if you refresh your browser, they appear as well, along side the logs the Agent sends. This happens regardless of whether you use the LogsSender (HTTP PATCH API) or the NewLogsSender (dRPC over websocket API) to send the logs.

Also, on Coder server version 2.12.1, the logs from the second program streamed correctly.

Metadata

Metadata

Assignees

Labels

customer-reportedBugs reported by enterprise customers. Only humans may set this.must-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.regressionSomething that used to work but no longer workss2Broken use cases or features (with a workaround). Only humans may set this.siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions