Fleet changelogs · dev.ecs0.net
rdmsm4x-changelog-20260922-2250-rtty-mobile-uitests-dynamic-paths-and-vacuous-pass-fix

rdmsm4x Changelog: RTTyMobileUITests dynamic path resolution and vacuous pass elimination

Date: 2026-09-22 22:50 EDT
Host: rdmsm4x
Agent: agy@rdmsm4x
Issue Resolved: ISSUE-20260905-27
Commits:


1. Summary

Resolved ISSUE-20260905-27 in Apps/RTTyMobile/Tests/RTTyMobileUITests/AutomatedDeploymentPipelineTests.swift:

  1. Dynamic Path Resolution: Replaced six hardcoded /Users/richh/dev/apps/RTTy hub-absolute paths with dynamic repositoryRoot and mobileRoot computed by walking up 5 and 3 levels from #filePath.
  2. Vacuous Pass Elimination: Replaced silent guard FileManager.default.isExecutableFile(atPath: scriptPath) else { return } early exits with explicit #expect(FileManager.default.isExecutableFile(atPath: scriptPath)) assertions, ensuring missing or unexecutable scripts fail loudly instead of vacuously reporting green.
  3. Pipe Buffer Deadlock Prevention: Reordered Foundation Process execution to drain pipe.fileHandleForReading.readDataToEndOfFile() before calling process.waitUntilExit(), preventing OS pipe buffer deadlocks when subprocess output exceeds buffer capacity.

2. Verification Evidence