Commit 976dcbd
ci: GitHub actions performance (#187)
* docs: add GitHub Actions performance optimization plan
Analyzed run 21023241683 to identify optimization opportunities:
- Remove debug dry-run steps (~6.5 min savings)
- Remove gradle tasks list from common-setup (~5-10 min savings)
Also documented known issues that aren't actionable:
- connectedAndroidTest rebuild limitation (AGP hardcoded deps)
- Integration test shard flakiness (runner resource contention)
- set_build_datetime job for consistent artifact naming
Co-authored-by: wharris <wharris@upscalews.com>
* perf(ci): remove debug dry-run steps and gradle task list
Remove diagnostic steps that added ~11-16 minutes to CI runs:
- Remove 'Debug Main Build Task Graph' dry-run step (~2 min savings)
- Remove 'Debug Unit Test Task Graph' dry-run step (~2.5 min savings)
- Remove 'List Gradle Tasks' step from common-setup (~5-10 min aggregate)
These were purely diagnostic and not needed for normal CI operation.
Gradle cache is warmed up by subsequent build steps anyway.
Co-authored-by: wharris <wharris@upscalews.com>
* docs: mark implemented optimizations as complete
Co-authored-by: wharris <wharris@upscalews.com>
* perf(ci): skip codegen for integration test shards
Integration test shards download pre-built APKs and run am instrument
directly - they don't need React Native codegen.
Changes:
- Add skip_codegen input to common-setup action (default false)
- Integration test shards now pass skip_codegen: true
- Update plan doc with new optimization
Expected savings: ~3 min × 4 shards = ~12 min aggregate
Co-authored-by: wharris <wharris@upscalews.com>
* docs: update plan with verified results
All optimizations implemented and verified:
- Removed debug dry-run steps
- Removed gradle tasks list
- Skip codegen for integration test shards
Measured ~12-13 min savings per CI run with warm caches.
Co-authored-by: wharris <wharris@upscalews.com>
---------
Co-authored-by: Cursor Agent <cursoragent@cursor.com>1 parent feed7c7 commit 976dcbd
3 files changed
Lines changed: 166 additions & 42 deletions
File tree
- .github
- actions/common-setup
- workflows
- docs/dev_todo
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
272 | 276 | | |
273 | 277 | | |
274 | 278 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | 279 | | |
| 280 | + | |
284 | 281 | | |
| 282 | + | |
285 | 283 | | |
286 | 284 | | |
287 | 285 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 114 | | |
133 | 115 | | |
134 | 116 | | |
| |||
440 | 422 | | |
441 | 423 | | |
442 | 424 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | 425 | | |
460 | 426 | | |
461 | 427 | | |
| |||
739 | 705 | | |
740 | 706 | | |
741 | 707 | | |
| 708 | + | |
742 | 709 | | |
743 | 710 | | |
744 | 711 | | |
| |||
751 | 718 | | |
752 | 719 | | |
753 | 720 | | |
| 721 | + | |
754 | 722 | | |
755 | 723 | | |
756 | 724 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
0 commit comments