Skip to content
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

Troubleshooting concurrency groups #2503

Merged
merged 6 commits into from
May 16, 2024
Merged

Troubleshooting concurrency groups #2503

merged 6 commits into from
May 16, 2024

Conversation

pzeballos
Copy link
Contributor

When a build is stuck because of a concurrency group, it is hard to see which jobs are in the queue. We have a GraphQL query that is very useful in these situations, and it lists all jobs in the queue of a concurrency group and its state.

We eventually have something in the UI (we have it already, but the performance is not very good)

I wasn't sure where to add this note, so I put it as an info section

When a build is stuck because of a concurrency group, it is hard to see which jobs are in the queue. 
We have a GraphQL query that is very useful in these situations, and it lists all jobs in the queue of a concurrency group and its state.

We eventually have something in the UI (we have it already but the performance it's not very good)
@github-actions github-actions bot added the pipelines Pull requests that update content related to Pipelines label Sep 28, 2023
@buildkite-docs-bot
Copy link
Contributor

Preview URL: https://2503--bk-docs-preview.netlify.app

Copy link
Contributor

@mbelton-buildkite mbelton-buildkite left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small suggestion, but otherwise, looks good! 😊

@@ -43,6 +43,9 @@ For example, if you have two pipelines that each deploy to a different target bu

Concurrency groups guarantee that jobs will be run in the order that they were created in. Jobs inherit the creation time of their parent. Parents of jobs can be either a build or a pipeline upload job. As pipeline uploads add more jobs to the build after it has started, the jobs that they add will inherit the creation time of the pipeline upload rather than the build.

>📘 Troubleshooting
> When a build is blocked by a concurrency group, you can run this [GraphQL query](/docs/apis/graphql/cookbooks/jobs#get-all-jobs-in-a-particular-concurrency-group) that will list all the jobs that are in the queue for that particular concurrency group.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a bit clearer:

Suggested change
> When a build is blocked by a concurrency group, you can run this [GraphQL query](/docs/apis/graphql/cookbooks/jobs#get-all-jobs-in-a-particular-concurrency-group) that will list all the jobs that are in the queue for that particular concurrency group.
> When a build is blocked by a concurrency group, you can check which jobs are in the queue and their state using this [GraphQL query](/docs/apis/graphql/cookbooks/jobs#get-all-jobs-in-a-particular-concurrency-group).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already committed this suggestion @pzeballos ; I'm assuming this wording revision is OK from your perspective?

@gilesgas gilesgas removed the request for review from MelissaKaulfuss May 16, 2024 01:22
Copy link
Contributor

@gilesgas gilesgas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @pzeballos , just want you to confirm if this word modification (italicised) is correct...

Be aware that both the block and input steps cause these steps to be uploaded and scheduled at the same time, which breaks concurrency groups.

By "these", I'm referring to either the block or input steps themselves.

Is this correct?

@pzeballos
Copy link
Contributor Author

Hi @pzeballos , just want you to confirm if this word modification (italicised) is correct...

Be aware that both the block and input steps cause these steps to be uploaded and scheduled at the same time, which breaks concurrency groups.

By "these", I'm referring to either the block or input steps themselves.

Is this correct?

That is correct @gilesgas !

@gilesgas gilesgas merged commit 0171633 into main May 16, 2024
3 checks passed
@gilesgas gilesgas deleted the concurrency-group-help branch May 16, 2024 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pipelines Pull requests that update content related to Pipelines support-docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants