zed/crates
Max Brunsfeld 8592208d3a
Fix failure to upload panics when multiple panics happen at the same time (#2616)
When multiple panics occur at the same time (usually because one thread
panics, and another thread joins it), multiple panic JSON objects can
get written to the same panic file. The resulting file won't be valid
JSON.

This PR addresses that problem via two changes:
* Format panic files as single-line JSON objects
* When a panic file  isn't valid JSON, try taking the first line

In the future, we could try combining all of the backtraces, but for
now, I just want to avoid a problem of not reporting a panic at all.

Release Notes:

- Fixed a problem with Zed's internal crash reporting.
2023-06-15 15:31:49 -07:00
..
activity_indicator Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
ai Use robot icon for assistant to prevent confusion with conversations 2023-06-14 12:14:43 +02:00
auto_update WIP: Stream in completions 2023-05-22 20:28:22 -06:00
breadcrumbs Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
call 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
cli Fix typos 2023-06-02 22:02:19 -04:00
client Do not rely on user's system time for telemetry events 2023-06-09 18:02:20 -04:00
clock Fixed a bug where buffer saved clocks would desynchronize in rare execution paths 2023-06-07 16:10:45 -07:00
collab Activate screen-sharing when leader activates a panel 2023-06-15 18:01:30 +02:00
collab_ui Fix typos 2023-06-02 22:02:19 -04:00
collections Move command palette filter into collections crate 2023-03-28 20:13:17 -07:00
command_palette Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
context_menu Define theme/ui text style settings in theme crate 2023-05-17 14:44:59 -07:00
copilot Use local ids, not remote ids, to identify buffers to copilot 2023-06-05 14:12:19 -07:00
copilot_button Eliminate assets crate 2023-06-06 11:46:46 -07:00
db WIP 2023-05-22 23:11:27 -06:00
diagnostics Avoid auto-scrolling the editor when inserting/removing headers 2023-06-14 10:49:23 +02:00
drag_and_drop Prevent some cases of clipping icons due to pixel coord rounding 2023-05-08 11:42:00 -04:00
editor Save cursor scroll position when the editor is auto-scrolled 2023-06-14 12:00:27 +02:00
feedback Add additional panic information to panic events 2023-06-01 23:34:39 -04:00
file_finder Shorten full paths with ~ 2023-05-27 01:21:38 +03:00
fs fmt 2023-06-07 14:20:01 -07:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy remove commented line 2023-02-27 12:06:10 -08:00
git Clean up final remaining code paths calling old diff update method 2023-05-25 14:41:09 -04:00
go_to_line Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
gpui Update rust-bindgen dev-dependencies (#2563) 2023-06-05 09:21:07 -04:00
gpui_macros Move methods querying window state into AsyncAppContext 2023-05-02 19:38:48 +02:00
install_cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
journal Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
language editor: Add language setting for comment continuations (#2605) 2023-06-13 18:59:46 +02:00
language_selector Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
language_tools Change action namespace to 'debug' for LSP log and syntax tree view 2023-06-12 15:54:36 -07:00
live_kit_client Merge remote-tracking branch 'origin/main' into zmd 2023-05-24 11:04:07 -06:00
live_kit_server 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp Enable type definition capability in fake LSPs in tests 2023-06-08 12:09:37 -07:00
media Update rust-bindgen dev-dependencies 2023-06-04 23:34:22 -04:00
menu Remove internal actions from menu crate 2023-04-27 14:29:11 +02:00
node_runtime Source ESLint server from Github rather than 3rd party NPM package 2023-04-28 16:42:36 -04:00
outline Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
picker Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros Fix typos 2023-06-02 22:02:19 -04:00
plugin_runtime Fix typos 2023-06-02 22:02:19 -04:00
project Flatten worktree tests module structure 2023-06-13 10:31:29 -07:00
project_panel Improve test generation and implement status propogation 2023-06-05 17:30:12 -07:00
project_symbols Fix typos 2023-06-02 22:02:19 -04:00
recent_projects Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
rope editor: add select previous command (#2556) 2023-06-02 17:32:34 +02:00
rpc Bump protocol version 2023-06-09 11:50:15 -07:00
search Change "Project search" to "Project Search" 2023-06-01 12:31:37 +02:00
settings Remove panic when programatically updating an invalid setting 2023-06-13 09:43:57 -07:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez Fix typos 2023-06-02 22:02:19 -04:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
staff_mode 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sum_tree Fix several randomized test failures with the new git status implementation 2023-06-07 14:10:17 -07:00
terminal Fix typos 2023-06-02 22:02:19 -04:00
terminal_view Merge remote-tracking branch 'origin/main' into assistant-2 2023-06-06 19:18:22 +02:00
text Fix typos 2023-06-02 22:02:19 -04:00
theme Improve the look of the syntax tree view UI 2023-06-12 15:14:57 -07:00
theme_selector Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
theme_testbench Move font size adjustment code to the theme crate 2023-05-17 15:56:32 -07:00
util Merge branch 'main' into stream-git-statuses 2023-06-07 14:12:58 -07:00
vim Maintain scroll bottom when streaming assistant responses 2023-06-07 15:01:50 +02:00
welcome WIP: Remove focus side effects from toggle dock commands 2023-05-30 12:00:15 -07:00
workspace Focus on toggle dock (#2612) 2023-06-15 15:20:20 -07:00
zed Fix failure to upload panics when multiple panics happen at the same time (#2616) 2023-06-15 15:31:49 -07:00