@qaick/runner 0.30.0 → 0.30.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/package-dist/fixtures/qaick-local-http-regression.qaick.json +5002 -0
  2. package/package-dist/fixtures/regression-cancel.qaick.json +314 -0
  3. package/package-dist/fixtures/regression-declared-inputs.qaick.json +281 -0
  4. package/package-dist/fixtures/regression-input-conflict.qaick.json +548 -0
  5. package/package-dist/fixtures/regression-script.qaick.json +58 -0
  6. package/package-dist/fixtures/regression-timeout.qaick.json +314 -0
  7. package/package-dist/fixtures/script-worker-http.qaick.json +226 -0
  8. package/package-dist/package.json +4 -4
  9. package/package-dist/src/runner/RunnerModule.d.ts.map +1 -1
  10. package/package-dist/src/runner/RunnerModule.js +35 -22
  11. package/package-dist/src/runner/RunnerModule.js.map +1 -1
  12. package/package-dist/src/runner/action-template-lowering.d.ts.map +1 -1
  13. package/package-dist/src/runner/action-template-lowering.js +6 -2
  14. package/package-dist/src/runner/action-template-lowering.js.map +1 -1
  15. package/package-dist/src/runner/catalog.d.ts +4 -1
  16. package/package-dist/src/runner/catalog.d.ts.map +1 -1
  17. package/package-dist/src/runner/catalog.js +11 -6
  18. package/package-dist/src/runner/catalog.js.map +1 -1
  19. package/package-dist/src/runner/fixture.js +1 -1
  20. package/package-dist/src/runner/fixture.js.map +1 -1
  21. package/package-dist/src/runner/invocation-inputs.d.ts +33 -0
  22. package/package-dist/src/runner/invocation-inputs.d.ts.map +1 -0
  23. package/package-dist/src/runner/invocation-inputs.js +85 -0
  24. package/package-dist/src/runner/invocation-inputs.js.map +1 -0
  25. package/package-dist/src/runner/loaded-target.d.ts +13 -0
  26. package/package-dist/src/runner/loaded-target.d.ts.map +1 -0
  27. package/package-dist/src/runner/loaded-target.js +23 -0
  28. package/package-dist/src/runner/loaded-target.js.map +1 -0
  29. package/package-dist/src/runner/result-export.d.ts +7 -2
  30. package/package-dist/src/runner/result-export.d.ts.map +1 -1
  31. package/package-dist/src/runner/result-export.js +3 -2
  32. package/package-dist/src/runner/result-export.js.map +1 -1
  33. package/package-dist/src/runner/runtime-client-adapter.d.ts.map +1 -1
  34. package/package-dist/src/runner/runtime-client-adapter.js +2 -1
  35. package/package-dist/src/runner/runtime-client-adapter.js.map +1 -1
  36. package/package.json +4 -4
