diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6a46026..6da63118 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -91,7 +91,7 @@ jobs: - name: Configure node uses: actions/setup-node@v4 with: - node-version: 18.14 + node-version: 22.2 - name: Get pnpm version from package.json id: pnpm-version run: 'echo "pnpm_version=$(node -p ''require(`./ui/frontend/package.json`).engines.pnpm'')" >> $GITHUB_OUTPUT diff --git a/ci/Dockerfile b/ci/Dockerfile index f7d64563..6fedf8d2 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -29,6 +29,14 @@ RUN \ test_bin=$(find target/debug/deps/ -name "ui*" -type f -perm -a=x); \ mv "${test_bin}" /output/unit_tests_ui; +# Bake in debug information to debug deadlocks in production +RUN mkdir .cargo +RUN cat <.cargo/config.toml +[profile.release] +debug = "full" +split-debuginfo = "off" +EOF + RUN \ cargo rustc --locked --release -- -C relocation-model=static; \ mv target/release/ui /output/ui;