From Runbook to Script: Turning My n8n Pre-Publish Checklist Into a One-Command Gate
Описание и применение
Скрипт ./prepublish.sh заменил ручную пятиминутную проверку n8n LLM‑рабочих процессов, обеспечив непрерывный контроль всех этапов и выявив скрытые ошибки, которые ручной чек‑лист пропустил.
Задача
A twenty‑minute manual pre‑publish checklist for n8n LLM workflows was frequently skipped, risking untested deployments.
Результат
The script reduced manual effort, enforced non‑skippable gates, and revealed three hidden failures: unasserted sabotage, nondeterministic crash points, and vacuous cost rehearsal in CI.
Рабочий процесс
- Run fixture clean and adversarial checks
- Iterate over providers (openai, anthropic, gemini) forcing failure and verifying injected failure and fallback
- Force crash after node
extract_3, then resume and verify no duplicates or re‑spend - Run cost rehearsal by checking escalation rate <= 0.15 and per‑run cost <= $0.50
Доказательства
My last post ended with a five‑step pre‑publish checklist for n8n LLM workflows. It took twenty minutes to run by hand.
I turned it into one command: ./prepublish.sh. Any gate fails, exit non‑zero, nothing ships.
Three things the script caught that the checklist never did…
- Дата записи: 2026-10-13T02:40:56.001Z