@@ -0,0 +1,548 @@
1
+ {
2
+ "schemaVersion": 10,
3
+ "project": {
4
+ "id": "declared-input-regression",
5
+ "name": "Declared input regression",
6
+ "actions": [],
7
+ "operations": [],
8
+ "flows": [
9
+ {
10
+ "id": "regression-core",
11
+ "name": "Flow 1 \u2014 Independent core",
12
+ "nodes": [
13
+ {
14
+ "id": "basics",
15
+ "type": "action",
16
+ "clientId": "project",
17
+ "actionId": "http-basics",
18
+ "label": "produce/basics",
19
+ "position": {
20
+ "x": 780,
21
+ "y": -240
22
+ },
23
+ "inputs": {
24
+ "namespace": {
25
+ "type": "variable",
26
+ "variableName": "customerId"
27
+ },
28
+ "arbitraryDeclaredInput": {
29
+ "type": "variable",
30
+ "variableName": "arbitraryDeclaredInput"
31
+ },
32
+ "n": {
33
+ "type": "variable",
34
+ "variableName": "n"
35
+ },
36
+ "b": {
37
+ "type": "variable",
38
+ "variableName": "b"
39
+ },
40
+ "s": {
41
+ "type": "variable",
42
+ "variableName": "s"
43
+ },
44
+ "payload": {
45
+ "type": "variable",
46
+ "variableName": "payload"
47
+ }
48
+ },
49
+ "actionDefinition": {
50
+ "id": "http-basics",
51
+ "name": "produce/basics",
52
+ "type": "api",
53
+ "inputs": [
54
+ {
55
+ "id": "p-namespace",
56
+ "name": "namespace",
57
+ "type": "string",
58
+ "required": false
59
+ },
60
+ {
61
+ "id": "p-sampleValue",
62
+ "name": "sampleValue",
63
+ "type": "string",
64
+ "required": false
65
+ },
66
+ {
67
+ "name": "arbitraryDeclaredInput",
68
+ "type": "string",
69
+ "id": "action-arbitraryDeclaredInput",
70
+ "required": false
71
+ },
72
+ {
73
+ "name": "n",
74
+ "type": "number",
75
+ "id": "action-n",
76
+ "required": false
77
+ },
78
+ {
79
+ "name": "b",
80
+ "type": "boolean",
81
+ "id": "action-b",
82
+ "required": false
83
+ },
84
+ {
85
+ "name": "s",
86
+ "type": "string",
87
+ "id": "action-s",
88
+ "required": false
89
+ },
90
+ {
91
+ "name": "payload",
92
+ "type": "json",
93
+ "id": "action-payload",
94
+ "required": false
95
+ },
96
+ {
97
+ "name": "comment",
98
+ "type": "json",
99
+ "id": "action-comment",
100
+ "required": false
101
+ }
102
+ ],
103
+ "outputs": [
104
+ {
105
+ "id": "p-token",
106
+ "name": "token",
107
+ "type": "string",
108
+ "required": false
109
+ },
110
+ {
111
+ "id": "p-sampleValue",
112
+ "name": "sampleValue",
113
+ "type": "string",
114
+ "required": false
115
+ },
116
+ {
117
+ "id": "p-number",
118
+ "name": "number",
119
+ "type": "number",
120
+ "required": false
121
+ },
122
+ {
123
+ "id": "p-decimal",
124
+ "name": "decimal",
125
+ "type": "number",
126
+ "required": false
127
+ },
128
+ {
129
+ "id": "p-falseValue",
130
+ "name": "falseValue",
131
+ "type": "boolean",
132
+ "required": false
133
+ },
134
+ {
135
+ "id": "p-nullValue",
136
+ "name": "nullValue",
137
+ "type": "json",
138
+ "required": false
139
+ },
140
+ {
141
+ "id": "p-object",
142
+ "name": "object",
143
+ "type": "json",
144
+ "required": false
145
+ },
146
+ {
147
+ "id": "p-array",
148
+ "name": "array",
149
+ "type": "json",
150
+ "required": false
151
+ }
152
+ ],
153
+ "api": {
154
+ "method": "POST",
155
+ "url": "http://127.0.0.1:5197/produce/basics",
156
+ "query": "{\"namespace\": \"$namespace\", \"n\": \"$n\", \"b\": \"$b\", \"s\": \"$s\", \"arbitrary\": \"$arbitraryDeclaredInput\"}",
157
+ "headers": "{\"Content-Type\":\"application/json\"}",
158
+ "body": "$payload",
159
+ "response": {
160
+ "fields": [
161
+ {
162
+ "name": "token",
163
+ "path": "$.token",
164
+ "type": "string"
165
+ },
166
+ {
167
+ "name": "sampleValue",
168
+ "path": "$.sampleValue",
169
+ "type": "string"
170
+ },
171
+ {
172
+ "name": "number",
173
+ "path": "$.number",
174
+ "type": "number"
175
+ },
176
+ {
177
+ "name": "decimal",
178
+ "path": "$.decimal",
179
+ "type": "number"
180
+ },
181
+ {
182
+ "name": "falseValue",
183
+ "path": "$.falseValue",
184
+ "type": "boolean"
185
+ },
186
+ {
187
+ "name": "nullValue",
188
+ "path": "$.nullValue",
189
+ "type": "json"
190
+ },
191
+ {
192
+ "name": "object",
193
+ "path": "$.object",
194
+ "type": "json"
195
+ },
196
+ {
197
+ "name": "array",
198
+ "path": "$.array",
199
+ "type": "json"
200
+ }
201
+ ]
202
+ }
203
+ }
204
+ }
205
+ }
206
+ ],
207
+ "sequence": [
208
+ "basics"
209
+ ],
210
+ "edges": [],
211
+ "inputs": [
212
+ {
213
+ "id": "p-customerId",
214
+ "name": "customerId",
215
+ "type": "string",
216
+ "required": false,
217
+ "defaultValue": "regression-default"
218
+ },
219
+ {
220
+ "name": "arbitraryDeclaredInput",
221
+ "type": "string",
222
+ "defaultValue": "declared-example",
223
+ "id": "input-arbitraryDeclaredInput",
224
+ "required": false
225
+ },
226
+ {
227
+ "name": "n",
228
+ "type": "number",
229
+ "defaultValue": 259,
230
+ "id": "input-n",
231
+ "required": false
232
+ },
233
+ {
234
+ "name": "b",
235
+ "type": "boolean",
236
+ "defaultValue": true,
237
+ "id": "input-b",
238
+ "required": false
239
+ },
240
+ {
241
+ "name": "s",
242
+ "type": "string",
243
+ "defaultValue": "default",
244
+ "id": "input-s",
245
+ "required": false
246
+ },
247
+ {
248
+ "name": "payload",
249
+ "type": "json",
250
+ "defaultValue": {
251
+ "id": 7,
252
+ "items": [
253
+ 1,
254
+ 2,
255
+ 3
256
+ ]
257
+ },
258
+ "id": "input-payload",
259
+ "required": false
260
+ },
261
+ {
262
+ "name": "comment",
263
+ "type": "json",
264
+ "id": "input-comment",
265
+ "required": false
266
+ }
267
+ ],
268
+ "outputs": [],
269
+ "variables": [],
270
+ "description": "HTTP evidence only. Structured bindings are inspectable/runnable; structural edits are restricted until reconciliation exists."
271
+ },
272
+ {
273
+ "id": "conflicting-flow",
274
+ "name": "Conflicting defaults",
275
+ "nodes": [
276
+ {
277
+ "id": "basics",
278
+ "type": "action",
279
+ "clientId": "project",
280
+ "actionId": "http-basics",
281
+ "label": "produce/basics",
282
+ "position": {
283
+ "x": 780,
284
+ "y": -240
285
+ },
286
+ "inputs": {
287
+ "namespace": {
288
+ "type": "variable",
289
+ "variableName": "customerId"
290
+ },
291
+ "arbitraryDeclaredInput": {
292
+ "type": "variable",
293
+ "variableName": "arbitraryDeclaredInput"
294
+ },
295
+ "n": {
296
+ "type": "variable",
297
+ "variableName": "n"
298
+ },
299
+ "b": {
300
+ "type": "variable",
301
+ "variableName": "b"
302
+ },
303
+ "s": {
304
+ "type": "variable",
305
+ "variableName": "s"
306
+ },
307
+ "payload": {
308
+ "type": "variable",
309
+ "variableName": "payload"
310
+ }
311
+ },
312
+ "actionDefinition": {
313
+ "id": "http-basics",
314
+ "name": "produce/basics",
315
+ "type": "api",
316
+ "inputs": [
317
+ {
318
+ "id": "p-namespace",
319
+ "name": "namespace",
320
+ "type": "string",
321
+ "required": false
322
+ },
323
+ {
324
+ "id": "p-sampleValue",
325
+ "name": "sampleValue",
326
+ "type": "string",
327
+ "required": false
328
+ },
329
+ {
330
+ "name": "arbitraryDeclaredInput",
331
+ "type": "string",
332
+ "id": "action-arbitraryDeclaredInput",
333
+ "required": false
334
+ },
335
+ {
336
+ "name": "n",
337
+ "type": "number",
338
+ "id": "action-n",
339
+ "required": false
340
+ },
341
+ {
342
+ "name": "b",
343
+ "type": "boolean",
344
+ "id": "action-b",
345
+ "required": false
346
+ },
347
+ {
348
+ "name": "s",
349
+ "type": "string",
350
+ "id": "action-s",
351
+ "required": false
352
+ },
353
+ {
354
+ "name": "payload",
355
+ "type": "json",
356
+ "id": "action-payload",
357
+ "required": false
358
+ },
359
+ {
360
+ "name": "comment",
361
+ "type": "json",
362
+ "id": "action-comment",
363
+ "required": false
364
+ }
365
+ ],
366
+ "outputs": [
367
+ {
368
+ "id": "p-token",
369
+ "name": "token",
370
+ "type": "string",
371
+ "required": false
372
+ },
373
+ {
374
+ "id": "p-sampleValue",
375
+ "name": "sampleValue",
376
+ "type": "string",
377
+ "required": false
378
+ },
379
+ {
380
+ "id": "p-number",
381
+ "name": "number",
382
+ "type": "number",
383
+ "required": false
384
+ },
385
+ {
386
+ "id": "p-decimal",
387
+ "name": "decimal",
388
+ "type": "number",
389
+ "required": false
390
+ },
391
+ {
392
+ "id": "p-falseValue",
393
+ "name": "falseValue",
394
+ "type": "boolean",
395
+ "required": false
396
+ },
397
+ {
398
+ "id": "p-nullValue",
399
+ "name": "nullValue",
400
+ "type": "json",
401
+ "required": false
402
+ },
403
+ {
404
+ "id": "p-object",
405
+ "name": "object",
406
+ "type": "json",
407
+ "required": false
408
+ },
409
+ {
410
+ "id": "p-array",
411
+ "name": "array",
412
+ "type": "json",
413
+ "required": false
414
+ }
415
+ ],
416
+ "api": {
417
+ "method": "POST",
418
+ "url": "http://127.0.0.1:5197/produce/basics",
419
+ "query": "{\"namespace\": \"$namespace\", \"n\": \"$n\", \"b\": \"$b\", \"s\": \"$s\", \"arbitrary\": \"$arbitraryDeclaredInput\"}",
420
+ "headers": "{\"Content-Type\":\"application/json\"}",
421
+ "body": "$payload",
422
+ "response": {
423
+ "fields": [
424
+ {
425
+ "name": "token",
426
+ "path": "$.token",
427
+ "type": "string"
428
+ },
429
+ {
430
+ "name": "sampleValue",
431
+ "path": "$.sampleValue",
432
+ "type": "string"
433
+ },
434
+ {
435
+ "name": "number",
436
+ "path": "$.number",
437
+ "type": "number"
438
+ },
439
+ {
440
+ "name": "decimal",
441
+ "path": "$.decimal",
442
+ "type": "number"
443
+ },
444
+ {
445
+ "name": "falseValue",
446
+ "path": "$.falseValue",
447
+ "type": "boolean"
448
+ },
449
+ {
450
+ "name": "nullValue",
451
+ "path": "$.nullValue",
452
+ "type": "json"
453
+ },
454
+ {
455
+ "name": "object",
456
+ "path": "$.object",
457
+ "type": "json"
458
+ },
459
+ {
460
+ "name": "array",
461
+ "path": "$.array",
462
+ "type": "json"
463
+ }
464
+ ]
465
+ }
466
+ }
467
+ }
468
+ }
469
+ ],
470
+ "sequence": [
471
+ "basics"
472
+ ],
473
+ "edges": [],
474
+ "inputs": [
475
+ {
476
+ "id": "p-customerId",
477
+ "name": "customerId",
478
+ "type": "string",
479
+ "required": false,
480
+ "defaultValue": "different-default"
481
+ },
482
+ {
483
+ "name": "arbitraryDeclaredInput",
484
+ "type": "string",
485
+ "defaultValue": "declared-example",
486
+ "id": "input-arbitraryDeclaredInput",
487
+ "required": false
488
+ },
489
+ {
490
+ "name": "n",
491
+ "type": "number",
492
+ "defaultValue": 259,
493
+ "id": "input-n",
494
+ "required": false
495
+ },
496
+ {
497
+ "name": "b",
498
+ "type": "boolean",
499
+ "defaultValue": true,
500
+ "id": "input-b",
501
+ "required": false
502
+ },
503
+ {
504
+ "name": "s",
505
+ "type": "string",
506
+ "defaultValue": "default",
507
+ "id": "input-s",
508
+ "required": false
509
+ },
510
+ {
511
+ "name": "payload",
512
+ "type": "json",
513
+ "defaultValue": {
514
+ "id": 7,
515
+ "items": [
516
+ 1,
517
+ 2,
518
+ 3
519
+ ]
520
+ },
521
+ "id": "input-payload",
522
+ "required": false
523
+ },
524
+ {
525
+ "name": "comment",
526
+ "type": "json",
527
+ "id": "input-comment",
528
+ "required": false
529
+ }
530
+ ],
531
+ "outputs": [],
532
+ "variables": [],
533
+ "description": "HTTP evidence only. Structured bindings are inspectable/runnable; structural edits are restricted until reconciliation exists."
534
+ }
535
+ ],
536
+ "flowReferences": [
537
+ {
538
+ "source": "project",
539
+ "flowId": "regression-core"
540
+ },
541
+ {
542
+ "source": "project",
543
+ "flowId": "conflicting-flow"
544
+ }
545
+ ],
546
+ "variables": []
547
+ }
548
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "schemaVersion": 10,
3
+ "project": {
4
+ "id": "script-gap",
5
+ "name": "Script execution regression",
6
+ "actions": [],
7
+ "operations": [],
8
+ "variables": [],
9
+ "flows": [
10
+ {
11
+ "id": "script-gap",
12
+ "name": "Script execution regression",
13
+ "nodes": [
14
+ {
15
+ "id": "compute",
16
+ "type": "action",
17
+ "clientId": "project",
18
+ "actionId": "compute-script",
19
+ "label": "Compute 42 from script",
20
+ "position": {
21
+ "x": 0,
22
+ "y": 0
23
+ },
24
+ "inputs": {},
25
+ "actionDefinition": {
26
+ "id": "compute-script",
27
+ "name": "Compute 42",
28
+ "type": "script",
29
+ "inputs": [],
30
+ "outputs": [
31
+ {
32
+ "id": "p-computed",
33
+ "name": "computed",
34
+ "type": "number",
35
+ "required": false
36
+ }
37
+ ],
38
+ "script": "function run(args) { return { computed: 42 }; }"
39
+ }
40
+ }
41
+ ],
42
+ "sequence": [
43
+ "compute"
44
+ ],
45
+ "edges": [],
46
+ "inputs": [],
47
+ "outputs": [],
48
+ "variables": []
49
+ }
50
+ ],
51
+ "flowReferences": [
52
+ {
53
+ "source": "project",
54
+ "flowId": "script-gap"
55
+ }
56
+ ]
57
+ }
58
+ }