aboutsummaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2026-03-09 17:43:08 +0100
committerGitHub Enterprise <[email protected]>2026-03-09 17:43:08 +0100
commitb37b34ea6ad906f54e8104526e77ba66aed997da (patch)
treee80ce17d666aff6d2f0d73d4977128ffb4055476 /repo
parentadd fallback for zencache multirange (#816) (diff)
downloadzen-b37b34ea6ad906f54e8104526e77ba66aed997da.tar.xz
zen-b37b34ea6ad906f54e8104526e77ba66aed997da.zip
Dashboard overhaul, compute integration (#814)
- **Frontend dashboard overhaul**: Unified compute/main dashboards into a single shared UI. Added new pages for cache, projects, metrics, sessions, info (build/runtime config, system stats). Added live-update via WebSockets with pause control, sortable detail tables, themed styling. Refactored compute/hub/orchestrator pages into modular JS. - **HTTP server fixes and stats**: Fixed http.sys local-only fallback when default port is in use, implemented root endpoint redirect for http.sys, fixed Linux/Mac port reuse. Added /stats endpoint exposing HTTP server metrics (bytes transferred, request rates). Added WebSocket stats tracking. - **OTEL/diagnostics hardening**: Improved OTLP HTTP exporter with better error handling and resilience. Extended diagnostics services configuration. - **Session management**: Added new sessions service with HTTP endpoints for registering, updating, querying, and removing sessions. Includes session log file support. This is still WIP. - **CLI subcommand support**: Added support for commands with subcommands in the zen CLI tool, with improved command dispatch. - **Misc**: Exposed CPU usage/hostname to frontend, fixed JS compact binary float32/float64 decoding, limited projects displayed on front page to 25 sorted by last access, added vscode:// link support. Also contains some fixes from TSAN analysis.
Diffstat (limited to 'repo')
-rw-r--r--repo/packages/s/sentry-native/patches/0.12.1/crashpad_static_libcxx.patch24
-rw-r--r--repo/packages/s/sentry-native/xmake.lua1
2 files changed, 25 insertions, 0 deletions
diff --git a/repo/packages/s/sentry-native/patches/0.12.1/crashpad_static_libcxx.patch b/repo/packages/s/sentry-native/patches/0.12.1/crashpad_static_libcxx.patch
new file mode 100644
index 000000000..2005ad4ec
--- /dev/null
+++ b/repo/packages/s/sentry-native/patches/0.12.1/crashpad_static_libcxx.patch
@@ -0,0 +1,24 @@
+--- a/external/crashpad/handler/CMakeLists.txt 2026-03-09 14:47:42.109197582 +0000
++++ b/external/crashpad/handler/CMakeLists.txt 2026-03-09 14:51:45.343538268 +0000
+@@ -120,6 +120,21 @@
+ endif()
+ endif()
+
++ if(LINUX)
++ # Statically link libc++ and libc++abi into crashpad_handler so it has
++ # no runtime dependency on libc++.so.1. This is needed when building with
++ # a toolchain that uses libc++ (e.g. UE clang) but deploys to systems
++ # where libc++.so.1 is not available.
++ # -nostdlib++ suppresses clang's automatic -lc++ addition (a linker flag,
++ # added at the end). The explicit -Bstatic libs are added via
++ # target_link_libraries so they appear after crashpad's static archives in
++ # the link order, letting the single-pass linker resolve all libc++ symbols.
++ target_link_options(crashpad_handler PRIVATE -nostdlib++)
++ target_link_libraries(crashpad_handler PRIVATE
++ -Wl,-Bstatic,-lc++,-lc++abi,-Bdynamic
++ )
++ endif()
++
+ set_property(TARGET crashpad_handler PROPERTY EXPORT_NAME crashpad_handler)
+ add_executable(crashpad::handler ALIAS crashpad_handler)
+
diff --git a/repo/packages/s/sentry-native/xmake.lua b/repo/packages/s/sentry-native/xmake.lua
index ca683ee4c..77d600fab 100644
--- a/repo/packages/s/sentry-native/xmake.lua
+++ b/repo/packages/s/sentry-native/xmake.lua
@@ -37,6 +37,7 @@ package("sentry-native")
add_versions("0.4.4", "fe6c711d42861e66e53bfd7ee0b2b226027c64446857f0d1bbb239ca824a3d8d")
add_patches("0.4.4", path.join(os.scriptdir(), "patches", "0.4.4", "zlib_fix.patch"), "1a6ac711b7824112a9062ec1716a316facce5055498d1f87090d2cad031b865b")
add_patches("0.7.6", path.join(os.scriptdir(), "patches", "0.7.6", "breakpad_exceptions.patch"), "7781bad0404a92252cbad39e865d17ac663eedade03cbd29c899636c7bfab1b5")
+ add_patches("0.12.1", path.join(os.scriptdir(), "patches", "0.12.1", "crashpad_static_libcxx.patch"), "3c2115b90179808fa639865f6eb23090e2cb6025d816ffb66c2d75c26473ec72")
add_deps("cmake")