Skip to content

windows: honor MOZBUILD_STATE_PATH + host fd hard-cap in cross script#81

Merged
mdheller merged 1 commit into
mainfrom
fix-win-ci-paths
Jul 23, 2026
Merged

windows: honor MOZBUILD_STATE_PATH + host fd hard-cap in cross script#81
mdheller merged 1 commit into
mainfrom
fix-win-ci-paths

Conversation

@mdheller

Copy link
Copy Markdown
Contributor

Fixes the first CI run of the Windows lane (run 30006453773):

  • cbindgen not found — workflow bootstraps into $GITHUB_WORKSPACE/.mozbuild (MOZBUILD_STATE_PATH) but the script hardcoded ~/.mozbuild for clang + cbindgen defaults. Now derives both from MOZBUILD_STATE_PATH.
  • ciopfs daemon fd limit stayed 1024 on runners — GitHub caps the hard limit at 65536, so ulimit -n 1048576 failed. Now raises to the host's hard cap (ulimit -Hn) everywhere; 65536 is ample at CI parallelism.

The merge push retriggers the lane via its own path filter.

First CI run failed: the workflow bootstraps into $GITHUB_WORKSPACE/.mozbuild
(MOZBUILD_STATE_PATH) but the script hardcoded ~/.mozbuild for clang/cbindgen,
so 'cbindgen not found'. Also GitHub runners cap the fd hard limit at 65536 so
'ulimit -n 1048576' failed and the ciopfs daemon stayed at 1024 — now raise to
the host's hard cap wherever we run (65536 is ample at CI parallelism).
@mdheller
mdheller merged commit b8af23c into main Jul 23, 2026
17 checks passed
@mdheller
mdheller deleted the fix-win-ci-paths branch July 23, 2026 12:30
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.

1 participant