Files
RedBear-OS/.gitea
kellito 975cda686f build: add make lint-build-system-all aggregate + 11-job CI
Add a single-target aggregate `make lint-build-system-all`
that runs every offline-safe lint + every test + every
smoke test in one shot. Per the user request to make the
'build system healthy?' question easy to answer.

New `make lint-build-system-all` target chains:
  make test-lint-scripts        (120 Python unit tests)
  make test-migration-dry-run   (C-7 KF6 sed migration)
  make test-scratch-dry-run     (improvement #10 skeleton)
All exit 0 in offline mode; <3s wall-clock total.

The existing `make lint-build-system` chain was
incomplete — it ran lint-patches, lint-kf6-deps, and
lint-cook-recipe but not lint-recipe, test-migration-dry-run,
or test-scratch-dry-run. This commit fixes that:
  make lint-build-system: lint-patches lint-kf6-deps \
                        lint-cook-recipe lint-recipe

The two aggregates serve different purposes:
  - `lint-build-system` is the historical aggregate
    including lint-patches. lint-patches returns 2 in
    --no-fetch mode (all skipped) so the Gitea workflow
    wraps it in a case statement. The original use case was
    'is the project build-system clean?', which is
    network-dependent.
  - `lint-build-system-all` is the new offline-only
    aggregate. It does NOT include lint-patches, so it
    always exits 0 on a healthy tree. The new Gitea job
    depends on unit-tests + lint-recipe + migration-dry-run
    + scratch-dry-run (so it can run after the four per-step
    lints have already validated the individual layers).

Wired into:
  Makefile:
    - `make lint-build-system-all` + `make lint-build-system`
      both now include lint-recipe.
    - Both targets added to .PHONY.
  Gitea Actions:
    - New job `lint-build-system-all` (job 7 of 11, depends
      on the four per-step lint jobs).
    - Renumbered the docs stage to 1i.
  BUILD-SYSTEM-IMPROVEMENTS.md:
    - Make targets table: added scratch-rebuild, lint-build-system-all.
  BUILD-SYSTEM-V6-HARDENING-POSTMORTEM.md:
    - Durability caveat: 11 most recent commits -> 12 most
      recent (added e1c2e7958); updated flow description to
      include 'postmortem rebalance in e1c2e7958'.

Verified:
  `make lint-build-system-all` passes in <3s.
  11-job Gitea Actions pipeline YAML validates.
  120/120 Python tests pass.
2026-06-12 16:38:22 +03:00
..