fix: migration guard 豁免补建表引发的删除与分歧
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Starlight release / Release preflight (push) Has been cancelled
Starlight release / Build (Windows x64) (push) Has been cancelled
Starlight release / Build (Linux arm64) (push) Has been cancelled
Starlight release / Build (Linux x64) (push) Has been cancelled
Starlight release / Build (macOS universal) (push) Has been cancelled
Starlight release / Verify and publish (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Starlight release / Release preflight (push) Has been cancelled
Starlight release / Build (Windows x64) (push) Has been cancelled
Starlight release / Build (Linux arm64) (push) Has been cancelled
Starlight release / Build (Linux x64) (push) Has been cancelled
Starlight release / Build (macOS universal) (push) Has been cancelled
Starlight release / Verify and publish (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
This commit is contained in:
1 parent
48aff7550a
commit
f98dbf1592
1 file changed
+9
@@ -174,6 +174,10 @@ function auditPublishedReleases(currentRef) {
|
|||||||
const released = migrationMapAt(release.tagName)
|
const released = migrationMapAt(release.tagName)
|
||||||
for (const file of canonical.keys()) {
|
for (const file of canonical.keys()) {
|
||||||
if (!released.has(file)) {
|
if (!released.has(file)) {
|
||||||
|
if (allowedHistoricalFixes.has(file)) {
|
||||||
|
warnings.push(`ALLOWED DELETE ${release.tagName}: ${file}`)
|
||||||
|
continue
|
||||||
|
}
|
||||||
failures.push(`PUBLISHED DELETE ${release.tagName}: ${file}`)
|
failures.push(`PUBLISHED DELETE ${release.tagName}: ${file}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -195,6 +199,11 @@ function auditPublishedReleases(currentRef) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (allowedHistoricalFixes.has(file)) {
|
||||||
|
warnings.push(`ALLOWED DIVERGENCE ${release.tagName}: ${file}`)
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
failures.push(
|
failures.push(
|
||||||
`UNRECOGNIZED PUBLISHED DIVERGENCE ${release.tagName}: ${file}\n` +
|
`UNRECOGNIZED PUBLISHED DIVERGENCE ${release.tagName}: ${file}\n` +
|
||||||
` Canonical SHA-384: ${migrationChecksum(expected)}\n` +
|
` Canonical SHA-384: ${migrationChecksum(expected)}\n` +
|
||||||
|
|||||||
Reference in new issue
Block a user