- Notifications
You must be signed in to change notification settings - Fork928
Commit0c50774
authored
fix: avoid missed logs when streaming startup logs (#8029)
* feat(coderd,agent): send startup log eof at the end* fix(coderd): fix edge case in startup log pubsub* fix(coderd): ensure startup logs are closed on lifecycle state change (fallback)* fix(codersdk): fix startup log channel shared memory bug* fix(site): remove the EOF log line1 parent247f8a9 commit0c50774
File tree
28 files changed
+658
-131
lines changed- agent
- coderd
- apidoc
- database
- dbauthz
- dbfake
- dbmetrics
- dbmock
- migrations
- queries
- codersdk
- agentsdk
- docs/api
- site/src
- api
- components/Resources
- testHelpers
- xServices/workspaceAgentLogs
28 files changed
+658
-131
lines changedLines changed: 13 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
929 | 929 |
| |
930 | 930 |
| |
931 | 931 |
| |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
932 | 937 |
| |
933 | 938 |
| |
934 | 939 |
| |
| |||
978 | 983 |
| |
979 | 984 |
| |
980 | 985 |
| |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
981 | 994 |
| |
982 | 995 |
| |
983 | 996 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
905 | 905 |
| |
906 | 906 |
| |
907 | 907 |
| |
908 |
| - | |
| 908 | + | |
909 | 909 |
| |
| 910 | + | |
| 911 | + | |
910 | 912 |
| |
911 | 913 |
| |
912 | 914 |
| |
|
Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1407 | 1407 |
| |
1408 | 1408 |
| |
1409 | 1409 |
| |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
1410 | 1418 |
| |
1411 | 1419 |
| |
1412 | 1420 |
| |
|
Lines changed: 19 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2722 | 2722 |
| |
2723 | 2723 |
| |
2724 | 2724 |
| |
2725 |
| - | |
| 2725 | + | |
2726 | 2726 |
| |
2727 | 2727 |
| |
2728 | 2728 |
| |
2729 | 2729 |
| |
2730 | 2730 |
| |
2731 | 2731 |
| |
2732 | 2732 |
| |
| 2733 | + | |
| 2734 | + | |
| 2735 | + | |
| 2736 | + | |
| 2737 | + | |
| 2738 | + | |
| 2739 | + | |
| 2740 | + | |
| 2741 | + | |
| 2742 | + | |
| 2743 | + | |
| 2744 | + | |
| 2745 | + | |
| 2746 | + | |
| 2747 | + | |
| 2748 | + | |
2733 | 2749 |
| |
2734 | 2750 |
| |
2735 | 2751 |
| |
| |||
4013 | 4029 |
| |
4014 | 4030 |
| |
4015 | 4031 |
| |
4016 |
| - | |
| 4032 | + | |
4017 | 4033 |
| |
4018 | 4034 |
| |
4019 | 4035 |
| |
| |||
4026 | 4042 |
| |
4027 | 4043 |
| |
4028 | 4044 |
| |
| 4045 | + | |
4029 | 4046 |
| |
4030 | 4047 |
| |
4031 | 4048 |
| |
|
Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
114 | 114 |
| |
115 | 115 |
| |
116 | 116 |
| |
| 117 | + | |
117 | 118 |
| |
118 | 119 |
| |
119 | 120 |
| |
| |||
125 | 126 |
| |
126 | 127 |
| |
127 | 128 |
| |
| 129 | + | |
128 | 130 |
| |
129 | 131 |
| |
130 | 132 |
| |
|
Lines changed: 30 additions & 5 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
149 | 161 |
| |
150 | 162 |
| |
151 | 163 |
| |
152 | 164 |
| |
153 | 165 |
| |
154 | 166 |
| |
155 |
| - | |
| 167 | + | |
156 | 168 |
| |
157 | 169 |
| |
158 | 170 |
| |
159 | 171 |
| |
160 |
| - | |
| 172 | + | |
| 173 | + | |
161 | 174 |
| |
162 | 175 |
| |
163 | 176 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
58 | 59 |
| |
59 | 60 |
| |
60 | 61 |
| |
|
0 commit comments
Comments
(0)