Repository navigation
Commit 1236852
authored
Fail iOS RNTester E2E straight away when the app artifact is missing
**Stack** (iOS RNTester E2E cost, review bottom-up):
1. #59635
2. #59636
3. #59637
4. #59638
5. #59640
6. #59641 ← this PR
7. #59642
## Summary:
Part 6 of the iOS E2E cost stack.
`test_e2e_ios_rntester` only checks that `test_ios_rntester` succeeded, but `test_ios_rntester` uses `continue-on-error`, so it reports success even when the leg that uploads `RNTesterApp-NewArch-<flavor>` failed (the upload is its last step). In run 40709683649 the Release app was never uploaded and the E2E job still started, and retried, three times.
Download the app as the first step after checkout, and treat a missing app as a non-retryable failure with an error that points to the build job, instead of an incomplete run that triggers the workflow retries.
Gating in `test-all.yml` on the artifact itself would need `actions: read` to list artifacts, which the reusable workflow can't get under Test All's `contents: read`.
## Changelog:
[INTERNAL] [CHANGED] - Fail iOS RNTester E2E straight away when the app artifact is missing
## Test Plan:
- `actionlint` reports no new issues.
- The missing-artifact path matches run 40709683649: `download-artifact` fails after its 3 attempts, the job is classified `failed`, and the run fails without workflow retries.
Differential Revision: D128581762
Pull Request resolved: #596411 parent a979602 commit 1236852
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 55 | + | |
58 | 56 | | |
| 57 | + | |
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
| |||
64 | 63 | | |
65 | 64 | | |
66 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
98 | | - | |
99 | | - | |
| 100 | + | |
| 101 | + | |
100 | 102 | | |
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
106 | 113 | | |
107 | 114 | | |
108 | 115 | | |
| |||
0 commit comments