Commit 95d57ab
[EventGrid] Regenerate system events for May 2026 release (#49159)
* [EventGrid] Regenerate system events for May 2026 release
Update system events to include changes from:
- PR #42138: Adding new properties for ACSMessaging and IncomingCall events
- PR #39046: Update Chat event to include sequenceId
Updated tsp-location.yaml to point to latest azure-rest-api-specs commit 6ffd9e58a8c976b93c2d9d0db15a63907262d020
* Add VMSS Lifecycle Hook events (PR #40499) to system events
Regenerated from azure-rest-api-specs commit 7089f3d2a4ed7e765d66f5f5e3be0b8b1eed6c1a
which includes:
- PR #42138: Adding new properties for ACSMessaging and IncomingCall events
- PR #39046: Update Chat event to include sequenceId
- PR #40499: Add VMSS Lifecycle Hook events to EG ST
* Address Copilot review feedback on PR #49159
* Remove duplicate sequenceId field/getter override in 8 ACS chat
subclasses; route deserialization through the package-private
setSequenceId(Long) on the base classes so the inherited field is
populated correctly.
Files updated:
- AcsChatMessageReceivedEventData.java
- AcsChatMessageReceivedInThreadEventData.java
- AcsChatTypingIndicatorReceivedInThreadEventData.java
- AcsChatAzureBotCommandReceivedInThreadEventData.java
- AcsChatMessageEditedEventData.java
- AcsChatMessageEditedInThreadEventData.java
- AcsChatMessageDeletedEventData.java
- AcsChatMessageDeletedInThreadEventData.java
* Add deserialization unit tests for the new fromBSUID / toBSUID
fields on AcsMessageReceivedEventData and
AcsMessageDeliveryStatusUpdatedEventData, plus matching test
JSON fixtures under src/test/resources/testJsons/.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add cspell allowlist entries for new system events (bsuid, osscheduling, osrolling)
The May 2026 system events regeneration introduced new identifiers from
upstream TypeSpec that trip the cspell check in CI:
* BSUID / Bsuid - ACS Messaging recipient/sender identifier used in
AcsMessageDeliveryStatusUpdatedEventData and AcsMessageReceivedEventData
* OSSCHEDULING - in VMSS lifecycle hook event UpgradeAutoOSScheduling
* OSROLLING - in VMSS lifecycle hook event UpgradeAutoOSRollingBatchStarting
These are legitimate identifiers from the generated models, not typos,
so they belong on the sdk/eventgrid/** cspell allowlist.
Verified locally with cspell - 0 issues across the 3 affected files.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Regenerate ACS Chat event models to match upstream TypeSpec
The CI 'Verify Swagger and TypeSpec Code Generation' task failed because
the previous Copilot review feedback commit (00c3604) hand-edited these
8 generated files to remove what looked like duplicate sequenceId fields.
However the upstream TypeSpec (Microsoft.EventGrid.SystemEvents @ commit
7089f3d2 in azure-rest-api-specs) defines sequenceId on each of these
concrete chat event types, so tsp-client emits a per-subclass field +
@OverRide getter intentionally.
Running 'tsp-client update' locally reproduces CI's diff exactly: 8 files,
+136/-8 lines, adding back the @generated private Long sequenceId field,
the @OverRide getSequenceId() accessor, and switching deserialization to
write directly to this.sequenceId instead of setSequenceId().
The underlying 'duplicate field with the parent' concern Copilot raised is
a TypeSpec authoring choice and is out of scope for this regen PR; it can
be addressed in a follow-up against azure-rest-api-specs if needed.
Affected files:
- AcsChatAzureBotCommandReceivedInThreadEventData.java
- AcsChatMessageDeletedEventData.java
- AcsChatMessageDeletedInThreadEventData.java
- AcsChatMessageEditedEventData.java
- AcsChatMessageEditedInThreadEventData.java
- AcsChatMessageReceivedEventData.java
- AcsChatMessageReceivedInThreadEventData.java
- AcsChatTypingIndicatorReceivedInThreadEventData.java
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: rajeshka <sa>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c394ddf commit 95d57ab
38 files changed
Lines changed: 1727 additions & 7 deletions
File tree
- .vscode
- sdk/eventgrid/azure-messaging-eventgrid-systemevents
- src
- main
- java/com/azure/messaging/eventgrid/systemevents
- models
- resources/META-INF
- test
- java/com/azure/messaging/eventgrid/systemevents
- resources/testJsons
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
1611 | | - | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
1612 | 1615 | | |
1613 | 1616 | | |
1614 | 1617 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
977 | 978 | | |
978 | 979 | | |
979 | 980 | | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
980 | 987 | | |
981 | 988 | | |
982 | 989 | | |
| |||
1513 | 1520 | | |
1514 | 1521 | | |
1515 | 1522 | | |
| 1523 | + | |
1516 | 1524 | | |
1517 | 1525 | | |
1518 | 1526 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
87 | 104 | | |
88 | 105 | | |
89 | 106 | | |
| |||
122 | 139 | | |
123 | 140 | | |
124 | 141 | | |
| 142 | + | |
125 | 143 | | |
126 | 144 | | |
127 | 145 | | |
| |||
146 | 164 | | |
147 | 165 | | |
148 | 166 | | |
| 167 | + | |
149 | 168 | | |
150 | 169 | | |
151 | 170 | | |
| |||
168 | 187 | | |
169 | 188 | | |
170 | 189 | | |
| 190 | + | |
| 191 | + | |
171 | 192 | | |
172 | 193 | | |
173 | 194 | | |
| |||
181 | 202 | | |
182 | 203 | | |
183 | 204 | | |
| 205 | + | |
184 | 206 | | |
185 | 207 | | |
186 | 208 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
71 | 88 | | |
72 | 89 | | |
73 | 90 | | |
| |||
107 | 124 | | |
108 | 125 | | |
109 | 126 | | |
| 127 | + | |
110 | 128 | | |
111 | 129 | | |
112 | 130 | | |
| |||
133 | 151 | | |
134 | 152 | | |
135 | 153 | | |
| 154 | + | |
136 | 155 | | |
137 | 156 | | |
138 | 157 | | |
| |||
156 | 175 | | |
157 | 176 | | |
158 | 177 | | |
| 178 | + | |
| 179 | + | |
159 | 180 | | |
160 | 181 | | |
161 | 182 | | |
| |||
168 | 189 | | |
169 | 190 | | |
170 | 191 | | |
| 192 | + | |
171 | 193 | | |
172 | 194 | | |
173 | 195 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
69 | 86 | | |
70 | 87 | | |
71 | 88 | | |
| |||
104 | 121 | | |
105 | 122 | | |
106 | 123 | | |
| 124 | + | |
107 | 125 | | |
108 | 126 | | |
109 | 127 | | |
| |||
129 | 147 | | |
130 | 148 | | |
131 | 149 | | |
| 150 | + | |
132 | 151 | | |
133 | 152 | | |
134 | 153 | | |
| |||
150 | 169 | | |
151 | 170 | | |
152 | 171 | | |
| 172 | + | |
| 173 | + | |
153 | 174 | | |
154 | 175 | | |
155 | 176 | | |
| |||
162 | 183 | | |
163 | 184 | | |
164 | 185 | | |
| 186 | + | |
165 | 187 | | |
166 | 188 | | |
167 | 189 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
103 | 109 | | |
104 | 110 | | |
105 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
106 | 123 | | |
107 | 124 | | |
108 | 125 | | |
| |||
142 | 159 | | |
143 | 160 | | |
144 | 161 | | |
| 162 | + | |
145 | 163 | | |
146 | 164 | | |
147 | 165 | | |
| |||
169 | 187 | | |
170 | 188 | | |
171 | 189 | | |
| 190 | + | |
172 | 191 | | |
173 | 192 | | |
174 | 193 | | |
| |||
194 | 213 | | |
195 | 214 | | |
196 | 215 | | |
| 216 | + | |
| 217 | + | |
197 | 218 | | |
198 | 219 | | |
199 | 220 | | |
| |||
210 | 231 | | |
211 | 232 | | |
212 | 233 | | |
| 234 | + | |
213 | 235 | | |
214 | 236 | | |
215 | 237 | | |
| |||
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
| |||
101 | 107 | | |
102 | 108 | | |
103 | 109 | | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
104 | 121 | | |
105 | 122 | | |
106 | 123 | | |
| |||
139 | 156 | | |
140 | 157 | | |
141 | 158 | | |
| 159 | + | |
142 | 160 | | |
143 | 161 | | |
144 | 162 | | |
| |||
165 | 183 | | |
166 | 184 | | |
167 | 185 | | |
| 186 | + | |
168 | 187 | | |
169 | 188 | | |
170 | 189 | | |
| |||
188 | 207 | | |
189 | 208 | | |
190 | 209 | | |
| 210 | + | |
| 211 | + | |
191 | 212 | | |
192 | 213 | | |
193 | 214 | | |
| |||
204 | 225 | | |
205 | 226 | | |
206 | 227 | | |
| 228 | + | |
207 | 229 | | |
208 | 230 | | |
209 | 231 | | |
| |||
0 commit comments