Skip to content

[eas-build-job] Add optional ssh field on job payloads - #4083

Merged
gwdp merged 4 commits into
mainfrom
gwdp/eng-24547-eas-build-job-ssh-settings
Jul 29, 2026
Merged

[eas-build-job] Add optional ssh field on job payloads#4083
gwdp merged 4 commits into
mainfrom
gwdp/eng-24547-eas-build-job-ssh-settings

Conversation

@gwdp

@gwdp gwdp commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Why

We're putting SSH settings on the job itself instead of stuffing them into env. www needs the type on @expo/eas-build-job for that.

How

Add an optional ssh field on Generic and Build jobs.

Test Plan

  • Unit test that JobZ accepts ssh
  • yarn test in packages/eas-build-job

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@linear-code

linear-code Bot commented Jul 25, 2026

Copy link
Copy Markdown

ENG-24547

@gwdp
gwdp requested a review from sjchmiela July 25, 2026 00:56
@codecov

codecov Bot commented Jul 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.27%. Comparing base (b0a4838) to head (0a7a451).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4083      +/-   ##
==========================================
+ Coverage   62.27%   62.27%   +0.01%     
==========================================
  Files         994      994              
  Lines       44733    44735       +2     
  Branches     9412     9412              
==========================================
+ Hits        27852    27854       +2     
  Misses      15434    15434              
  Partials     1447     1447              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@gwdp
gwdp changed the base branch from main to gwdp/eng-24547-eas-build-job-ssh July 25, 2026 04:21
@gwdp
gwdp force-pushed the gwdp/eng-24547-eas-build-job-ssh branch from 70c5333 to fb94788 Compare July 25, 2026 04:22
@gwdp
gwdp force-pushed the gwdp/eng-24547-eas-build-job-ssh-settings branch from fd67320 to 77b34f0 Compare July 25, 2026 04:22
@gwdp
gwdp force-pushed the gwdp/eng-24547-eas-build-job-ssh branch from fb94788 to 88f6a3b Compare July 27, 2026 00:24
@gwdp
gwdp force-pushed the gwdp/eng-24547-eas-build-job-ssh-settings branch from 4cf6115 to 03fec90 Compare July 27, 2026 00:49

gwdp commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

@sjchmiela sjchmiela left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet!

Comment thread packages/eas-build-job/src/common.ts Outdated
Comment thread packages/eas-build-job/src/common.ts Outdated
Comment thread packages/eas-build-job/src/common.ts
@gwdp
gwdp force-pushed the gwdp/eng-24547-eas-build-job-ssh branch from 88f6a3b to 8297089 Compare July 29, 2026 22:13
Base automatically changed from gwdp/eng-24547-eas-build-job-ssh to main July 29, 2026 22:26
gwdp added 4 commits July 29, 2026 15:28
Presence enables SSH; most jobs omit it, so match the TypeScript and Zod shapes.
.url() already rejects non-URLs before refine runs.
Prefer Zod 4 z.url({ protocol }) over z.string().url().refine for ws/wss.
@gwdp
gwdp force-pushed the gwdp/eng-24547-eas-build-job-ssh-settings branch from 6973f85 to 0a7a451 Compare July 29, 2026 22:28
@github-actions

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@gwdp
gwdp merged commit 6fa71f8 into main Jul 29, 2026
12 checks passed
@gwdp
gwdp deleted the gwdp/eng-24547-eas-build-job-ssh-settings branch July 29, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants