[14.6] REL-06

Выпуск и возврат предыдущей версии · Проверено

[14.6.1] Вход

REL-05

[14.6.2] Действие

Implement atomic activation Use audited safe mechanism, production lock and durable old/new release recording. Failure injection сначала в изолированном staging. Текущий current — физический каталог; переход к release pointer требует отдельного проверенного migration step.

[14.6.3] Файлы-владельцы

services/release/; contracts/; ops/; deploy/; test-fixtures/; docs/masterplan-execution/

[14.6.4] Результат

Pinned release item/manifest; staging assembler; serialized activation; smoke; rollback; IndexNow outbox; review/direct routes.

[14.6.5] Проверка

DONE: failure injection cannot leave known half-activated state. Duplicate enqueue, stale approval, concurrent site activation, current is directory, missing asset, hash mismatch, full disk, failed staging smoke, kill during activation; preserve unrelated existing URLs/assets/redirects.

[14.6.6] При сбое и откат

Batch=full site snapshot or verified delta composition, не замена сайта одним article folder. Не применять os.replace поверх непустого current directory. HTTP cache может скрывать mixed release — проверять manifest-linked assets. В staging доказать exact previous release recovery и smoke. Production rollback делает тот же проверенный deployer с journal. Ни nginx reload, ни chmod -R не входят в обычный выпуск статьи.

Исходная глава · Весь журнал