fix(provider-webdriver): upload the file the materializer names for a hosted install

Closed
AM
2mo ago
+940-183

Summary

Split out of #3118 and stacked on #3164. Please review only the top two commits.

  • A hosted install of a materialized iOS build (an artifact zip or a zipped simulator .app) now uploads the file named by the Apple materializer's new uploadPath. Before, it uploaded the extracted .app directory, which failed with EISDIR.
  • Review nit [4] from #3118: the "upload must be a regular file" rule is now enforced once, in appFileUploadForm. That covers both install-from-source and --provider-app.
    • A missing, directory or FIFO path is now INVALID_ARGS before any request is made.
    • appFileUploadForm takes a third argument, { provider, service }. The error details carry the provider id, and the message names the service.

Validation

  • pnpm check:affected --base split/hub-helpers --run passes, and eager-closure-budgets passes.
  • Unit coverage only. Not run live against BrowserStack.

🤖 Generated with Claude Code