Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 18 additions & 37 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,43 +139,24 @@ jobs:
# ── Hydra mechanical gates ───────────────────────────────────────────
# `enable-hydra-gates` defaults to FALSE, so this tier has never executed
# here — the job reported `skipped`, which the Quality Report renders
# identically to a pass. Pinned to v1.0.1 so a change to the gate package
# cannot move this repo's verdict without a commit here.
# identically to a pass.
# `enable-axe` deliberately NOT set: a vanilla Nextcloud 34 already carries
# serious/critical violations from core's own UI.
#
# v1.0.1 -> v1.3.0 (ConductionNL/.github#159). Two defects, one bump.
#
# 1. STALE. v1.0.1 is `f4d9756` (2026-08-03) and predates three gate
# fixes, so every Hydra Gates run this repo has ever made executed a
# script in which 16 gates reported PASS when their helper never ran
# (#147), gate-33 had no axe report to read and never said so (#148),
# and gates 6 and 7 reported PASS on an EMPTY scope (#149). A gate
# that reports PASS without running emits a tick identical to a real
# one, which is why nothing in this repo's history shows it.
# serious/critical violations on core's OWN routes that DOM scoping does
# not remove. Enabling axe is a separate decision.
enable-hydra-gates: true
# No `hydra-gates-ref` here on purpose. The shared workflow defaults it
# to @main, and this workflow is itself consumed at @main, so the two
# sides move together and a gate fix reaches this repo without a commit
# in this repo. A pin is a silent expiry date: 22 repos sat on v1.0.1 and
# 16 gates were dead fleet-wide while every one reported PASS (.github#159),
# and a default flipped at @main later reached those old runners and made
# them red on gates they had no subject matter for (.github#173).
#
# 2. RED. quality.yml is referenced `@main` while this package is
# PINNED, so the two can desync — and on 2026-08-05 they did. #164
# flipped `hydra-gates-require-full-coverage` to default TRUE, but
# the accounting that makes that flag survivable (NOT APPLICABLE, as
# distinct from a structural or a wiring gap) ships in the PACKAGE.
# So every pin older than `f7eaf2a` now fails the coverage assertion
# for gates it has no subject matter for. Measured diff-scoped,
# exactly as CI scopes it:
# v1.0.1 exit 98 FAIL — "GATES THAT DID NOT RUN: 24 33"
# v1.3.0 exit 0 PASS — those gates named NOT APPLICABLE
# The old pin was not merely stale, it was failing this repo's CI for
# a reason that had nothing to do with this repo.
# This also removes the hazard the v1.5.0 pin was chasing: the reusable
# workflow calls several gate scripts BY PATH inside the package, so any
# pin older than those files fails naming the missing paths — a failure
# about the pin, not about this repository. Tracking @main cannot desync.
#
# v1.3.0 is `f7eaf2a` = .github@main, tagged so the ref stays
# reproducible and a later gate change cannot move this repo's verdict
# without a commit here.
enable-hydra-gates: true
# v1.3.0 -> v1.5.0. The reusable workflow floats on @main and calls
# several gate scripts BY PATH inside the pinned package, so a pin older
# than those files cannot run the gates that implement them — the job
# fails naming the missing paths, and the failure is about the pin, not
# about this repository. v1.5.0 is the first tag containing all four:
# axe-run.cjs, check_spec_anchors.py, check_form_labels.py and
# check_license_triangle.py (verified against the tag, not assumed).
hydra-gates-ref: v1.5.0
# To hold this repo still for a specific reason, set the input explicitly
# and say why — it is still honoured. To roll back for everyone, revert on
# ConductionNL/.github main.
Loading