@codedrifters/configulator 0.0.442 → 0.0.444

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/lib/index.mjs CHANGED
@@ -34430,7 +34430,7 @@ var VERSION = {
34430
34430
  *
34431
34431
  * CLI and lib are versioned separately, so this is the CLI version.
34432
34432
  */
34433
- AWS_CDK_CLI_VERSION: "2.1135.1",
34433
+ AWS_CDK_CLI_VERSION: "2.1136.0",
34434
34434
  /**
34435
34435
  * CDK Version to use for construct projects.
34436
34436
  *
@@ -42643,6 +42643,28 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component25 {
42643
42643
  target.region
42644
42644
  ].join("-");
42645
42645
  };
42646
+ /**
42647
+ * Build a diff job's `concurrency` setting from its job name.
42648
+ *
42649
+ * Always the object form, unlike {@link buildDeployConcurrency}: a diff job
42650
+ * has no legacy bare-string shape to stay byte-identical with, and
42651
+ * `cancel-in-progress` is load-bearing enough here to spell out. It must
42652
+ * stay `false` — a superseded diff cancelled mid-`CreateChangeSet`
42653
+ * leaves the fixed-name change set occupied for whichever run comes next,
42654
+ * which is the failure the group exists to prevent.
42655
+ *
42656
+ * Carries the branch under
42657
+ * {@link DeployWorkflowOptions.branchScopedConcurrency} for the same reason
42658
+ * the deploy group does: when stack names are derived from the branch, two
42659
+ * branches diff separate stacks and therefore separate change sets, so one
42660
+ * repo-wide lock across all of them would queue for nothing.
42661
+ */
42662
+ this.buildDiffConcurrency = (diffJobName) => {
42663
+ return {
42664
+ group: this.branchScopedConcurrency ? `${diffJobName}-${BRANCH_NAME_EXPRESSION}` : diffJobName,
42665
+ "cancel-in-progress": false
42666
+ };
42667
+ };
42646
42668
  /**
42647
42669
  * Build the slug that makes a target unique among every target in the plan
42648
42670
  * workflow, across every deploy component feeding it.
@@ -43275,6 +43297,7 @@ var AwsDeployWorkflow = class _AwsDeployWorkflow extends Component25 {
43275
43297
  contents: JobPermission7.READ,
43276
43298
  idToken: JobPermission7.WRITE
43277
43299
  },
43300
+ concurrency: this.buildDiffConcurrency(diffJobName),
43278
43301
  if: jobCondition,
43279
43302
  steps: [...this.diffSteps(target)]
43280
43303
  });