-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
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
UI improvements for one-shot mode (--disconnect-after-job) #3053
Comments
Hi @maleadt, thanks for raising the issue. I'm not sure what we're able to do about this, however: if an agent is started in an ephemeral environment, it's not clear to me how we'd be able to link it to agents that ran in previous ephemeral environments.
(Edit after thinking more about the suggestion for a user-supplied ID for this:) I do agree there could be more ways to display and group agents in the web UI, and maybe tags would work as a way to define groupings? |
No easily; in our case we have many workers with identical tags, and I wanted to use the CI to debug a specific worker's inability to complete jobs (after an OS upgrade broke it). So grouping according to tags, while useful in some cases, wouldn't have helped me. I'd be fine with fixing the container's hostname, or specify anything else to indicate to the agent that different ephemeral environments should map onto a single one. In my case, we have a single That could of course be implemented using tags by adding an "artificial" |
I'm using
buildkite-agent
with--disconnect-after-job
for containerization reasons, running all of buildkite-agent under sandbox-exec or docker. In this scenario, the WebUI always reports at most one job per agent, as apparently reconnecting the agent (which I do after every job) results in a new agent ID.For example, every idle agent reports:
... while an active agent will only report a single job, i.e., the one it's currently running:
This is not great, as it complicates debugging worker issues, with no easy way to inspect all runs by this agent.
I'd be happy to have to specify my own UID for this, so that the WebUI can correctly group runs.
The text was updated successfully, but these errors were encountered: