- Notifications
You must be signed in to change notification settings - Fork914
Commit940afa1
authored
fix: let workspace pages download partial logs for unhealthy workspaces (#13761)
* fix: get basic fix in for preventing download logs from blowing up UI* fix: make sure blob units can't go out of bounds* fix: make sure timeout is cleared on component unmount* fix: reduce risk of shared cache state breaking useAgentLogs* fix: allow partial downloading of logs* fix: make sure useMemo cache is used properly* wip: commit current progress on updated logs functionality* docs: rewrite comment for clarity* refactor: clean up current code* fix: update styles for unavailable logs* fix: resolve linter violations* fix: update type signature of getErrorDetail* fix: revert log/enabled logic for useAgentLogs* fix: remove memoization from DownloadLogsDialog* fix: update name of timeout state* refactor: make log web sockets logic more clear* docs: reword comment for clarity* fix: commit current style update progress* fix: finish style updates1 parent07d4171 commit940afa1
File tree
3 files changed
+234
-69
lines changed- site/src
- api
- modules/resources/AgentLogs
- pages/WorkspacePage/WorkspaceActions
3 files changed
+234
-69
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
113 |
| - | |
| 113 | + | |
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
| 117 | + | |
117 | 118 |
| |
118 | 119 |
| |
119 | 120 |
| |
| 121 | + | |
120 | 122 |
| |
121 | 123 |
| |
122 | 124 |
| |
123 |
| - | |
| 125 | + | |
| 126 | + | |
124 | 127 |
|
Lines changed: 22 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 |
| |
19 | 26 |
| |
20 | 27 |
| |
21 | 28 |
| |
| 29 | + | |
22 | 30 |
| |
23 | 31 |
| |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
| 32 | + | |
29 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 |
| |
31 | 38 |
| |
32 |
| - | |
33 |
| - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
34 | 47 |
| |
35 | 48 |
| |
36 | 49 |
| |
| |||
42 | 55 |
| |
43 | 56 |
| |
44 | 57 |
| |
45 |
| - | |
| 58 | + | |
46 | 59 |
| |
47 | 60 |
| |
48 | 61 |
| |
| |||
69 | 82 |
| |
70 | 83 |
| |
71 | 84 |
| |
72 |
| - | |
| 85 | + | |
73 | 86 |
| |
74 | 87 |
| |
75 | 88 |
|
0 commit comments
Comments
(0)