We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAIL src/modules/resources/useAgentLogs.test.ts ● useAgentLogs › clear logs when disabled to avoid duplicates expect(received).toHaveLength(expected) Expected length: 3 Received length: 6 Received array: [{"created_at": "2025-05-16T03:52:06.102Z", "id": 0, "level": "info", "output": "Log 0", "source_id": ""}, {"created_at": "2025-05-16T03:52:06.102Z", "id": 1, "level": "info", "output": "Log 1", "source_id": ""}, {"created_at": "2025-05-16T03:52:06.102Z", "id": 2, "level": "info", "output": "Log 2", "source_id": ""}, {"created_at": "2025-05-16T03:52:06.102Z", "id": 0, "level": "info", "output": "Log 0", "source_id": ""}, {"created_at": "2025-05-16T03:52:06.102Z", "id": 1, "level": "info", "output": "Log 1", "source_id": ""}, {"created_at": "2025-05-16T03:52:06.102Z", "id": 2, "level": "info", "output": "Log 2", "source_id": ""}] 40 | await server.connected; 41 | server.send(JSON.stringify(generateLogs(3))); > 42 | expect(result.current).toHaveLength(3); | ^ 43 | }); 44 | }); 45 | at Object.toHaveLength (src/modules/resources/useAgentLogs.test.ts:42:26)
seen here: https://github.com/coder/coder/actions/runs/15060230530/job/42333911889
The text was updated successfully, but these errors were encountered:
coder/coder@fe733af
Flaked again https://github.com/coder/coder/actions/runs/15121787172/job/42505628156
Sorry, something went wrong.
BrunoQuaresma
Successfully merging a pull request may close this issue.
seen here: https://github.com/coder/coder/actions/runs/15060230530/job/42333911889
The text was updated successfully, but these errors were encountered: