Skip to content

test: fix flake in TestAgent_Metrics_SSH#20447

Merged
ethanndickson merged 1 commit into
mainfrom
ethan/agent-metrics-flake
Oct 24, 2025
Merged

test: fix flake in TestAgent_Metrics_SSH#20447
ethanndickson merged 1 commit into
mainfrom
ethan/agent-metrics-flake

Conversation

@ethanndickson
Copy link
Copy Markdown
Member

@ethanndickson ethanndickson commented Oct 24, 2025

Closes coder/internal#921

The flake in the linked issue was caused by the startup script taking longer than 1 second in CI. The existing conditional, that the startup script duration was under a second, was incorrect; the correct conditional is that the metric exists with the success label set to true.

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndickson ethanndickson marked this pull request as ready for review October 24, 2025 02:25
@ethanndickson ethanndickson force-pushed the ethan/agent-metrics-flake branch from 2448964 to 29fb9ab Compare October 24, 2025 02:36
@ethanndickson ethanndickson merged commit 86ef3fb into main Oct 24, 2025
51 checks passed
@ethanndickson ethanndickson deleted the ethan/agent-metrics-flake branch October 24, 2025 03:06
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flake: TestAgent_Metrics_SSH

2 participants