From 132957418eb6ce8a2e6ec294d7f8f75c4c8ee701 Mon Sep 17 00:00:00 2001 From: Rico Huijbers Date: Mon, 22 Sep 2025 15:15:37 +0200 Subject: [PATCH] chore: raise FD limit on MacOS in health_check tests MacOS tests are failing with `getaddrinfo ENOTFOUND`. Chasing a suspicion that this may be us hitting FD limits, raise the FD limits from 2560 to 10000, and see if that improves reliability. --- .changeset/silent-peas-vanish.md | 2 ++ .github/workflows/health_checks.yml | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .changeset/silent-peas-vanish.md diff --git a/.changeset/silent-peas-vanish.md b/.changeset/silent-peas-vanish.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/silent-peas-vanish.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/health_checks.yml b/.github/workflows/health_checks.yml index 82fec0add4b..4d8ffb7dfc9 100644 --- a/.github/workflows/health_checks.yml +++ b/.github/workflows/health_checks.yml @@ -150,6 +150,10 @@ jobs: timeout-minutes: 15 steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4 + - name: Increase ulimit + if: runner.os == 'macOS' + run: | + ulimit -n 10000 - uses: ./.github/actions/setup_node with: node-version: ${{ matrix.node }} @@ -478,6 +482,10 @@ jobs: contents: read steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4 + - name: Increase ulimit + if: runner.os == 'macOS' + run: | + ulimit -n 10000 - name: Run e2e deployment tests uses: ./.github/actions/run_with_e2e_account with: @@ -526,6 +534,10 @@ jobs: contents: read steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4 + - name: Increase ulimit + if: runner.os == 'macOS' + run: | + ulimit -n 10000 - name: Run e2e sandbox tests uses: ./.github/actions/run_with_e2e_account with: @@ -554,6 +566,10 @@ jobs: contents: read steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4 + - name: Increase ulimit + if: runner.os == 'macOS' + run: | + ulimit -n 10000 - uses: ./.github/actions/setup_node with: node-version: 18 @@ -612,6 +628,10 @@ jobs: - resolve_inputs steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # version 4.1.4 + - name: Increase ulimit + if: runner.os == 'macOS' + run: | + ulimit -n 10000 - uses: ./.github/actions/setup_node with: node-version: ${{ matrix.node-version }} @@ -644,6 +664,10 @@ jobs: id-token: write contents: read steps: + - name: Increase ulimit + if: runner.os == 'macOS' + run: | + ulimit -n 10000 - name: Checkout aws-amplify/amplify-backend repo uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - name: Run E2E flow tests with ${{ matrix.pkg-manager }}