You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under BLT 12, the ah_other config split is enabled on all Acquia Hosted environments. Under BLT 11, the ah_other config split was enabled on Acquia Hosted environments that are not dev, stage, or prod.
(We have an sbox environment that is separate from dev, stage, and prod. Under BLT 11, the ah_other split was enabled ONLY on our sbox environment. To get around the issue in BLT 12, I effectively made the ah_split empty.)
This can be tested by creating an ah_other config split on an Acquia hosted site running Drupal 8 and BLT 11; and creating an ah_other config split on an Acquia Hosted site running Drupal 9 and BLT 12. Under BLT 11, the ah_other split WILL NOT BE enabled on dev, stage, and prod. Under BLT 12, the ah_other split WILL BE enabled on dev, stage, and prod.
Behavior under BLT 12 is not consistent with documentation here:
If you look on the left side (before the commit), starting on line 68, and keep in mind our dev environment, you can see that isAhEnv() returns true, so $split is set to 'ah_other'. But on line 72, isDevEnv() returns true, so $split is set to 'dev'. When we get to line 84, the value of $split is 'dev', so only the dev split is enabled.
The name 'ah_other' implies Acquia Hosted environments other than dev, stage, and prod. But in current BLT 12, that's not what it is. It's more like 'ah_all'.
I would suggest the commit above be reverted. I don't think it accomplishes the ask from #4176, although I admit I haven't researched #4176.
The text was updated successfully, but these errors were encountered:
It looks good. The ah_other split is enabled in our 4th environment. (Ours is called sbox.) And it's disabled in our dev environment. We still need to push it up to test/stage and prod, but so far, so good.
Under BLT 12, the ah_other config split is enabled on all Acquia Hosted environments. Under BLT 11, the ah_other config split was enabled on Acquia Hosted environments that are not dev, stage, or prod.
(We have an sbox environment that is separate from dev, stage, and prod. Under BLT 11, the ah_other split was enabled ONLY on our sbox environment. To get around the issue in BLT 12, I effectively made the ah_split empty.)
This can be tested by creating an ah_other config split on an Acquia hosted site running Drupal 8 and BLT 11; and creating an ah_other config split on an Acquia Hosted site running Drupal 9 and BLT 12. Under BLT 11, the ah_other split WILL NOT BE enabled on dev, stage, and prod. Under BLT 12, the ah_other split WILL BE enabled on dev, stage, and prod.
Behavior under BLT 12 is not consistent with documentation here:
https://docs.acquia.com/blt/developer/config-split/
See "Any Acquia environment not listed here".
The logic change occurs in this commit:
affea1d
If you look on the left side (before the commit), starting on line 68, and keep in mind our dev environment, you can see that isAhEnv() returns true, so $split is set to 'ah_other'. But on line 72, isDevEnv() returns true, so $split is set to 'dev'. When we get to line 84, the value of $split is 'dev', so only the dev split is enabled.
On the right side (after the commit), the logic is different, and all splits that "return true" (i know, i'm skipping some steps here https://github.com/acquia/blt/blob/main/src/Robo/Common/EnvironmentDetector.php#L284 ) are enabled. So for my dev environment, isAhEnv() returns true, so the ah_other split is enabled. isDevEnv() returns true, so the dev split is enabled.
The logic has changed.
The name 'ah_other' implies Acquia Hosted environments other than dev, stage, and prod. But in current BLT 12, that's not what it is. It's more like 'ah_all'.
I would suggest the commit above be reverted. I don't think it accomplishes the ask from #4176, although I admit I haven't researched #4176.
The text was updated successfully, but these errors were encountered: