public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: "Kinney, Michael D" <michael.d.kinney@intel.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
	 "devel@edk2.groups.io" <devel@edk2.groups.io>,
	Rebecca Cran <rebecca@bsdio.com>,
	 Liming Gao <gaoliming@byosoft.com.cn>,
	"Feng, Bob C" <bob.c.feng@intel.com>,
	 "Chen, Christine" <yuwei.chen@intel.com>,
	Michael Kubacki <mikuback@linux.microsoft.com>
Subject: Re: [edk2-devel] [Patch 1/1] BaseTools/Scripts/PatchCheck: Error if commit modifies multiple packages
Date: Wed, 14 Feb 2024 22:54:12 +0100	[thread overview]
Message-ID: <CAMj1kXErpFz_FtJbYuUwhhACNFr1xG3E6Ln9B5NMs6j2Gzsn1g@mail.gmail.com> (raw)
In-Reply-To: <CO1PR11MB49293D192243DE3226E24C33D24E2@CO1PR11MB4929.namprd11.prod.outlook.com>

On Wed, 14 Feb 2024 at 18:16, Kinney, Michael D
<michael.d.kinney@intel.com> wrote:
>
> Hi Ard and Leif,
>
> Today in CI we do not have fine grain control to ignore specific
> CI check failures when merging.
>

I have been asking for this for a while now.

> CI checks can either be informative only in the log or blocking.
>
> For cases where a commit really should be broken up into multiple
> commits, the informative approach in a log can be easily missed
> by authors/reviewers/maintainers.
>
> For the suggestion to override a CI check, we would need a way
> to re-run CI with input from a maintainer to relax specific CI
> check(s).  The default could be all checks enabled. Some checks
> can be enabled/disabled at the package scope through ci.yaml
> file settings. This specific check is for the contents of one
> of more commits under review, so the ci.yaml at package scope
> does not apply.
>

I turned off some CI checks in packages entirely, simply because I
cannot override a single CI fail from the dashboard.

> A couple ideas
>
> 1) Make this initial version of this check informative only and
>    figure out how to make the results more visible to the
>    author/reviewers/maintainers.

Making this informative only for all PRs likely defeats the purpose.

> 2) Investigate a mechanism for a maintainer to disable a specific
>    check and re-run CI with that check disabled.
>    a) Perhaps a flag in the commit message
>    b) Perhaps a label in the PR
>

I'd lean towards a), as it will be logged in the commit history. It
also requires some extra work to respin the PR, and this should make
abuse of this feature less likely in cases where the change can easily
just be split up instead.

> It would also be helpful if a few examples from the edk2 commit
> history where this proposed CI check extension would report a
> failure and it would not be possible to reorganize the commits into
> a passing condition. That would help support the hard requirement
> for the need to bypass the check.
>

I didn't look at all the patches in the ticket, but there are at least
two which cannot be split up without breaking the build.

103fa647d159e3d76be2634d2653c2d215dd0d46
ArmPkg: Replace CoreId and ClusterId with Mpidr in ARM_CORE_INFO struct

4c55f6394fafe0494ec24e7c05cb68c938d7852d
MdePkg: IORT header update for IORT Rev E.d spec


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115470): https://edk2.groups.io/g/devel/message/115470
Mute This Topic: https://groups.io/mt/104345509/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2024-02-14 21:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-14  1:17 [edk2-devel] [Patch 1/1] BaseTools/Scripts/PatchCheck: Error if commit modifies multiple packages Michael D Kinney
2024-02-14  7:11 ` Ard Biesheuvel
2024-02-14 15:51   ` Michael D Kinney
2024-02-14 15:59     ` Ard Biesheuvel
2024-02-14 16:32       ` Leif Lindholm
2024-02-14 17:16         ` Michael D Kinney
2024-02-14 21:54           ` Ard Biesheuvel [this message]
2024-02-14 23:27             ` Michael D Kinney
2024-02-14 23:47               ` Ard Biesheuvel
2024-02-15  0:49                 ` Michael D Kinney
2024-02-18  3:36                   ` Michael D Kinney
2024-02-18  9:35                     ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMj1kXErpFz_FtJbYuUwhhACNFr1xG3E6Ln9B5NMs6j2Gzsn1g@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox