Skip to content

Commit c5f3494

Browse files
ci: give external-type-exposure headroom over the 15m slim cap (#525)
## Problem The `external-type-exposure` job runs `cargo check-external-types --all-features` sequentially over every workspace crate. On the `ubuntu-slim` runner it inherits a **15-minute execution cap**, which the job has now outgrown: - Previous push run: **12m12s** (already borderline) - Latest `main` push (`828ced2`): **canceled at 15m**, which cascaded into a `required-checks` failure and a cancelled workflow run. All checked crates reported `0 errors` — this is purely a timeout/perf issue, not an actual external-type violation. ## Fix Move the job from `ubuntu-slim` to `ubuntu-latest` (standard runner, no 15m cap) and add an explicit `timeout-minutes: 25` for headroom. A follow-up could speed the check itself up (e.g. warming the dependency build cache before the per-crate loop), but this unblocks `main` now. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5a5b39a commit c5f3494

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,12 @@ jobs:
442442
external-type-exposure:
443443
needs: [delta]
444444
if: needs.delta.outputs.skip != 'true'
445-
runs-on: ubuntu-slim
445+
# Runs `cargo check-external-types --all-features` sequentially over every
446+
# workspace crate, which exceeds the 15-minute `ubuntu-slim` execution cap as
447+
# the crate/dependency graph grows. Use a standard runner with an explicit
448+
# timeout so the job has headroom.
449+
runs-on: ubuntu-latest
450+
timeout-minutes: 25
446451
steps:
447452
# prep
448453
- name: Checkout

0 commit comments

Comments
 (0)