feat(ql3): validate release tags before registry mutation

This commit is contained in:
whyour
2026-08-18 05:23:48 +08:00
parent 1c4e3269b4
commit ca19423f1d
14 changed files with 950 additions and 104 deletions
@@ -78,6 +78,15 @@ test('rejects verifier, embedded artifact and release workflow drift', () => {
),
'QL3_CLUSTER_ADMIN_RELEASE_WORKFLOW_DRIFT',
],
[
'.github/workflows/ql3-image-release.yml',
(source) =>
source.replaceAll(
'scripts/ql3-release-tag-finalizer.cjs',
'scripts/unvalidated-inline-publisher.cjs',
),
'QL3_CLUSTER_ADMIN_RELEASE_WORKFLOW_DRIFT',
],
];
for (const [target, transform, code] of fixtures) {
const report = auditClusterCopilotConsoleDistribution({