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
Provides stack events to the IoHost in a structured way.
The main change here is that `StackActivityMonitor` does not directly
talk to the `ActivityPrinter` anymore. Instead messages are emitted to
the `IoHost`. This caused two related changes:
- Progress tracking has been split into a more generic
`StackProgressMonitor` and progress information is now provided directly
by the `StackActivityMonitor`
- Originally we only had a single timer that covered polling events and
printing them. With the split, we now have two separate timers: one for
polling events and a separate one for updating the view
Removed low-level options:
- `progress` -> now a `CliIoHost` property
- `ci` -> use value from `CliIoHost` directly instead of passing through
all the layers
- `quiet` -> surprisingly this was unused by CLI. We should have
something like this again, but can be implemented in a follow up PR.
Manually tested the changes in addition to integ tests.
---
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache-2.0 license
| CDK_TOOLKIT_I5501 | Stack Monitoring: Start monitoring of a single stack | info |[StackMonitoringControlEvent](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/StackMonitoringControlEvent.html)|
17
+
| CDK_TOOLKIT_I5502 | Stack Monitoring: Activity event for a single stack | info |[StackActivity](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/StackActivity.html)|
18
+
| CDK_TOOLKIT_I5503 | Stack Monitoring: Finished monitoring of a single stack | info |[StackMonitoringControlEvent](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/StackMonitoringControlEvent.html)|
16
19
| CDK_TOOLKIT_I5900 | Deployment results on success | result |[SuccessfulDeployStackResult](https://docs.aws.amazon.com/cdk/api/toolkit-lib/interfaces/SuccessfulDeployStackResult.html)|
17
20
| CDK_TOOLKIT_E5001 | No stacks found | error | n/a |
0 commit comments