Repository navigation
Conversation
…#119) Vercel fails a deployment on any exit code other than 0/1. In the shallow clone the last deployed commit is missing, git diff exits 128 and every main deployment of requestflow-ai ended as Error. Map errors to exit 1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Fluory
marked this pull request as ready for review
October 15, 2026 07:38
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Warum
Fixes #119 · Folgefehler aus #102: Seit dem Merge endet jedes
main-Deployment vonrequestflow-ainach 2–3 s als Error (fatal: bad object 9dae5de…– der zuletzt deployte Commit fehlt im flachen Klon,git diffendet mit 128, Vercel wertet alles außer 0/1 als Fehler).Arbeitsstand
services/ai/); jeder git-Fehler führt zum Build statt zum Fehlschlag.ignoreCommandmit2>/dev/null || exit 1, Runbook §3 Schritt 6 korrigiert, CHANGELOG.main-Deployment danach.${…:-…}).Was ist passiert (Klartext)
Die Regel aus #102 sollte den KI-Dienst nur bauen, wenn sich an ihm etwas geändert hat. Vercel lädt aber nur die letzten Commits herunter. Der Vergleichs-Commit von vor zwei Wochen war nicht dabei, git meldete einen Fehler, und Vercel hat das Deployment deshalb abgebrochen statt zu bauen. Der Showcase lief weiter auf dem alten, funktionierenden Stand – aber eine echte Änderung am KI-Dienst wäre nicht live gegangen. Jetzt gilt: Im Zweifel wird gebaut.
Plan-Pflicht (SYSTEM.md §4)
Hinweis: Deploy-Konfiguration (Infra-Regel: menschliche Freigabe), aber kein neuer Infrapfad und per Revert umkehrbar.
Geändert
services/ai/vercel.json:ignoreCommand→git diff --quiet "${VERCEL_GIT_PREVIOUS_SHA:-HEAD^}" HEAD -- ./ 2>/dev/null || exit 1docs/technical/deployment-vercel.md§3 Schritt 6: falsche Aussage „if git cannot compare, it builds“ durch die tatsächliche Regel ersetztCHANGELOG.md: Fixed-Eintrag fix(deploy): AI ignoreCommand errors instead of building when the previous SHA is missing #119Nachweis (SYSTEM.md §11)
requestflow-pxlmoe047(2026-10-10):fatal: bad object 9dae5de7d4cdeba01447e0be9323e762640bf491→ Status Errorsh -cnachgestellt: Änderung seitHEAD^→ Exit 1 (Build); fehlender Commit9dae5de…→ Exit 1 (Build); leere Variable →HEAD^→ Exit 1; Vergleich mitHEAD(keine Änderung) → Exit 0 (Skip)verify:changed: JSON gültig (Pythonjson.loads)verify: grün – CIcheckRun 38183882860 am PR-Kopf aa1e54d (Doku + JSON, keine Code-Änderung)verify:full/ E2E-Spec: nicht betroffenmain-Deployment vonrequestflow-aibaut (Fehlerfall → Exit 1) und endet als Ready statt ErrorDoku-Entscheidung (genau eine)
deployment-vercel.md§3[Unreleased](sichtbares Feature oder Verhalten – im selben PR, nie „später"): Fixed-Eintrag fix(deploy): AI ignoreCommand errors instead of building when the previous SHA is missing #119Entferntes oder Umbenanntes:
docs/gegrept nach „git cannot compare“ – einziger Treffer ersetztDateigrößen und neue Bausteine (SYSTEM.md §7)
Dateien über 500 Zeilen im Diff (Ausnahmen: generierter Code, Lockfiles, Fixtures, Migrationen, Schemas, Ressourcen, Doku, Konfiguration):
Über 800 Zeilen mit neuer Fachlogik oder über 1000 Zeilen (P1/P2): nicht betroffen
Neue Shared-Komponente, Utility-Datei, Adapter oder fachlicher Service:
Subagent-Einsätze
Risiken / offene Punkte
main-Deployment nach dem Merge baut auf jeden Fall (Vergleichs-Commit fehlt) und legt ein neues Image ab (Registry jetzt 2/…, Platz vorhanden). Danach ist der Vergleichs-Commit aktuell und Skips greifen wieder.🤖 Generated with Claude Code