Skip to content

Commit 6108b79

Browse files
authored
CI - Fix gen-quickstart check (clockworklabs#4977)
# Description of Changes CI was running `gen-quickstart.sh` and then checking for a diff.. but it was checking in the wrong directory. I have also regenerated the files because the fixed check was failing. # API and ABI breaking changes None. # Expected complexity level and risk 1 # Testing - [x] CI passes - [x] updated CI failed without the changes to the other files --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
1 parent 8df7df3 commit 6108b79

12 files changed

Lines changed: 166 additions & 167 deletions

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,10 +830,9 @@ jobs:
830830
ln -sf $CARGO_HOME/bin/spacetimedb-cli $CARGO_HOME/bin/spacetime
831831
832832
- name: Check quickstart-chat bindings are up to date
833-
working-directory: sdks/csharp
834833
run: |
835-
bash tools~/gen-quickstart.sh
836-
"${GITHUB_WORKSPACE}"/tools/check-diff.sh examples~/quickstart-chat || {
834+
bash sdks/csharp/tools~/gen-quickstart.sh
835+
tools/check-diff.sh templates/chat-console-cs/module_bindings || {
837836
echo 'Error: quickstart-chat bindings have changed. Please run `sdks/csharp/tools~/gen-quickstart.sh`.'
838837
exit 1
839838
}

sdks/csharp/tests~/SnapshotTests.VerifySampleDump_dumpName=LegacySubscribeAll.verified.txt

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
ConnectionId: Guid_1
1919
},
2020
user: {
21-
Identity: Identity_1,
22-
Online: true
21+
identity: Identity_1,
22+
online: true
2323
}
2424
},
2525
OnInsertUser: {
@@ -35,8 +35,8 @@
3535
ConnectionId: Guid_1
3636
},
3737
user: {
38-
Identity: Identity_2,
39-
Online: true
38+
identity: Identity_2,
39+
online: true
4040
}
4141
},
4242
OnInsertUser: {
@@ -52,8 +52,8 @@
5252
ConnectionId: Guid_1
5353
},
5454
user: {
55-
Identity: Identity_3,
56-
Online: true
55+
identity: Identity_3,
56+
online: true
5757
}
5858
},
5959
OnUpdateUser: {
@@ -81,13 +81,13 @@
8181
ConnectionId: Guid_1
8282
},
8383
oldUser: {
84-
Identity: Identity_1,
85-
Online: true
84+
identity: Identity_1,
85+
online: true
8686
},
8787
newUser: {
88-
Identity: Identity_1,
89-
Name: A,
90-
Online: true
88+
identity: Identity_1,
89+
name: A,
90+
online: true
9191
}
9292
},
9393
OnSetName: {
@@ -109,7 +109,7 @@
109109
Count: 4
110110
},
111111
User: {
112-
UserIdentityIdxBtree: {},
112+
Identity: {},
113113
Count: 3
114114
}
115115
},
@@ -141,7 +141,7 @@
141141
Count: 4
142142
},
143143
User: {
144-
UserIdentityIdxBtree: {},
144+
Identity: {},
145145
Count: 3
146146
}
147147
},
@@ -173,7 +173,7 @@
173173
Count: 4
174174
},
175175
User: {
176-
UserIdentityIdxBtree: {},
176+
Identity: {},
177177
Count: 3
178178
}
179179
},
@@ -198,13 +198,13 @@
198198
ConnectionId: Guid_1
199199
},
200200
oldUser: {
201-
Identity: Identity_3,
202-
Online: true
201+
identity: Identity_3,
202+
online: true
203203
},
204204
newUser: {
205-
Identity: Identity_3,
206-
Name: B,
207-
Online: true
205+
identity: Identity_3,
206+
name: B,
207+
online: true
208208
}
209209
},
210210
OnInsertMessage: {
@@ -220,9 +220,9 @@
220220
ConnectionId: Guid_1
221221
},
222222
message: {
223-
Sender: Identity_3,
224-
Sent: 1718487775346381,
225-
Text: Hello, A!
223+
sender: Identity_3,
224+
sent: 1718487775346381,
225+
text: Hello, A!
226226
}
227227
},
228228
OnInsertMessage: {
@@ -238,9 +238,9 @@
238238
ConnectionId: Guid_1
239239
},
240240
message: {
241-
Sender: Identity_1,
242-
Sent: 1718487783175083,
243-
Text: Hello, B!
241+
sender: Identity_1,
242+
sent: 1718487783175083,
243+
text: Hello, B!
244244
}
245245
},
246246
OnInsertMessage: {
@@ -256,9 +256,9 @@
256256
ConnectionId: Guid_1
257257
},
258258
message: {
259-
Sender: Identity_3,
260-
Sent: 1718487787645364,
261-
Text: Goodbye!
259+
sender: Identity_3,
260+
sent: 1718487787645364,
261+
text: Goodbye!
262262
}
263263
},
264264
OnUpdateUser: {
@@ -274,14 +274,14 @@
274274
ConnectionId: Guid_1
275275
},
276276
oldUser: {
277-
Identity: Identity_3,
278-
Name: B,
279-
Online: true
277+
identity: Identity_3,
278+
name: B,
279+
online: true
280280
},
281281
newUser: {
282-
Identity: Identity_3,
283-
Name: B,
284-
Online: false
282+
identity: Identity_3,
283+
name: B,
284+
online: false
285285
}
286286
},
287287
OnInsertMessage: {
@@ -297,49 +297,49 @@
297297
ConnectionId: Guid_1
298298
},
299299
message: {
300-
Sender: Identity_1,
301-
Sent: 1718487794937841,
302-
Text: Goodbye!
300+
sender: Identity_1,
301+
sent: 1718487794937841,
302+
text: Goodbye!
303303
}
304304
}
305305
},
306306
FinalSnapshot: {
307307
User: [
308308
{
309-
Identity: Identity_1,
310-
Name: A,
311-
Online: true
309+
identity: Identity_1,
310+
name: A,
311+
online: true
312312
},
313313
{
314-
Identity: Identity_2,
315-
Online: true
314+
identity: Identity_2,
315+
online: true
316316
},
317317
{
318-
Identity: Identity_3,
319-
Name: B,
320-
Online: false
318+
identity: Identity_3,
319+
name: B,
320+
online: false
321321
}
322322
],
323323
Message: [
324324
{
325-
Sender: Identity_3,
326-
Sent: 1718487775346381,
327-
Text: Hello, A!
325+
sender: Identity_3,
326+
sent: 1718487775346381,
327+
text: Hello, A!
328328
},
329329
{
330-
Sender: Identity_1,
331-
Sent: 1718487783175083,
332-
Text: Hello, B!
330+
sender: Identity_1,
331+
sent: 1718487783175083,
332+
text: Hello, B!
333333
},
334334
{
335-
Sender: Identity_3,
336-
Sent: 1718487787645364,
337-
Text: Goodbye!
335+
sender: Identity_3,
336+
sent: 1718487787645364,
337+
text: Goodbye!
338338
},
339339
{
340-
Sender: Identity_1,
341-
Sent: 1718487794937841,
342-
Text: Goodbye!
340+
sender: Identity_1,
341+
sent: 1718487794937841,
342+
text: Goodbye!
343343
}
344344
]
345345
},

0 commit comments

Comments
 (0)