From ce4c1fe31e0c565e053e032bc5f0db9814ae9c23 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 23 Oct 2026 18:49:04 -0700 Subject: [PATCH] ci: install fuse3 when runners lack fusermount3 (#12013) Self-hosted runners do not ship fuse3, so the setuid repair step failed with 'no fusermount3 in PATH' before the FUSE jobs could run. Install the package instead of failing outright. --- .github/actions/fix-fusermount-setuid/action.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/actions/fix-fusermount-setuid/action.yml b/.github/actions/fix-fusermount-setuid/action.yml index 7aad5bf482..5b0428c713 100644 --- a/.github/actions/fix-fusermount-setuid/action.yml +++ b/.github/actions/fix-fusermount-setuid/action.yml @@ -23,8 +23,14 @@ runs: bin=$(command -v fusermount3 || true) if [ -z "$bin" ]; then - echo "no fusermount3 in PATH" >&2 - exit 1 + # Self-hosted runners are not guaranteed to carry fuse3. + sudo apt-get update + sudo apt-get install -y fuse3 + bin=$(command -v fusermount3 || true) + if [ -z "$bin" ]; then + echo "no fusermount3 in PATH after installing fuse3" >&2 + exit 1 + fi fi if can_mount "$bin"; then ls -l "$bin"