Skip to content

Commit c4d00b9

Browse files
authored
Merge pull request #1112 from rust-lang/debuginfo
Build the backend service with debug symbols
2 parents 3e28805 + cde381d commit c4d00b9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ jobs:
9191
- name: Configure node
9292
uses: actions/setup-node@v4
9393
with:
94-
node-version: 18.14
94+
node-version: 22.2
9595
- name: Get pnpm version from package.json
9696
id: pnpm-version
9797
run: 'echo "pnpm_version=$(node -p ''require(`./ui/frontend/package.json`).engines.pnpm'')" >> $GITHUB_OUTPUT

ci/Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ RUN \
2929
test_bin=$(find target/debug/deps/ -name "ui*" -type f -perm -a=x); \
3030
mv "${test_bin}" /output/unit_tests_ui;
3131

32+
# Bake in debug information to debug deadlocks in production
33+
RUN mkdir .cargo
34+
RUN cat <<EOF >.cargo/config.toml
35+
[profile.release]
36+
debug = "full"
37+
split-debuginfo = "off"
38+
EOF
39+
3240
RUN \
3341
cargo rustc --locked --release -- -C relocation-model=static; \
3442
mv target/release/ui /output/ui;

0 commit comments

Comments
 (0)