Skip to content

Commit

Permalink
chore: use tmpdir to avoid no space left error (#9486)
Browse files Browse the repository at this point in the history
* refactor: map docker tmp to host tmp

---------

Co-authored-by: pshu <[email protected]>
  • Loading branch information
hardfist and stormslowly authored Feb 27, 2025
1 parent 3a60a03 commit 3e9f504
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/actions/docker-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ runs:
-v $CARGO_HOME/registry/index:/usr/local/cargo/registry/index \
-v $CARGO_HOME/registry/cache:/usr/local/cargo/registry/cache \
-v $CARGO_HOME/git/db:/usr/local/cargo/git/db \
-v /tmp:/tmp \
${{ inputs.options }} \
-e CI=1 \
-e HOME=$HOME \
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ jobs:
env:
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: true
PUPPETEER_SKIP_DOWNLOAD: true

steps:
- name: Checkout
if: ${{ !inputs.skipable }}
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
with:
save-cache: ${{ github.ref_name == 'main' }} # This should be safe because we have nightly building the cache every day
shared-key: build-bench-${{ inputs.target }}-${{ inputs.profile }}

- name: Install cargo-codspeed binary
uses: taiki-e/install-action@3fc1605ecf43c14c7dd5ac06a4a629031ed3bdbd # v2
with:
Expand All @@ -407,10 +407,10 @@ jobs:
uses: lewagon/wait-on-check-action@ccfb013c15c8afb7bf2b7c028fb74dc5a068cccc # v1.3.4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
check-name: 'Test Linux / Build'
check-name: "Test Linux / Build"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10

- name: Download bindings
uses: ./.github/actions/download-artifact
with:
Expand Down

2 comments on commit 3e9f504

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented on 3e9f504 Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Ecosystem CI detail: Open

suite result
modernjs ❌ failure
rspress ✅ success
rslib ❌ failure
rsbuild ❌ failure
rsdoctor ❌ failure
examples ✅ success
devserver ✅ success
nuxt ✅ success

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented on 3e9f504 Feb 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 Benchmark detail: Open

Name Base (2025-02-27 2d10e9a) Current Change
10000_big_production-mode_disable-minimize + exec 36.5 s ± 391 ms 37.6 s ± 1.01 s +2.88 %
10000_development-mode + exec 1.72 s ± 17 ms 1.7 s ± 24 ms -0.98 %
10000_development-mode_hmr + exec 675 ms ± 11 ms 672 ms ± 4.8 ms -0.50 %
10000_production-mode + exec 2.18 s ± 58 ms 2.17 s ± 26 ms -0.54 %
10000_production-mode_persistent-cold + exec 2.34 s ± 55 ms 2.39 s ± 242 ms +2.32 %
10000_production-mode_persistent-hot + exec 1.65 s ± 72 ms 1.65 s ± 76 ms -0.10 %
arco-pro_development-mode + exec 1.71 s ± 92 ms 1.7 s ± 105 ms -0.42 %
arco-pro_development-mode_hmr + exec 374 ms ± 1.3 ms 376 ms ± 3.9 ms +0.53 %
arco-pro_production-mode + exec 3.56 s ± 145 ms 3.47 s ± 151 ms -2.66 %
arco-pro_production-mode_generate-package-json-webpack-plugin + exec 3.62 s ± 136 ms 3.57 s ± 185 ms -1.43 %
arco-pro_production-mode_persistent-cold + exec 3.65 s ± 133 ms 3.62 s ± 122 ms -0.88 %
arco-pro_production-mode_persistent-hot + exec 2.23 s ± 87 ms 2.3 s ± 196 ms +3.00 %
arco-pro_production-mode_traverse-chunk-modules + exec 3.57 s ± 301 ms 3.55 s ± 148 ms -0.40 %
large-dyn-imports_development-mode + exec 1.95 s ± 25 ms 1.95 s ± 21 ms -0.26 %
large-dyn-imports_production-mode + exec 2.04 s ± 24 ms 2.03 s ± 41 ms -0.62 %
threejs_development-mode_10x + exec 1.45 s ± 138 ms 1.46 s ± 13 ms +0.29 %
threejs_development-mode_10x_hmr + exec 786 ms ± 15 ms 813 ms ± 14 ms +3.41 %
threejs_production-mode_10x + exec 5.03 s ± 64 ms 5.14 s ± 331 ms +2.16 %
threejs_production-mode_10x_persistent-cold + exec 5.15 s ± 329 ms 5.12 s ± 54 ms -0.51 %
threejs_production-mode_10x_persistent-hot + exec 4.43 s ± 266 ms 4.45 s ± 91 ms +0.39 %
10000_big_production-mode_disable-minimize + rss memory 8673 MiB ± 46.1 MiB 8670 MiB ± 50.1 MiB -0.04 %
10000_development-mode + rss memory 657 MiB ± 9.5 MiB 666 MiB ± 29.7 MiB +1.35 %
10000_development-mode_hmr + rss memory 1325 MiB ± 259 MiB 1344 MiB ± 148 MiB +1.42 %
10000_production-mode + rss memory 631 MiB ± 29.1 MiB 645 MiB ± 19.7 MiB +2.20 %
10000_production-mode_persistent-cold + rss memory 740 MiB ± 12.4 MiB 751 MiB ± 22.1 MiB +1.39 %
10000_production-mode_persistent-hot + rss memory 709 MiB ± 15.1 MiB 738 MiB ± 26.4 MiB +4.15 %
arco-pro_development-mode + rss memory 577 MiB ± 37.7 MiB 576 MiB ± 48.9 MiB -0.22 %
arco-pro_development-mode_hmr + rss memory 644 MiB ± 68.3 MiB 677 MiB ± 81.3 MiB +5.09 %
arco-pro_production-mode + rss memory 708 MiB ± 26.3 MiB 724 MiB ± 25.9 MiB +2.15 %
arco-pro_production-mode_generate-package-json-webpack-plugin + rss memory 741 MiB ± 17.1 MiB 739 MiB ± 35.6 MiB -0.38 %
arco-pro_production-mode_persistent-cold + rss memory 794 MiB ± 12.7 MiB 788 MiB ± 18.9 MiB -0.75 %
arco-pro_production-mode_persistent-hot + rss memory 646 MiB ± 13.5 MiB 673 MiB ± 15.7 MiB +4.22 %
arco-pro_production-mode_traverse-chunk-modules + rss memory 722 MiB ± 22.6 MiB 720 MiB ± 33.5 MiB -0.24 %
large-dyn-imports_development-mode + rss memory 653 MiB ± 2.69 MiB 667 MiB ± 8.98 MiB +2.03 %
large-dyn-imports_production-mode + rss memory 533 MiB ± 5.5 MiB 554 MiB ± 4.45 MiB +4.11 %
threejs_development-mode_10x + rss memory 561 MiB ± 13.4 MiB 569 MiB ± 22.1 MiB +1.38 %
threejs_development-mode_10x_hmr + rss memory 1191 MiB ± 125 MiB 1170 MiB ± 172 MiB -1.77 %
threejs_production-mode_10x + rss memory 843 MiB ± 43.4 MiB 851 MiB ± 54.3 MiB +0.92 %
threejs_production-mode_10x_persistent-cold + rss memory 966 MiB ± 41.3 MiB 933 MiB ± 64.5 MiB -3.39 %
threejs_production-mode_10x_persistent-hot + rss memory 811 MiB ± 24.9 MiB 825 MiB ± 49 MiB +1.75 %

Please sign in to comment.