mbox series

[0/4] Improve handling of build qa issues

Message ID 20250728095936.1495441-1-philip.lorenz@bmw.de
Headers show
Series Improve handling of build qa issues | expand

Message

Philip Lorenz July 28, 2025, 9:59 a.m. UTC
This patch series fixes a number of issues related to the handling of QA
errors that I found while analyzing current master when it comes to
correctly handling and escalating QA issues detected during the build.

Generally speaking, the requirement that tasks raising QA issues also
need to call `exit_if_errors` in all exit paths turns out to be quite
error prone (there's a number of different issues across the LTS
branches for which I will send dedicated patch series) so it may be
worthwhile to find a way to always invoke `exit_if_errors` once task
execution finishes. However, I couldn't find a straightforward way to
accomplish this with the current infrastructure so I've settled on
fixing the identified issues and proposing some improvements for now.

I'll send out the corresponding documentation updates once the series
was merged.

Philip Lorenz (4):
  package: Drop var-undefined QA check
  setuptools3: Add missing call to exit_if_errors
  insane: Explicitly fail parsing if QA errors were raised
  license_image: Make use of exit_if_errors consistent

 meta/classes-global/base.bbclass          | 4 ++++
 meta/classes-global/insane.bbclass        | 4 +---
 meta/classes-global/package.bbclass       | 3 +--
 meta/classes-recipe/license_image.bbclass | 3 ++-
 meta/classes-recipe/setuptools3.bbclass   | 1 +
 5 files changed, 9 insertions(+), 6 deletions(-)