-
Notifications
You must be signed in to change notification settings - Fork 108
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
Limited sqs size #3620
Open
etcart
wants to merge
14
commits into
master
Choose a base branch
from
limited_sqs_size
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+76
−2
Open
Limited sqs size #3620
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
127e6a6
workign on tests
2f08fac
tests updated
b5fb5f1
cleanup with added default param args
d97fcee
ticket number
f9a0e2f
merge master
etcart 5b4c3d2
fix merge mangling
etcart 1b060d1
pr feedback and changelog
etcart e390f1b
git pr clarify negative test
etcart b7c78a2
adding verbosity in negative test
etcart 3966ac5
pass needed arg to receiveSQSMessages
etcart 7ff89f2
linting fixes
etcart 847ec0f
Merge branch 'master' into limited_sqs_size
etcart 4a3881f
moved limiter out to more complex function to handle unicode edge cases
etcart a18310d
linter errors
etcart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,8 @@ each Cumulus version between your current version and v19.1.0 as normal. | |
|
||
### Changed | ||
|
||
- **CUMULUS-3678** | ||
- sqs messages truncated to max sqs length if necessary | ||
- **CUMULUS-3928** | ||
- updated publish scripting to use [email protected] for user email | ||
- updated publish scripting to use esm over common import of latest-version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you normally add negative test cases? Like if the message is under the max size, then verify the '...TruncatedForLength' message does not appear. In the event it adds it to all the messages regardless of size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a good point, I'll add it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh wait, the lower part of this test is doing exactly that. it could be separated though to be clear that that's wha's being tested
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe at the end add: t.false(messageBody.endsWith('...TruncatedForLength'));
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, we're checking implicitly just by checking that "it's unchanged", but verbosity==good in testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!