Skip to content

Misleading attempt counter in wait-for-start script #733

@zedkipp

Description

@zedkipp

The agentapi-wait-for-start.sh script logs a misleading attempt counter when waiting for the server to start. The outer loop runs 150 iterations (each ~0.1s), but the log message uses a denominator of 15 (the approximate total seconds). This makes it look like the counter has wildly overshot its maximum. I expected the count to be from 1/150 to 150/150.

GIF of this happening when the agent doesn't connect:
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions