* [PATCH 0/1] ci: restrict concurrency @ 2022-01-12 6:50 Josh Soref 2022-01-12 6:50 ` [PATCH 1/1] " Josh Soref 0 siblings, 1 reply; 8+ messages in thread From: Josh Soref @ 2022-01-12 6:50 UTC (permalink / raw) To: dev; +Cc: Josh Soref dpdk is fairly expensive to build in GitHub. It's helpful to abandon old builds as soon as there's a new build waiting instead of wasting resources on the previous round. Josh Soref (1): ci: restrict concurrency .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) -- 2.32.0 (Apple Git-132) ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 1/1] ci: restrict concurrency 2022-01-12 6:50 [PATCH 0/1] ci: restrict concurrency Josh Soref @ 2022-01-12 6:50 ` Josh Soref 2022-01-13 11:42 ` Thomas Monjalon 0 siblings, 1 reply; 8+ messages in thread From: Josh Soref @ 2022-01-12 6:50 UTC (permalink / raw) To: dev; +Cc: Josh Soref Signed-off-by: Josh Soref <jsoref@gmail.com> --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6cf997d6..a171d430 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,6 +12,9 @@ defaults: jobs: build: name: ${{ join(matrix.config.*, '-') }} + concurrency: + group: build-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.library }}-${{ matrix.config.cross }}-${{ matrix.config.mini }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true runs-on: ${{ matrix.config.os }} env: AARCH64: ${{ matrix.config.cross == 'aarch64' }} -- 2.32.0 (Apple Git-132) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] ci: restrict concurrency 2022-01-12 6:50 ` [PATCH 1/1] " Josh Soref @ 2022-01-13 11:42 ` Thomas Monjalon 2022-01-13 12:41 ` Josh Soref 0 siblings, 1 reply; 8+ messages in thread From: Thomas Monjalon @ 2022-01-13 11:42 UTC (permalink / raw) To: Josh Soref; +Cc: dev Hi, The explanation should be in the patch, not the cover letter. Actually, you don't need a cover letter for a single patch. Copying it here: " dpdk is fairly expensive to build in GitHub. It's helpful to abandon old builds as soon as there's a new build waiting instead of wasting resources on the previous round. " 12/01/2022 07:50, Josh Soref: > Signed-off-by: Josh Soref <jsoref@gmail.com> > --- > + concurrency: > + group: build-${{ matrix.config.os }}-${{ matrix.config.compiler }}-${{ matrix.config.library }}-${{ matrix.config.cross }}-${{ matrix.config.mini }}-${{ github.event.pull_request.number || github.ref }} > + cancel-in-progress: true The goal of the CI is to catch any issue in a submitted patch. Is your change cancelling a test of a patch when another one is submitted? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] ci: restrict concurrency 2022-01-13 11:42 ` Thomas Monjalon @ 2022-01-13 12:41 ` Josh Soref 2022-02-02 14:17 ` Thomas Monjalon 0 siblings, 1 reply; 8+ messages in thread From: Josh Soref @ 2022-01-13 12:41 UTC (permalink / raw) To: Thomas Monjalon; +Cc: dev [-- Attachment #1: Type: text/plain, Size: 1018 bytes --] On Thu, Jan 13, 2022, 6:42 AM Thomas Monjalon <thomas@monjalon.net> wrote: > Hi, > > The explanation should be in the patch, not the cover letter. > Actually, you don't need a cover letter for a single patch. > Copying it here: > " > dpdk is fairly expensive to build in GitHub. > > It's helpful to abandon old builds as soon as there's a new > build waiting instead of wasting resources on the previous > round. > " > > 12/01/2022 07:50, Josh Soref: > > Signed-off-by: Josh Soref <jsoref@gmail.com> > > --- > > + concurrency: > > + group: build-${{ matrix.config.os }}-${{ matrix.config.compiler > }}-${{ matrix.config.library }}-${{ matrix.config.cross }}-${{ > matrix.config.mini }}-${{ github.event.pull_request.number || github.ref }} > > + cancel-in-progress: true > > The goal of the CI is to catch any issue in a submitted patch. > Is your change cancelling a test of a patch when another one is submitted? > If it's on the same branch or if it's in the same pull request yes, otherwise, no. > [-- Attachment #2: Type: text/html, Size: 1701 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] ci: restrict concurrency 2022-01-13 12:41 ` Josh Soref @ 2022-02-02 14:17 ` Thomas Monjalon 2022-02-03 20:21 ` Aaron Conole 0 siblings, 1 reply; 8+ messages in thread From: Thomas Monjalon @ 2022-02-02 14:17 UTC (permalink / raw) To: aconole, david.marchand; +Cc: dev, Josh Soref Aaron, David, Please could you review this patch? Thanks 13/01/2022 13:41, Josh Soref: > On Thu, Jan 13, 2022, 6:42 AM Thomas Monjalon <thomas@monjalon.net> wrote: > > > Hi, > > > > The explanation should be in the patch, not the cover letter. > > Actually, you don't need a cover letter for a single patch. > > Copying it here: > > " > > dpdk is fairly expensive to build in GitHub. > > > > It's helpful to abandon old builds as soon as there's a new > > build waiting instead of wasting resources on the previous > > round. > > " > > > > 12/01/2022 07:50, Josh Soref: > > > Signed-off-by: Josh Soref <jsoref@gmail.com> > > > --- > > > + concurrency: > > > + group: build-${{ matrix.config.os }}-${{ matrix.config.compiler > > }}-${{ matrix.config.library }}-${{ matrix.config.cross }}-${{ > > matrix.config.mini }}-${{ github.event.pull_request.number || github.ref }} > > > + cancel-in-progress: true > > > > The goal of the CI is to catch any issue in a submitted patch. > > Is your change cancelling a test of a patch when another one is submitted? > > > > If it's on the same branch or if it's in the same pull request yes, > otherwise, no. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] ci: restrict concurrency 2022-02-02 14:17 ` Thomas Monjalon @ 2022-02-03 20:21 ` Aaron Conole 2022-02-03 21:44 ` Thomas Monjalon 0 siblings, 1 reply; 8+ messages in thread From: Aaron Conole @ 2022-02-03 20:21 UTC (permalink / raw) To: Thomas Monjalon; +Cc: aconole, david.marchand, dev, Josh Soref Thomas Monjalon <thomas@monjalon.net> writes: > Aaron, David, > Please could you review this patch? > Thanks > > 13/01/2022 13:41, Josh Soref: >> On Thu, Jan 13, 2022, 6:42 AM Thomas Monjalon <thomas@monjalon.net> wrote: >> >> > Hi, >> > >> > The explanation should be in the patch, not the cover letter. >> > Actually, you don't need a cover letter for a single patch. >> > Copying it here: >> > " >> > dpdk is fairly expensive to build in GitHub. >> > >> > It's helpful to abandon old builds as soon as there's a new >> > build waiting instead of wasting resources on the previous >> > round. >> > " >> > >> > 12/01/2022 07:50, Josh Soref: >> > > Signed-off-by: Josh Soref <jsoref@gmail.com> >> > > --- >> > > + concurrency: >> > > + group: build-${{ matrix.config.os }}-${{ matrix.config.compiler >> > }}-${{ matrix.config.library }}-${{ matrix.config.cross }}-${{ >> > matrix.config.mini }}-${{ github.event.pull_request.number || github.ref }} >> > > + cancel-in-progress: true >> > >> > The goal of the CI is to catch any issue in a submitted patch. >> > Is your change cancelling a test of a patch when another one is submitted? >> > >> >> If it's on the same branch or if it's in the same pull request yes, >> otherwise, no. We currently have a report on every patch, which helps us when a patch series has a breaking failure in the middle and then fixes it in a later patch. With the mechanism you have here, we lose that ability - it is important to have, as a `git bisect` can be broken without this feature. How much of a problem is this in practice? I want us to be good citizens, but also I don't want to lose the bisect-ability of the series. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] ci: restrict concurrency 2022-02-03 20:21 ` Aaron Conole @ 2022-02-03 21:44 ` Thomas Monjalon 2022-06-23 7:59 ` David Marchand 0 siblings, 1 reply; 8+ messages in thread From: Thomas Monjalon @ 2022-02-03 21:44 UTC (permalink / raw) To: Aaron Conole; +Cc: aconole, david.marchand, dev, Josh Soref 03/02/2022 21:21, Aaron Conole: > Thomas Monjalon <thomas@monjalon.net> writes: > > > Aaron, David, > > Please could you review this patch? > > Thanks > > > > 13/01/2022 13:41, Josh Soref: > >> On Thu, Jan 13, 2022, 6:42 AM Thomas Monjalon <thomas@monjalon.net> wrote: > >> > >> > Hi, > >> > > >> > The explanation should be in the patch, not the cover letter. > >> > Actually, you don't need a cover letter for a single patch. > >> > Copying it here: > >> > " > >> > dpdk is fairly expensive to build in GitHub. > >> > > >> > It's helpful to abandon old builds as soon as there's a new > >> > build waiting instead of wasting resources on the previous > >> > round. > >> > " > >> > > >> > 12/01/2022 07:50, Josh Soref: > >> > > Signed-off-by: Josh Soref <jsoref@gmail.com> > >> > > --- > >> > > + concurrency: > >> > > + group: build-${{ matrix.config.os }}-${{ matrix.config.compiler > >> > }}-${{ matrix.config.library }}-${{ matrix.config.cross }}-${{ > >> > matrix.config.mini }}-${{ github.event.pull_request.number || github.ref }} > >> > > + cancel-in-progress: true > >> > > >> > The goal of the CI is to catch any issue in a submitted patch. > >> > Is your change cancelling a test of a patch when another one is submitted? > >> > > >> > >> If it's on the same branch or if it's in the same pull request yes, > >> otherwise, no. > > We currently have a report on every patch, which helps us when a patch > series has a breaking failure in the middle and then fixes it in a later > patch. With the mechanism you have here, we lose that ability - it is > important to have, as a `git bisect` can be broken without this feature. Good point. > How much of a problem is this in practice? I want us to be good > citizens, but also I don't want to lose the bisect-ability of the > series. Bisectability is important. So we have to reject this patch, right? Or any other idea? ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 1/1] ci: restrict concurrency 2022-02-03 21:44 ` Thomas Monjalon @ 2022-06-23 7:59 ` David Marchand 0 siblings, 0 replies; 8+ messages in thread From: David Marchand @ 2022-06-23 7:59 UTC (permalink / raw) To: Thomas Monjalon; +Cc: Aaron Conole, dev, Josh Soref On Thu, Feb 3, 2022 at 10:44 PM Thomas Monjalon <thomas@monjalon.net> wrote: > > 03/02/2022 21:21, Aaron Conole: > > Thomas Monjalon <thomas@monjalon.net> writes: > > > > > Aaron, David, > > > Please could you review this patch? > > > Thanks > > > > > > 13/01/2022 13:41, Josh Soref: > > >> On Thu, Jan 13, 2022, 6:42 AM Thomas Monjalon <thomas@monjalon.net> wrote: > > >> > > >> > Hi, > > >> > > > >> > The explanation should be in the patch, not the cover letter. > > >> > Actually, you don't need a cover letter for a single patch. > > >> > Copying it here: > > >> > " > > >> > dpdk is fairly expensive to build in GitHub. > > >> > > > >> > It's helpful to abandon old builds as soon as there's a new > > >> > build waiting instead of wasting resources on the previous > > >> > round. > > >> > " > > >> > > > >> > 12/01/2022 07:50, Josh Soref: > > >> > > Signed-off-by: Josh Soref <jsoref@gmail.com> > > >> > > --- > > >> > > + concurrency: > > >> > > + group: build-${{ matrix.config.os }}-${{ matrix.config.compiler > > >> > }}-${{ matrix.config.library }}-${{ matrix.config.cross }}-${{ > > >> > matrix.config.mini }}-${{ github.event.pull_request.number || github.ref }} > > >> > > + cancel-in-progress: true > > >> > > > >> > The goal of the CI is to catch any issue in a submitted patch. > > >> > Is your change cancelling a test of a patch when another one is submitted? > > >> > > > >> > > >> If it's on the same branch or if it's in the same pull request yes, > > >> otherwise, no. You can manually (in the GHA webui) interrupt an older build if you pushed to a same branch. > > > > We currently have a report on every patch, which helps us when a patch > > series has a breaking failure in the middle and then fixes it in a later > > patch. With the mechanism you have here, we lose that ability - it is > > important to have, as a `git bisect` can be broken without this feature. > > Good point. > > > How much of a problem is this in practice? I want us to be good > > citizens, but also I don't want to lose the bisect-ability of the > > series. > > Bisectability is important. > > So we have to reject this patch, right? Or any other idea? I prefer the current behavior too. Marking patch as rejected. -- David Marchand ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-06-23 7:59 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-01-12 6:50 [PATCH 0/1] ci: restrict concurrency Josh Soref 2022-01-12 6:50 ` [PATCH 1/1] " Josh Soref 2022-01-13 11:42 ` Thomas Monjalon 2022-01-13 12:41 ` Josh Soref 2022-02-02 14:17 ` Thomas Monjalon 2022-02-03 20:21 ` Aaron Conole 2022-02-03 21:44 ` Thomas Monjalon 2022-06-23 7:59 ` David Marchand
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).