@fluidgrids/workflows 2026.1028.2 → 2026.1030.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.
- package/README.md +181 -11
- package/dist/{activation-BBh1p82z.d.cts → activation-DqUfpHzk.d.cts} +1 -1
- package/dist/{activation-DnhG7SmF.d.ts → activation-xpx1oWuo.d.ts} +1 -1
- package/dist/{chunk-VRHHBPT6.js → chunk-2D3MYIIF.js} +1212 -128
- package/dist/chunk-3U2NU7YC.cjs +124 -0
- package/dist/{chunk-NEIUQASE.cjs → chunk-4QKB4ARC.cjs} +3 -3
- package/dist/{chunk-GBQ33SIZ.cjs → chunk-54FLQNUM.cjs} +12 -1
- package/dist/chunk-5HIVIV53.js +330 -0
- package/dist/chunk-5MFVJM76.js +1222 -0
- package/dist/{chunk-JD2VQIDZ.cjs → chunk-672KMMBK.cjs} +2 -2
- package/dist/{chunk-C5OLWZ42.js → chunk-6A2FGSUS.js} +22 -14
- package/dist/{chunk-XKJA7KX3.js → chunk-6OLN6BMB.js} +52 -3
- package/dist/{chunk-6FSHT5IL.js → chunk-7EZIANC7.js} +1 -1
- package/dist/{chunk-2J6TF7YI.cjs → chunk-A5SXCA62.cjs} +10 -3
- package/dist/{chunk-BO6OVILK.js → chunk-AC6ZEXVR.js} +10 -4
- package/dist/{chunk-ABFZWYHT.js → chunk-AE5Q6ZAJ.js} +315 -50
- package/dist/chunk-C4F5KJTI.js +293 -0
- package/dist/{chunk-IISBRUWJ.js → chunk-G5H32GIG.js} +1 -1
- package/dist/chunk-GEQDGUGB.cjs +2719 -0
- package/dist/{chunk-XHXIDVEC.js → chunk-HCM7ZC7Q.js} +1 -1
- package/dist/chunk-HMZUGSMU.cjs +1554 -0
- package/dist/{chunk-SAOBPYYJ.cjs → chunk-IQPXHQQQ.cjs} +8 -4
- package/dist/{chunk-P6TA5EZT.cjs → chunk-ISOIA7NV.cjs} +335 -58
- package/dist/chunk-JSC75O5C.cjs +167 -0
- package/dist/chunk-M272AHEX.js +25 -0
- package/dist/{chunk-BD7ZPG53.js → chunk-NWQ5WRLE.js} +10 -2
- package/dist/chunk-ODZ2IAR2.cjs +1247 -0
- package/dist/chunk-Q4MWQNJK.cjs +28 -0
- package/dist/{chunk-HWJZVOG7.js → chunk-SR7TR5KX.js} +6 -2
- package/dist/{chunk-FEW3JBYA.cjs → chunk-TCTE7DX5.cjs} +3 -3
- package/dist/{chunk-623FVQSN.cjs → chunk-TYF56RGB.cjs} +123 -0
- package/dist/chunk-VA4OFR72.cjs +324 -0
- package/dist/chunk-VU5S5A7V.js +150 -0
- package/dist/chunk-YEHR4NNE.js +1522 -0
- package/dist/{chunk-FMSW2HDF.cjs → chunk-ZCGKGDCL.cjs} +23 -15
- package/dist/codegen/index.d.cts +2 -2
- package/dist/codegen/index.d.ts +2 -2
- package/dist/collect-6NIEufHd.d.ts +103 -0
- package/dist/collect-CcTCKqx6.d.cts +103 -0
- package/dist/{file-BOoHZgoQ.d.cts → file-BxYpwjRQ.d.cts} +1007 -21
- package/dist/{file-yuPCFU5b.d.ts → file-CFdPQJI9.d.ts} +1007 -21
- package/dist/history/index.cjs +375 -86
- package/dist/history/index.d.cts +590 -12
- package/dist/history/index.d.ts +590 -12
- package/dist/history/index.js +50 -4
- package/dist/index.cjs +156 -50
- package/dist/index.d.cts +38 -58
- package/dist/index.d.ts +38 -58
- package/dist/index.js +6 -4
- package/dist/interceptors-CNcr2dlk.d.ts +159 -0
- package/dist/interceptors-CqkNZVfI.d.cts +159 -0
- package/dist/ir/index.cjs +362 -38
- package/dist/ir/index.d.cts +282 -7
- package/dist/ir/index.d.ts +282 -7
- package/dist/ir/index.js +329 -23
- package/dist/{lower-BzmUz0sq.d.cts → lower-BtRfIW2A.d.cts} +56 -8
- package/dist/{lower-_-iT4HYs.d.ts → lower-CpsMFOFX.d.ts} +56 -8
- package/dist/{manifest-C8N6HDYl.d.ts → manifest-D-I_twys.d.ts} +1 -1
- package/dist/{manifest-0OLw0i7k.d.cts → manifest-DahBQVM8.d.cts} +1 -1
- package/dist/node-evaluator-DGQDPSPI.cjs +24 -0
- package/dist/node-evaluator-LEEVD7H7.js +14 -0
- package/dist/payload-fields-BVRQn2yH.d.cts +122 -0
- package/dist/payload-fields-oOBWxDiG.d.ts +122 -0
- package/dist/quickjs/index.cjs +28 -27
- package/dist/quickjs/index.d.cts +6 -6
- package/dist/quickjs/index.d.ts +6 -6
- package/dist/quickjs/index.js +10 -9
- package/dist/roundtrip/index.cjs +259 -51
- package/dist/roundtrip/index.d.cts +100 -9
- package/dist/roundtrip/index.d.ts +100 -9
- package/dist/roundtrip/index.js +177 -11
- package/dist/runtime/index.cjs +21 -20
- package/dist/runtime/index.d.cts +184 -15
- package/dist/runtime/index.d.ts +184 -15
- package/dist/runtime/index.js +8 -7
- package/dist/testing/index.cjs +1122 -115
- package/dist/testing/index.d.cts +294 -13
- package/dist/testing/index.d.ts +294 -13
- package/dist/testing/index.js +1086 -84
- package/dist/{types-DV-HX_Gt.d.ts → types-Bv2i4cBX.d.cts} +244 -33
- package/dist/{types-CpBBjaGX.d.cts → types-DGx-b9eq.d.ts} +244 -33
- package/dist/{types-BGoPzgcl.d.ts → types-V7jEEUaL.d.cts} +20 -1
- package/dist/{types-BGoPzgcl.d.cts → types-V7jEEUaL.d.ts} +20 -1
- package/dist/{workflow-Bpr3vnA_.d.ts → workflow-B18OeF7g.d.ts} +2 -2
- package/dist/workflow-BGnv8SS6.d.ts +803 -0
- package/dist/{workflow-FXUkpIBc.d.cts → workflow-BJPFv3cp.d.cts} +2 -2
- package/dist/workflow-DS32Gtws.d.cts +803 -0
- package/fixtures/histories/activity-options-updated.history.json +159 -0
- package/fixtures/histories/activity-paused-unpaused.history.json +160 -0
- package/fixtures/histories/auto-upgrade-patched.history.json +276 -0
- package/fixtures/histories/benign-failure.history.json +146 -0
- package/fixtures/histories/cancel-activity-try-cancel.history.json +150 -0
- package/fixtures/histories/child-cancel-wait-requested.history.json +217 -0
- package/fixtures/histories/child-options-roundtrip.history.json +192 -0
- package/fixtures/histories/codec-opaque.history.json +229 -0
- package/fixtures/histories/continue-as-new-last-result.history.json +86 -0
- package/fixtures/histories/continue-as-new-options.history.json +99 -0
- package/fixtures/histories/continue-as-new-r1-long-task-queue.history.json +78 -0
- package/fixtures/histories/continue-as-new-r1-retry-options.history.json +83 -0
- package/fixtures/histories/dynamic-workflow.history.json +150 -0
- package/fixtures/histories/execution-timeout-chain.history.json +98 -0
- package/fixtures/histories/external-cancel-resolved.history.json +123 -0
- package/fixtures/histories/external-cancel-unknown-target.history.json +127 -0
- package/fixtures/histories/failure-error-types-fails-run.history.json +144 -0
- package/fixtures/histories/handler-drain-warn.history.json +222 -0
- package/fixtures/histories/heartbeat-details-on-retry.history.json +145 -0
- package/fixtures/histories/interceptor-headers.history.json +339 -0
- package/fixtures/histories/local-activity-abandoned-at-completion.history.json +73 -0
- package/fixtures/histories/local-activity-cancelled-in-scope.history.json +118 -0
- package/fixtures/histories/local-activity-completed.history.json +157 -0
- package/fixtures/histories/local-activity-failed.history.json +93 -0
- package/fixtures/histories/local-activity-retry-in-task.history.json +88 -0
- package/fixtures/histories/query-custom.history.json +213 -0
- package/fixtures/histories/query-default-handler.history.json +120 -0
- package/fixtures/histories/reset-forked-reapplied-signals.history.json +239 -0
- package/fixtures/histories/reset-reapplied-update-admitted.history.json +228 -0
- package/fixtures/histories/run-retry-last-failure.history.json +90 -0
- package/fixtures/histories/run-timeout.history.json +159 -0
- package/fixtures/histories/schedule-to-start-timeout.history.json +132 -0
- package/fixtures/histories/search-attributes-upserted.history.json +177 -0
- package/fixtures/histories/start-delay-signal-ends-delay.history.json +155 -0
- package/fixtures/histories/typeerror-task-retry-100.history.json +137 -0
- package/fixtures/histories/update-accepted-completed.history.json +45 -30
- package/fixtures/histories/update-default-handler.history.json +246 -0
- package/fixtures/histories/update-handler-awaits-activity.history.json +196 -0
- package/fixtures/histories/update-not-handled.history.json +138 -0
- package/fixtures/histories/update-rejected-no-event.history.json +190 -0
- package/fixtures/histories/update-with-start-admitted.history.json +150 -0
- package/fixtures/histories/user-activity-cancel.history.json +149 -0
- package/fixtures/histories/user-activity-retry.history.json +143 -0
- package/fixtures/histories/user-activity.history.json +149 -0
- package/package.json +1 -1
- package/schema/bridge-v2.schema.json +1062 -0
- package/schema/history-file.schema.json +538 -83
- package/schema/ir-v2.schema.json +290 -0
- package/schema/payload-fields.json +162 -0
- package/schema/run-event.schema.json +503 -82
- package/schema/workflow-command.schema.json +372 -69
- package/schema/workflow-task.schema.json +924 -171
- package/dist/assemble-BLqQ8lSu.d.cts +0 -39
- package/dist/assemble-DWgaXHd-.d.ts +0 -39
- package/dist/chunk-DHTLALBL.cjs +0 -80
- package/dist/chunk-DJYMDLV5.js +0 -227
- package/dist/chunk-I5LR3D2K.js +0 -869
- package/dist/chunk-M4BBAERY.cjs +0 -1635
- package/dist/chunk-N23SKIG4.js +0 -73
- package/dist/chunk-PZCVF76Q.cjs +0 -868
- package/dist/chunk-QQ6ULXHI.cjs +0 -885
- package/dist/chunk-UK3WM7YZ.cjs +0 -75
- package/dist/chunk-VOKMAAJP.js +0 -848
- package/dist/node-evaluator-4MSDKWOG.cjs +0 -22
- package/dist/node-evaluator-SX4LEYQC.js +0 -12
- package/dist/workflow-C2a05WUJ.d.ts +0 -444
- package/dist/workflow-J-yYixny.d.cts +0 -444
package/schema/ir-v2.schema.json
CHANGED
|
@@ -387,6 +387,251 @@
|
|
|
387
387
|
}
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"if": {
|
|
393
|
+
"properties": {
|
|
394
|
+
"type": {
|
|
395
|
+
"const": "internal:signal-run"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
"required": [
|
|
399
|
+
"type"
|
|
400
|
+
]
|
|
401
|
+
},
|
|
402
|
+
"then": {
|
|
403
|
+
"description": "Phase C (fluidgrids.run-control): signal another run of the workspace (05 §4). A retried node delivers once (dedupe key signal-node:<nodeStateId>:<attempt>).",
|
|
404
|
+
"required": [
|
|
405
|
+
"args"
|
|
406
|
+
],
|
|
407
|
+
"properties": {
|
|
408
|
+
"args": {
|
|
409
|
+
"required": [
|
|
410
|
+
"state"
|
|
411
|
+
],
|
|
412
|
+
"properties": {
|
|
413
|
+
"state": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"required": [
|
|
416
|
+
"signalName",
|
|
417
|
+
"target"
|
|
418
|
+
],
|
|
419
|
+
"properties": {
|
|
420
|
+
"signalName": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"minLength": 1
|
|
423
|
+
},
|
|
424
|
+
"target": {
|
|
425
|
+
"description": "The run to signal: { runId }, { workflowKey, workflowId, firstRunId? } (the open run of that workflow id) or { parent: true }. Values may be expressions.",
|
|
426
|
+
"oneOf": [
|
|
427
|
+
{
|
|
428
|
+
"type": "object",
|
|
429
|
+
"required": [
|
|
430
|
+
"runId"
|
|
431
|
+
],
|
|
432
|
+
"properties": {
|
|
433
|
+
"runId": {
|
|
434
|
+
"type": "string",
|
|
435
|
+
"minLength": 1
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
"additionalProperties": false
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"type": "object",
|
|
442
|
+
"required": [
|
|
443
|
+
"workflowKey",
|
|
444
|
+
"workflowId"
|
|
445
|
+
],
|
|
446
|
+
"properties": {
|
|
447
|
+
"workflowKey": {
|
|
448
|
+
"type": "string",
|
|
449
|
+
"minLength": 1
|
|
450
|
+
},
|
|
451
|
+
"workflowId": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"minLength": 1
|
|
454
|
+
},
|
|
455
|
+
"firstRunId": {
|
|
456
|
+
"type": "string",
|
|
457
|
+
"minLength": 1
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"additionalProperties": false
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"type": "object",
|
|
464
|
+
"required": [
|
|
465
|
+
"parent"
|
|
466
|
+
],
|
|
467
|
+
"properties": {
|
|
468
|
+
"parent": {
|
|
469
|
+
"const": true
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
"additionalProperties": false
|
|
473
|
+
}
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
"payload": {},
|
|
477
|
+
"failOnUndelivered": {
|
|
478
|
+
"type": "boolean",
|
|
479
|
+
"description": "Default true: an undelivered signal fails the node."
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"if": {
|
|
490
|
+
"properties": {
|
|
491
|
+
"type": {
|
|
492
|
+
"const": "internal:set-search-attributes"
|
|
493
|
+
}
|
|
494
|
+
},
|
|
495
|
+
"required": [
|
|
496
|
+
"type"
|
|
497
|
+
]
|
|
498
|
+
},
|
|
499
|
+
"then": {
|
|
500
|
+
"description": "Phase C (fluidgrids.search-attributes): upsert the run search attributes (11 §2.8); a null value removes one. Values may be expressions; the service validates them against the workspace definitions.",
|
|
501
|
+
"required": [
|
|
502
|
+
"args"
|
|
503
|
+
],
|
|
504
|
+
"properties": {
|
|
505
|
+
"args": {
|
|
506
|
+
"required": [
|
|
507
|
+
"state"
|
|
508
|
+
],
|
|
509
|
+
"properties": {
|
|
510
|
+
"state": {
|
|
511
|
+
"type": "object",
|
|
512
|
+
"required": [
|
|
513
|
+
"attributes"
|
|
514
|
+
],
|
|
515
|
+
"properties": {
|
|
516
|
+
"attributes": {
|
|
517
|
+
"type": "object",
|
|
518
|
+
"minProperties": 1
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
"if": {
|
|
529
|
+
"properties": {
|
|
530
|
+
"type": {
|
|
531
|
+
"const": "internal:schedule"
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
"required": [
|
|
535
|
+
"type"
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
"then": {
|
|
539
|
+
"properties": {
|
|
540
|
+
"args": {
|
|
541
|
+
"properties": {
|
|
542
|
+
"state": {
|
|
543
|
+
"description": "Phase C schedule policies (11 §2.16, §2.33; fluidgrids.schedule-policies). Every field is optional; a trigger without overlapPolicy keeps the ALLOW_ALL behaviour of earlier versions.",
|
|
544
|
+
"properties": {
|
|
545
|
+
"overlapPolicy": {
|
|
546
|
+
"enum": [
|
|
547
|
+
"SKIP",
|
|
548
|
+
"BUFFER_ONE",
|
|
549
|
+
"BUFFER_ALL",
|
|
550
|
+
"CANCEL_OTHER",
|
|
551
|
+
"TERMINATE_OTHER",
|
|
552
|
+
"ALLOW_ALL"
|
|
553
|
+
]
|
|
554
|
+
},
|
|
555
|
+
"catchupWindow": {
|
|
556
|
+
"oneOf": [
|
|
557
|
+
{
|
|
558
|
+
"type": "number",
|
|
559
|
+
"minimum": 0
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"type": "string",
|
|
563
|
+
"minLength": 1
|
|
564
|
+
}
|
|
565
|
+
]
|
|
566
|
+
},
|
|
567
|
+
"pauseOnFailure": {
|
|
568
|
+
"type": "boolean"
|
|
569
|
+
},
|
|
570
|
+
"limitedActions": {
|
|
571
|
+
"type": "integer",
|
|
572
|
+
"minimum": 1
|
|
573
|
+
},
|
|
574
|
+
"scheduleContext": {
|
|
575
|
+
"type": "object"
|
|
576
|
+
},
|
|
577
|
+
"scheduleSearchAttributes": {
|
|
578
|
+
"type": "object"
|
|
579
|
+
},
|
|
580
|
+
"spec": {
|
|
581
|
+
"description": "One of cron, calendar or interval, plus excludeCalendars (calendar entries whose matches are skipped), startAt, endAt (ISO 8601), timezone and jitter.",
|
|
582
|
+
"properties": {
|
|
583
|
+
"cron": {
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
586
|
+
"calendar": {
|
|
587
|
+
"type": "array",
|
|
588
|
+
"items": {
|
|
589
|
+
"type": "object"
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
"interval": {
|
|
593
|
+
"type": "array",
|
|
594
|
+
"items": {
|
|
595
|
+
"type": "object"
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"excludeCalendars": {
|
|
599
|
+
"type": "array",
|
|
600
|
+
"items": {
|
|
601
|
+
"type": "object"
|
|
602
|
+
}
|
|
603
|
+
},
|
|
604
|
+
"startAt": {
|
|
605
|
+
"type": "string",
|
|
606
|
+
"minLength": 1
|
|
607
|
+
},
|
|
608
|
+
"endAt": {
|
|
609
|
+
"type": "string",
|
|
610
|
+
"minLength": 1
|
|
611
|
+
},
|
|
612
|
+
"timezone": {
|
|
613
|
+
"type": "string"
|
|
614
|
+
},
|
|
615
|
+
"jitter": {
|
|
616
|
+
"oneOf": [
|
|
617
|
+
{
|
|
618
|
+
"type": "number",
|
|
619
|
+
"minimum": 0
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"type": "string",
|
|
623
|
+
"minLength": 1
|
|
624
|
+
}
|
|
625
|
+
]
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
}
|
|
390
635
|
}
|
|
391
636
|
]
|
|
392
637
|
},
|
|
@@ -463,6 +708,38 @@
|
|
|
463
708
|
"PINNED",
|
|
464
709
|
"AUTO_UPGRADE"
|
|
465
710
|
]
|
|
711
|
+
},
|
|
712
|
+
"retry": {
|
|
713
|
+
"type": "object",
|
|
714
|
+
"description": "Run-level retry of DURABLE_FN runs (11 §2.17); delays are seconds or duration strings. Graph runs keep their own meaning of retry.",
|
|
715
|
+
"properties": {
|
|
716
|
+
"maxAttempts": {
|
|
717
|
+
"type": "integer",
|
|
718
|
+
"minimum": 1
|
|
719
|
+
},
|
|
720
|
+
"initialDelay": {
|
|
721
|
+
"type": [
|
|
722
|
+
"number",
|
|
723
|
+
"string"
|
|
724
|
+
]
|
|
725
|
+
},
|
|
726
|
+
"backoffMultiplier": {
|
|
727
|
+
"type": "number",
|
|
728
|
+
"minimum": 1
|
|
729
|
+
},
|
|
730
|
+
"maxDelay": {
|
|
731
|
+
"type": [
|
|
732
|
+
"number",
|
|
733
|
+
"string"
|
|
734
|
+
]
|
|
735
|
+
},
|
|
736
|
+
"nonRetryableErrorTypes": {
|
|
737
|
+
"type": "array",
|
|
738
|
+
"items": {
|
|
739
|
+
"type": "string"
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
}
|
|
466
743
|
}
|
|
467
744
|
}
|
|
468
745
|
},
|
|
@@ -588,6 +865,10 @@
|
|
|
588
865
|
},
|
|
589
866
|
"taskQueue": {
|
|
590
867
|
"type": "string"
|
|
868
|
+
},
|
|
869
|
+
"config": {
|
|
870
|
+
"$ref": "#/$defs/config",
|
|
871
|
+
"description": "R2: the run-level settings of this function's workflow() declaration (retry, timeout, executionTimeout, workflowTaskTimeout, versioningBehavior). The service resolves run options per workflowFn from this table, never from the definition-level config, so a same-bundle child started on its parent's definition gets its own settings. Absent: the function declares none."
|
|
591
872
|
}
|
|
592
873
|
}
|
|
593
874
|
}
|
|
@@ -616,6 +897,15 @@
|
|
|
616
897
|
"isolate",
|
|
617
898
|
"worker"
|
|
618
899
|
]
|
|
900
|
+
},
|
|
901
|
+
"features": {
|
|
902
|
+
"type": "array",
|
|
903
|
+
"items": {
|
|
904
|
+
"type": "string",
|
|
905
|
+
"minLength": 1
|
|
906
|
+
},
|
|
907
|
+
"uniqueItems": true,
|
|
908
|
+
"description": "Runtime features the bundle uses (C-FEATURES): localActivity, externalCancel, childOptions, canOptions, autoUpgrade, runRetry, timeouts (SDK R2); userActivity, updates, queries, searchAttributes, dynamic and interceptors (Phase C, C-R1). A bundle without the field was built before R2 and uses none."
|
|
619
909
|
}
|
|
620
910
|
}
|
|
621
911
|
},
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": "fluidgrids.payload-fields",
|
|
3
|
+
"formatVersion": 2,
|
|
4
|
+
"description": "JSON pointers of user payloads per event type (relative to the payload) and per command type (relative to the command). `events` and `commands` are plain payload pointers. `eventFailures` and `commandFailures` point at failure objects: the payloads of a failure are the `failure.payloads` pointers relative to it, and the same rule applies again to the failure at `failure.cause` (recursively, to the end of the cause chain). Payload codecs and the at-rest envelope apply to these pointers only; everything else stays in clear text. A value that is not plain JSON is carried as {\"$fgp\": 1, \"encoding\", \"metadata\"?, \"data\" (base64)}.",
|
|
5
|
+
"encodedMarker": "$fgp",
|
|
6
|
+
"encodedVersion": 1,
|
|
7
|
+
"encodings": [
|
|
8
|
+
"json/plain",
|
|
9
|
+
"binary/plain",
|
|
10
|
+
"binary/encrypted",
|
|
11
|
+
"kms/envelope"
|
|
12
|
+
],
|
|
13
|
+
"events": {
|
|
14
|
+
"WORKFLOW_STARTED": [
|
|
15
|
+
"/input",
|
|
16
|
+
"/lastCompletionResult",
|
|
17
|
+
"/context"
|
|
18
|
+
],
|
|
19
|
+
"ACTIVITY_SCHEDULED": [
|
|
20
|
+
"/args"
|
|
21
|
+
],
|
|
22
|
+
"ACTIVITY_HEARTBEAT": [
|
|
23
|
+
"/details"
|
|
24
|
+
],
|
|
25
|
+
"ACTIVITY_COMPLETED": [
|
|
26
|
+
"/result"
|
|
27
|
+
],
|
|
28
|
+
"ACTIVITY_CANCELLED": [
|
|
29
|
+
"/details"
|
|
30
|
+
],
|
|
31
|
+
"SIGNAL_RECEIVED": [
|
|
32
|
+
"/payload"
|
|
33
|
+
],
|
|
34
|
+
"UPDATE_ADMITTED": [
|
|
35
|
+
"/args"
|
|
36
|
+
],
|
|
37
|
+
"UPDATE_ACCEPTED": [
|
|
38
|
+
"/args"
|
|
39
|
+
],
|
|
40
|
+
"UPDATE_COMPLETED": [
|
|
41
|
+
"/result"
|
|
42
|
+
],
|
|
43
|
+
"CHILD_RUN_INITIATED": [
|
|
44
|
+
"/input",
|
|
45
|
+
"/options/context"
|
|
46
|
+
],
|
|
47
|
+
"CHILD_RUN_COMPLETED": [
|
|
48
|
+
"/result"
|
|
49
|
+
],
|
|
50
|
+
"EXTERNAL_RUN_SIGNALED": [
|
|
51
|
+
"/payload"
|
|
52
|
+
],
|
|
53
|
+
"SIDE_EFFECT_RECORDED": [
|
|
54
|
+
"/value"
|
|
55
|
+
],
|
|
56
|
+
"LOCAL_ACTIVITY_COMPLETED": [
|
|
57
|
+
"/result"
|
|
58
|
+
],
|
|
59
|
+
"CONTEXT_UPSERTED": [
|
|
60
|
+
"/entries"
|
|
61
|
+
],
|
|
62
|
+
"MARKER_RECORDED": [
|
|
63
|
+
"/data/currentDetails"
|
|
64
|
+
],
|
|
65
|
+
"WORKFLOW_COMPLETED": [
|
|
66
|
+
"/output"
|
|
67
|
+
],
|
|
68
|
+
"WORKFLOW_CANCELLED": [
|
|
69
|
+
"/details"
|
|
70
|
+
],
|
|
71
|
+
"WORKFLOW_CONTINUED_AS_NEW": [
|
|
72
|
+
"/input",
|
|
73
|
+
"/options/context"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"commands": {
|
|
77
|
+
"SCHEDULE_ACTIVITY": [
|
|
78
|
+
"/args"
|
|
79
|
+
],
|
|
80
|
+
"START_CHILD_RUN": [
|
|
81
|
+
"/input",
|
|
82
|
+
"/options/context"
|
|
83
|
+
],
|
|
84
|
+
"SIGNAL_RUN": [
|
|
85
|
+
"/payload"
|
|
86
|
+
],
|
|
87
|
+
"RECORD_SIDE_EFFECT": [
|
|
88
|
+
"/value"
|
|
89
|
+
],
|
|
90
|
+
"RECORD_MARKER": [
|
|
91
|
+
"/data/currentDetails"
|
|
92
|
+
],
|
|
93
|
+
"COMPLETE_WORKFLOW": [
|
|
94
|
+
"/output"
|
|
95
|
+
],
|
|
96
|
+
"UPSERT_CONTEXT": [
|
|
97
|
+
"/entries"
|
|
98
|
+
],
|
|
99
|
+
"RECORD_LOCAL_ACTIVITY": [
|
|
100
|
+
"/result"
|
|
101
|
+
],
|
|
102
|
+
"CONTINUE_AS_NEW": [
|
|
103
|
+
"/input",
|
|
104
|
+
"/options/context"
|
|
105
|
+
],
|
|
106
|
+
"COMPLETE_UPDATE": [
|
|
107
|
+
"/result"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"eventFailures": {
|
|
111
|
+
"WORKFLOW_STARTED": [
|
|
112
|
+
"/lastFailure"
|
|
113
|
+
],
|
|
114
|
+
"ACTIVITY_FAILED": [
|
|
115
|
+
"/failure"
|
|
116
|
+
],
|
|
117
|
+
"ACTIVITY_TIMED_OUT": [
|
|
118
|
+
"/failure"
|
|
119
|
+
],
|
|
120
|
+
"UPDATE_COMPLETED": [
|
|
121
|
+
"/failure"
|
|
122
|
+
],
|
|
123
|
+
"CHILD_RUN_FAILED": [
|
|
124
|
+
"/failure"
|
|
125
|
+
],
|
|
126
|
+
"EXTERNAL_RUN_SIGNALED": [
|
|
127
|
+
"/failure"
|
|
128
|
+
],
|
|
129
|
+
"EXTERNAL_RUN_CANCEL_RESOLVED": [
|
|
130
|
+
"/failure"
|
|
131
|
+
],
|
|
132
|
+
"LOCAL_ACTIVITY_FAILED": [
|
|
133
|
+
"/failure"
|
|
134
|
+
],
|
|
135
|
+
"WORKFLOW_FAILED": [
|
|
136
|
+
"/failure"
|
|
137
|
+
],
|
|
138
|
+
"WORKFLOW_TIMED_OUT": [
|
|
139
|
+
"/failure"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
"commandFailures": {
|
|
143
|
+
"FAIL_WORKFLOW": [
|
|
144
|
+
"/failure"
|
|
145
|
+
],
|
|
146
|
+
"RECORD_LOCAL_ACTIVITY": [
|
|
147
|
+
"/failure"
|
|
148
|
+
],
|
|
149
|
+
"REJECT_UPDATE": [
|
|
150
|
+
"/failure"
|
|
151
|
+
],
|
|
152
|
+
"COMPLETE_UPDATE": [
|
|
153
|
+
"/failure"
|
|
154
|
+
]
|
|
155
|
+
},
|
|
156
|
+
"failure": {
|
|
157
|
+
"payloads": [
|
|
158
|
+
"/details"
|
|
159
|
+
],
|
|
160
|
+
"cause": "/cause"
|
|
161
|
+
}
|
|
162
|
+
}
|