Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: xcodeScripts deploy.sh template — altool retry false-positives
Adam Eivydace2df3630a
diff --git a/.changelog/NEXT.md b/.changelog/NEXT.mdindex 31490d720d..8c4f665fba 100644--- a/.changelog/NEXT.md+++ b/.changelog/NEXT.md@@ -16,6 +16,7 @@## Fixed+- **Xcode `deploy.sh` template — altool upload check false-positive** — generated deploy scripts grepped altool output for plain `ERROR: ` to detect upload failures, but altool's multipart uploader logs every transient retry as `ERROR: [ContentDelivery.Uploader.X] WILL RETRY PART N. Checksums do not match.` On flaky/slow networks the script killed deploys mid-recovery. Switched to Apple's definitive failure markers only: `UPLOAD FAILED|Validation failed \(|ERROR ITMS-|product-errors`. Affects iOS, macOS, and watchOS upload sections in `xcodeScripts.js`.- Submodule status API (`/api/git/submodules/status`) always returned empty array — `stdout.trim()` was stripping the leading space status character from `git submodule status` output, causing the regex parser to fail- CoS agents page crash: pipe characters (`|`) in task descriptions triggered infinite loop in markdown parser — non-table pipes now treated as normal text with safety fallback- CoS agents API returned full output arrays (600KB+) for all agents in listing — output now stripped from listing response and loaded on demanddiff --git a/server/services/xcodeScripts.js b/server/services/xcodeScripts.jsindex 1a6460c6de..176890e550 100644--- a/server/services/xcodeScripts.js+++ b/server/services/xcodeScripts.js@@ -241,7 +241,10 @@ EOF--transport DAV 2>&1 | tee "$IOS_UPLOAD_LOG"IOS_UPLOAD_STATUS=\${PIPESTATUS[0]}set -e- if [ "$IOS_UPLOAD_STATUS" -ne 0 ] || grep -qE "UPLOAD FAILED|ERROR: |Validation failed" "$IOS_UPLOAD_LOG"; then+ # Definitive failure markers only — plain "ERROR: " false-positives on+ # altool's normal multipart retry events ("WILL RETRY PART N. Checksums+ # do not match." / "The network connection was lost.").+ if [ "$IOS_UPLOAD_STATUS" -ne 0 ] || grep -qE "UPLOAD FAILED|Validation failed \\(|ERROR ITMS-|product-errors" "$IOS_UPLOAD_LOG"; thenecho "❌ iOS upload failed — see errors above"exit 1fi@@ -315,7 +318,8 @@ EOF--apiIssuer "$APPSTORE_ISSUER_ID" 2>&1 | tee "$MACOS_UPLOAD_LOG"MACOS_UPLOAD_STATUS=\${PIPESTATUS[0]}set -e- if [ "$MACOS_UPLOAD_STATUS" -ne 0 ] || grep -qE "UPLOAD FAILED|ERROR: |Validation failed" "$MACOS_UPLOAD_LOG"; then+ # See iOS section above for why we don't grep plain "ERROR: ".+ if [ "$MACOS_UPLOAD_STATUS" -ne 0 ] || grep -qE "UPLOAD FAILED|Validation failed \\(|ERROR ITMS-|product-errors" "$MACOS_UPLOAD_LOG"; thenecho "❌ macOS upload failed — see errors above"exit 1fi@@ -386,7 +390,8 @@ EOF--transport DAV 2>&1 | tee "$WATCH_UPLOAD_LOG"WATCH_UPLOAD_STATUS=\${PIPESTATUS[0]}set -e- if [ "$WATCH_UPLOAD_STATUS" -ne 0 ] || grep -qE "UPLOAD FAILED|ERROR: |Validation failed" "$WATCH_UPLOAD_LOG"; then+ # See iOS section above for why we don't grep plain "ERROR: ".+ if [ "$WATCH_UPLOAD_STATUS" -ne 0 ] || grep -qE "UPLOAD FAILED|Validation failed \\(|ERROR ITMS-|product-errors" "$WATCH_UPLOAD_LOG"; thenecho "❌ watchOS upload failed — see errors above"exit 1fi