Skip to content

changes from develop to main - #83

Merged
meehaws merged 29 commits into
mainfrom
develop
Jul 6, 2026
Merged

changes from develop to main#83
meehaws merged 29 commits into
mainfrom
develop

Conversation

@Dominik-Matysiak-gravity

Copy link
Copy Markdown
Contributor

67 maven update and issues after updated fixed
54 Set up org.owasp:dependency-check-maven plugin
65 Manual changes in DB are not reflected in logs
64 added a log warning to highlight when a given database does not exist
60 Close Workers when Manager is closed
69 filter on field name
70 filter on operation type

Dominik-Matysiak-gravity and others added 24 commits June 27, 2026 20:25
…-DB-are-not-reflected-in-logs

65 Manual changes in DB are not reflected in logs
…-owasp-add

67 and 54 maven update and issues after updated fixed
…n-Manager-is-closed

60 Close Workers when Manager is closed
…automatic-creation

64 added a log warning to highlight when a given database does not exist
…ng-of-field-names

# Conflicts:
#	src/main/java/com/gravity9/mongocse/MongoConfig.java
#	src/test/java/com/gravity9/mongocse/ChangeStreamTest.java

@amazon-q-developer amazon-q-developer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

This PR merges changes from develop to main, including Maven dependency updates, Java 21 upgrade, OWASP dependency-check plugin setup, and improvements to MongoDB change stream error handling.

Critical Issue Found

1 critical logic error identified in MongoChangeStreamWorker.java that creates an infinite error loop when handling invalid resume tokens. The error recovery logic clears the token but the main processing loop continues attempting to resume with the cleared/invalid token.

Changes Overview

The PR includes:

  • Java version upgrade: 17 → 21
  • Maven plugin updates: Updated versions for surefire, checkstyle, PMD, spotbugs, and other plugins
  • MongoDB driver update: 4.10.1 → 5.8.0
  • New features: Added database existence warnings, field name filtering, operation type filtering
  • Enhanced error handling: Non-resumable change stream error handling with token clearing
  • Resource management: Proper cleanup of MongoClient in close() method

Please address the critical logic error before merging.


You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.

Comment thread src/main/java/com/gravity9/mongocse/MongoChangeStreamWorker.java
@meehaws
meehaws merged commit f875010 into main Jul 6, 2026
4 checks passed
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.

2 participants