Skip to content

Release/v11.1.8#1559

Merged
mjabascal10 merged 8 commits intov11from
release/v11.1.8
Jan 7, 2026
Merged

Release/v11.1.8#1559
mjabascal10 merged 8 commits intov11from
release/v11.1.8

Conversation

@mjabascal10
Copy link
Copy Markdown
Contributor

PLEASE READ BEFORE CONTINUING

To help us understand your contribution, please include the following in your pull request:

  • A detailed explanation of the changes you've made.
  • The reasoning behind these changes.
  • A reference to the issue that this pull request addresses.

@mjabascal10 mjabascal10 requested a review from Copilot January 7, 2026 18:25
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This release introduces AWS CloudWatch streaming capabilities, replacing the previous polling mechanism with a continuous log stream approach. The update adds configurable log group support and removes extensive event filtering logic.

  • Replaced time-window polling with real-time log streaming
  • Added configurable AWS log group name parameter
  • Removed 140+ event drop filters from aws.yml

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
plugins/aws/main.go Refactored from periodic polling to continuous streaming; added log group configuration
filters/aws/aws.yml Removed extensive event filtering rules (140+ drop statements)
backend/src/main/resources/config/liquibase/master.xml Added references to new AWS integration migration files
backend/src/main/resources/config/liquibase/changelog/20260107002_update_filter_aws_integration.xml Updated filter configuration in database
backend/src/main/resources/config/liquibase/changelog/20260107001_add_log_group_name_aws_integration.xml Added log group name configuration to module settings
backend/src/main/java/com/park/utmstack/domain/application_modules/factory/impl/ModuleAwsIamUser.java Added log group name configuration key
CHANGELOG.md Updated version to 11.1.8

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}(grp)
}
wg.Wait()
break
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The break statement exits only the for loop, not the outer loop at line 44. This causes the code to continue processing repeatedly even after initialization. Use return or a labeled break to properly exit the initialization loop.

Copilot uses AI. Check for mistakes.

page, err := paginator.NextPage(ctx)
if err != nil {
cancel()
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The context cancel is called inside the error path but not in the success path within the pagination loop. This can lead to context leaks. Move the defer cancel() inside the loop or ensure cancel() is called in all paths.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entonces en la linea 198 estamos llamando a la luna?

"logGroup": agent.LogGroup,
"logStream": stream,
})
go streamLogStream(cwl, agent.LogGroup, stream, startTime, group.GroupName)
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unbounded goroutine creation for each log stream without coordination or limits could lead to resource exhaustion if there are many streams. Consider using a worker pool pattern or semaphore to limit concurrent stream processors.

Copilot uses AI. Check for mistakes.
- rename:
from:
- log.requestParameters.bucketName
to: log.userIdentityAccesrequestParametersBucketNamesKeyId
Copy link

Copilot AI Jan 7, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected field name from 'userIdentityAccesrequestParametersBucketNamesKeyId' to 'requestParametersBucketName'.

Suggested change
to: log.userIdentityAccesrequestParametersBucketNamesKeyId
to: log.requestParametersBucketName

Copilot uses AI. Check for mistakes.
@mjabascal10 mjabascal10 merged commit a1c619c into v11 Jan 7, 2026
@mjabascal10 mjabascal10 deleted the release/v11.1.8 branch January 7, 2026 18:47
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