Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cwl): Release CloudWatch Logs LiveTail feature. #6193

Merged
merged 333 commits into from
Dec 11, 2024
Merged

Conversation

keeganirby
Copy link
Contributor

@keeganirby keeganirby commented Dec 10, 2024

Problem

CWL LiveTail is ready for release.

Solution

Merge feature branch into master.


  • Treat all work as PUBLIC. Private feature/x branches will not be squash-merged at release time.
  • Your code changes must meet the guidelines in CONTRIBUTING.md.

License: I confirm that my contribution is made under the terms of the Apache 2.0 license.

aws-toolkit-automation and others added 30 commits October 3, 2024 17:35
## Problem
CWL is planning on supporting a LiveTail experience in AWSToolkit for
VSCode

## Solution
Registers `aws.cwl.tailLogGroup` as a recognized command in AWS Toolkit.
In this PR, running this command will simply take the user through a
Wizard to collect the configuration for the tailing session, and logs
it.

In follow up PRs, I will take this Wizard input and use it to call CWL
APIs and output streamed LogEvents to a TextDocument.

This command will be able to be executed in the command pallet, or by
pressing a "play button" icon when viewing LogGroups in the CloudWatch
Logs explorer menu.
aws-toolkit-automation and others added 12 commits November 27, 2024 17:42
…ject. (#6110)

## Problem
The `LiveTailSession` object's start/stop methods aren't directly under
test. TailLogGroup tests are mocking their behavior. TailLogGroup
command tests are more focused on managing the session registry,
opening/writing to the document, and the close tab behaviors.

## Solution
Write a test that's scoped to creating a `session` and calling start and
stop on it. Assert that timers are handled/disposed of properly, and
that the session response stream is returned.

Addresses [this
comment](#6095 (comment)).

---

<!--- REMINDER: Ensure that your PR meets the guidelines in
CONTRIBUTING.md -->

License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.

---------

Co-authored-by: Keegan Irby <[email protected]>
## Problem
Updating telemetry to accommodate changes in
aws/aws-toolkit-common#932

## Solution
Update package version for telemetry. 
Add validation on the LogStreamFilter submenu's response for filter
type. This is needed to allow the type returned from the
LogStreamFilterSubmenu to be convertible to the type in the metric
definition for filterPattern. In any case, this is a good validation to
have since the 'menu' placeholder value isn't valid for starting a
LiveTail session anyways.
@keeganirby keeganirby changed the title Feature/cwltail feat(cwl): Release CloudWatch Logs LiveTail feature. Dec 10, 2024
Copy link

  • This pull request implements a feat or fix, so it must include a changelog entry (unless the fix is for an unreleased feature). Review the changelog guidelines.
    • Note: beta or "experiment" features that have active users should announce fixes in the changelog.
    • If this is not a feature or fix, use an appropriate type from the title guidelines. For example, telemetry-only changes should use the telemetry type.

@keeganirby keeganirby marked this pull request as ready for review December 10, 2024 19:54
@keeganirby keeganirby requested a review from a team as a code owner December 10, 2024 19:55
@justinmk3
Copy link
Contributor

The failing windows CI test is tracked in #6160 , unrelated to this merge PR.

@justinmk3 justinmk3 merged commit f57f4f5 into master Dec 11, 2024
32 of 34 checks passed
@justinmk3 justinmk3 deleted the feature/cwltail branch December 11, 2024 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants