@fishawack/lab-env 5.9.0-beta.4 → 5.9.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,45 @@
1
1
  ## Changelog
2
2
 
3
+ ### 5.9.0 (2026-10-23)
4
+
5
+ #### Features
6
+
7
+ * added force-managed-updates command ([9d4ce48](https://bitbucket.org/fishawackdigital/lab-env/commits/9d4ce4826fc5df0e3a864727f461066bb9a00a3c))
8
+ * server-status command ([791b39e](https://bitbucket.org/fishawackdigital/lab-env/commits/791b39e3b1a6e525d6e8a45769f5313702797ca8))
9
+ * trigger release ([ccf0d09](https://bitbucket.org/fishawackdigital/lab-env/commits/ccf0d0928f94a05fc08ad4924231e527b692f09f))
10
+
11
+ #### Bug Fixes
12
+
13
+ * bumped wordpress to php 8.2 ([b09d093](https://bitbucket.org/fishawackdigital/lab-env/commits/b09d093a316bd52ffb52dfab11410d01a98d8a7a))
14
+ * server-status now resolves from config with branch as fallback ([c3a7c75](https://bitbucket.org/fishawackdigital/lab-env/commits/c3a7c75841f36a7a6c0b3eccce202618c40fa599))
15
+ * updating johnsonjohnson name ([4222697](https://bitbucket.org/fishawackdigital/lab-env/commits/4222697cb3189c470c9dbdf5ba0b2d1de97fa161))
16
+
17
+ #### Build Updates
18
+
19
+ * bumped fishawack/lab-env-drupal-9-php to 0.6.2 ([53165e5](https://bitbucket.org/fishawackdigital/lab-env/commits/53165e515d1863d2b7dd2f7da54505bcb036fced))
20
+ * bumped fishawack/lab-env-laravel-10-php to 1.0.2 ([372caba](https://bitbucket.org/fishawackdigital/lab-env/commits/372cabacc6984946c5a8af5980aab8f3234a9b49))
21
+ * bumped fishawack/lab-env-laravel-9-php to 1.0.4 ([a913f2b](https://bitbucket.org/fishawackdigital/lab-env/commits/a913f2b869058b608c2250c9efe096ceed49e05c))
22
+ * bumped fishawack/lab-env-php-8-2 to 1.0.1 ([9fc732f](https://bitbucket.org/fishawackdigital/lab-env/commits/9fc732fabedd22deca892d18fc2a59fdaf1ef9a7))
23
+ * bumped fishawack/lab-env-wordpress-1-php to 1.1.2 ([c497bb9](https://bitbucket.org/fishawackdigital/lab-env/commits/c497bb9af7e8df714bec40471236224210c48d1f))
24
+
25
+ ### 5.9.0-beta.5 (2026-10-23)
26
+
27
+ #### Features
28
+
29
+ * added force-managed-updates command ([9d4ce48](https://bitbucket.org/fishawackdigital/lab-env/commits/9d4ce4826fc5df0e3a864727f461066bb9a00a3c))
30
+
31
+ #### Bug Fixes
32
+
33
+ * bumped wordpress to php 8.2 ([b09d093](https://bitbucket.org/fishawackdigital/lab-env/commits/b09d093a316bd52ffb52dfab11410d01a98d8a7a))
34
+
35
+ #### Build Updates
36
+
37
+ * bumped fishawack/lab-env-drupal-9-php to 0.6.2 ([53165e5](https://bitbucket.org/fishawackdigital/lab-env/commits/53165e515d1863d2b7dd2f7da54505bcb036fced))
38
+ * bumped fishawack/lab-env-laravel-10-php to 1.0.2 ([372caba](https://bitbucket.org/fishawackdigital/lab-env/commits/372cabacc6984946c5a8af5980aab8f3234a9b49))
39
+ * bumped fishawack/lab-env-laravel-9-php to 1.0.4 ([a913f2b](https://bitbucket.org/fishawackdigital/lab-env/commits/a913f2b869058b608c2250c9efe096ceed49e05c))
40
+ * bumped fishawack/lab-env-php-8-2 to 1.0.1 ([9fc732f](https://bitbucket.org/fishawackdigital/lab-env/commits/9fc732fabedd22deca892d18fc2a59fdaf1ef9a7))
41
+ * bumped fishawack/lab-env-wordpress-1-php to 1.1.2 ([c497bb9](https://bitbucket.org/fishawackdigital/lab-env/commits/c497bb9af7e8df714bec40471236224210c48d1f))
42
+
3
43
  ### 5.9.0-beta.4 (2026-10-08)
4
44
 
5
45
  #### Bug Fixes
package/README.md CHANGED
@@ -63,6 +63,84 @@ choco install git
63
63
 
64
64
  ## Getting started
65
65
 
66
+ ### Applying Managed Platform Updates
67
+
68
+ `fw force-managed-updates` (alias `fw fmu`) scans Elastic Beanstalk environments
69
+ across selected AWS accounts and regions, then presents a checkbox list of
70
+ scheduled managed updates and available patch-only platform updates. Select none to exit, or confirm your selection to
71
+ apply updates one at a time. Instance refreshes are not offered.
72
+
73
+ When no managed platform update is scheduled, the command checks available
74
+ versions in the same supported platform branch. A change such as `4.13.12` to
75
+ `4.13.15` is offered as `[Direct patch]`. Scheduled actions are labelled
76
+ `[Managed update]`. The command compares the
77
+ Elastic Beanstalk platform release version, not the PHP/Python runtime version.
78
+ Minor or major changes (for example `4.14.0` or `5.0.0`) are reported separately
79
+ as higher risk and are not selectable. Branch migrations, retired/deprecated
80
+ branches, prereleases, and downgrades are not offered as direct updates.
81
+
82
+ Direct patches call `UpdateEnvironment` and follow the environment's configured
83
+ configuration-update policy and health settings. Managed updates use AWS's
84
+ managed maintenance workflow, which always uses immutable updates. An immutable
85
+ configuration-update policy provides similar instance replacement protections;
86
+ rolling configuration updates follow the configured batch and health settings.
87
+ The command does not inspect or change these settings, or guarantee compatibility
88
+ or zero downtime.
89
+ Targets are revalidated immediately before applying. The queue waits for an
90
+ environment completion event, `Ready` state, and the selected platform ARN before
91
+ reporting success. Unconfirmed outcomes stop the queue. Existing scheduled
92
+ managed updates retain their managed-action workflow and are not duplicated.
93
+
94
+ Before selection, the scan report lists every discovered environment, including
95
+ those with no scheduled platform updates. It distinguishes AWS-recommended
96
+ versions on supported branches from non-recommended versions, deprecated or
97
+ retired platform branches, in-progress actions, and unverified platform metadata.
98
+ Retired branches require migration; a lack of scheduled updates does not mean
99
+ the environment is up to date. "Up to date" means AWS's recommended platform
100
+ version within the current branch, not an audit of application packages, instance
101
+ patches, or physical hardware. Environments without a platform ARN or accessible
102
+ lifecycle metadata remain unverified.
103
+
104
+ ```bash
105
+ fw fmu
106
+ fw fmu --all
107
+ fw fmu --client fishawack --region us-east-1 --timeout 120
108
+ fw fmu --filter PHP
109
+ fw fmu --filter "PHP 8.2"
110
+ fw fmu --filter "Amazon Linux 2023"
111
+ ```
112
+
113
+ `--filter` (alias `-f`) restricts both the report and update choices to current
114
+ platform descriptions matching a case-insensitive, contiguous literal phrase.
115
+ Whitespace is normalized and word/version boundaries are respected: `PHP 8.2`
116
+ does not match `PHP 8.1`, `PHP 8.20`, or `PHP 8.2.1`, and `Amazon Linux 2` does
117
+ not match `Amazon Linux 2023`. It is not a regular expression or a match against
118
+ the proposed target version. Account-wide concurrency safety checks still apply
119
+ to environments outside the filter.
120
+
121
+ `--all` selects the scan scope only; it never bypasses update selection or
122
+ confirmation. The command is visible in help for the devops preset and hidden
123
+ for the permanent preset, matching `server-status`.
124
+
125
+ Progress is polled every 15 seconds, with a default monitoring timeout of 120
126
+ minutes per update. Confirmed failures are reported and the queue continues;
127
+ temporary `Unknown` statuses keep polling without advancing the queue until AWS
128
+ confirms completion or failure. Timeouts, monitoring errors, and uncertain apply
129
+ results stop the queue. Ctrl+C stops local monitoring, **not the AWS update**.
130
+ Check the reported environment
131
+ and action ID in AWS before starting further updates. Existing in-progress or
132
+ unknown managed actions in an account/region cause queued updates there to be
133
+ skipped. Independent AWS maintenance and other operators can still start updates.
134
+
135
+ The AWS profile needs `elasticbeanstalk:DescribeEnvironments`,
136
+ `elasticbeanstalk:DescribePlatformVersion`,
137
+ `elasticbeanstalk:ListPlatformVersions`, `elasticbeanstalk:DescribeEvents`,
138
+ `elasticbeanstalk:UpdateEnvironment`,
139
+ `elasticbeanstalk:DescribeEnvironmentManagedActions`,
140
+ `elasticbeanstalk:DescribeEnvironmentManagedActionHistory`, and
141
+ `elasticbeanstalk:ApplyEnvironmentManagedAction` permissions. This command does
142
+ not enable managed updates or schedule new ones.
143
+
66
144
  ### Install
67
145
 
68
146
  ```bash