From dcdc48817fb72ef859843e3ff7ec09c19948b95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82?= Date: Tue, 7 Jul 2026 20:12:05 +0200 Subject: [PATCH] docs: call out CodeQL/Copilot AI in warning header --- .../usr/lib/calamares/modules/basestrap/main.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py b/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py index 0ba328a..cf22f40 100644 --- a/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py +++ b/iso-profiles/antergos/live-overlay/usr/lib/calamares/modules/basestrap/main.py @@ -18,11 +18,13 @@ # skip_if_no_internet config option matching the packages module pattern. # # ╔══════════════════════════════════════════════════════════════════════════╗ -# ║ WARNING: DO NOT EDIT THIS FILE UNLESS YOU KNOW EXACTLY WHAT YOU'RE ║ -# ║ DOING. Changes to progress reporting, callback handling, or ║ -# ║ subst_locale pre-resolution have caused fatal installation failures ║ -# ║ in the past (conflicting packages, partial upgrades, broken ISOs). ║ -# ║ If you must edit, test with a FULL online+offline install first. ║ +# ║ ⚠ CODEQL WARNING ⚠ ║ +# ║ GitHub's CodeQL (powered by Copilot AI) will flag several lines in ║ +# ║ this file as "findings". THEY ARE INTENTIONAL. "Fixing" them ║ +# ║ WILL break the ISO — previous attempts caused partial upgrades, ║ +# ║ package conflicts (audit-dinit vs audit-openrc, sddm vs x11win), ║ +# ║ and fatal installer crashes. Do not let an AI rewrite this file. ║ +# ║ If you must edit, test with a FULL online + offline install first. ║ # ╚══════════════════════════════════════════════════════════════════════════╝ import abc