@fjall/deploy-core 8.0.0 → 10.1.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 (34) hide show
  1. package/dist/.build-source-hash +31 -26
  2. package/dist/.minified +1 -1
  3. package/dist/src/index.d.ts +5 -2
  4. package/dist/src/index.js +1 -1
  5. package/dist/src/orchestration/application/applicationDeploy.js +1 -1
  6. package/dist/src/orchestration/application/applicationDeployHelpers.js +3 -3
  7. package/dist/src/orchestration/application/deploySessionPolicy.js +1 -1
  8. package/dist/src/orchestration/application/ecsDeploymentTail.d.ts +48 -0
  9. package/dist/src/orchestration/application/ecsDeploymentTail.js +3 -0
  10. package/dist/src/orchestration/application/schemaGateImage.d.ts +32 -0
  11. package/dist/src/orchestration/application/schemaGateImage.js +1 -0
  12. package/dist/src/orchestration/deploy.js +1 -1
  13. package/dist/src/orchestration/failure/classifyFailure.d.ts +58 -0
  14. package/dist/src/orchestration/failure/classifyFailure.js +1 -0
  15. package/dist/src/orchestration/failure/deploymentFailureAttachment.d.ts +18 -0
  16. package/dist/src/orchestration/failure/deploymentFailureAttachment.js +1 -0
  17. package/dist/src/orchestration/index.d.ts +2 -2
  18. package/dist/src/orchestration/index.js +1 -1
  19. package/dist/src/orchestration/organisation/reconcileProviderAccounts.js +1 -1
  20. package/dist/src/orchestration/restart/restartApplication.d.ts +34 -0
  21. package/dist/src/orchestration/restart/restartApplication.js +1 -1
  22. package/dist/src/orchestration/stackCleanup/insightsLogGroups.d.ts +48 -0
  23. package/dist/src/orchestration/stackCleanup/insightsLogGroups.js +1 -0
  24. package/dist/src/orchestration/stackCleanup.d.ts +1 -0
  25. package/dist/src/orchestration/stackCleanup.js +1 -1
  26. package/dist/src/services/application/ApplicationStackService.js +1 -1
  27. package/dist/src/services/infrastructure/EcsService.d.ts +35 -0
  28. package/dist/src/services/infrastructure/EcsService.js +1 -1
  29. package/dist/src/types/callbackKeys.d.ts +1 -1
  30. package/dist/src/types/callbackKeys.js +1 -1
  31. package/dist/src/types/callbacks.d.ts +11 -0
  32. package/dist/src/types/config/FjallState.js +1 -1
  33. package/dist/src/types/events.d.ts +15 -0
  34. package/package.json +5 -4
@@ -73,6 +73,21 @@ export interface ECSCompleteEvent {
73
73
  reason?: string;
74
74
  finalRunningCount?: number;
75
75
  finalDesiredCount?: number;
76
+ /**
77
+ * Structured forensics for the failure classifier (mirrors how
78
+ * MigrationsCompleteEvent keeps exitCode alongside reason — the prose
79
+ * `reason` alone destroys stopCode/rolloutState for downstream consumers).
80
+ */
81
+ /** Rollout state of the supervised deployment when monitoring ended ("FAILED" = circuit breaker verdict). */
82
+ rolloutState?: string;
83
+ /** True when ECS replaced the in-flight deployment before it completed. */
84
+ replaced?: boolean;
85
+ /** Distinct tasks from the new revision that stopped during the rollout. */
86
+ stoppedTaskCount?: number;
87
+ /** ECS stopCode of the most recent stopped task (e.g. "TaskFailedToStart"). */
88
+ stopCode?: string;
89
+ /** stoppedReason of the most recent stopped task, masked at emit. */
90
+ stoppedReason?: string;
76
91
  }
77
92
  export interface MigrationsStartEvent {
78
93
  family: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fjall/deploy-core",
3
- "version": "8.0.0",
3
+ "version": "10.1.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/fjall-tech/fjall.git",
@@ -77,6 +77,7 @@
77
77
  "@aws-sdk/client-backup": "^3.1098.0",
78
78
  "@aws-sdk/client-cloudformation": "^3.1098.0",
79
79
  "@aws-sdk/client-cloudtrail": "^3.1098.0",
80
+ "@aws-sdk/client-cloudwatch-logs": "^3.1098.0",
80
81
  "@aws-sdk/client-cost-explorer": "^3.1098.0",
81
82
  "@aws-sdk/client-dynamodb": "^3.1098.0",
82
83
  "@aws-sdk/client-ec2": "^3.1098.0",
@@ -95,15 +96,15 @@
95
96
  "@aws-sdk/client-ssm": "^3.1098.0",
96
97
  "@aws-sdk/client-sso-admin": "^3.1098.0",
97
98
  "@aws-sdk/client-sts": "^3.1098.0",
98
- "@fjall/generator": "^8.0.0",
99
- "@fjall/util": "^8.0.0",
99
+ "@fjall/generator": "^10.1.1",
100
+ "@fjall/util": "^10.1.1",
100
101
  "@smithy/node-http-handler": "^4.9.13",
101
102
  "aws-cdk": "^2.1134.0",
102
103
  "tsx": "^4.23.1",
103
104
  "zod": "^4.4.3"
104
105
  },
105
106
  "peerDependencies": {
106
- "@fjall/components-infrastructure": ">=8.0.0 <9.0.0"
107
+ "@fjall/components-infrastructure": ">=10.0.0 <11.0.0"
107
108
  },
108
109
  "peerDependenciesMeta": {
109
110
  "@fjall/components-infrastructure": {