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

Add request changes deduplication logic #218

Merged
merged 1 commit into from
Nov 9, 2021

Conversation

ariskataoka
Copy link
Member

@ariskataoka ariskataoka commented Nov 9, 2021

Large files comment logic should cover messages that have other error messages concatenated to them and also the requested changes comments. This PR address that.
Add refactor to avoid duplication code in regards to the skipped large files message.

Correct message after two build execution with request changes (not duplicating request changes):
Screen Shot 2021-11-09 at 12 31 24 pm

Correct message after two build execution(not duplicating info comment):
Screen Shot 2021-11-09 at 12 33 10 pm

TODO:

  • [ X ] Implement [logic]
  • [ X ] Add/update unit-tests
  • [ X ] Add or update PHPDoc comments for new or updated functions (main code only).
  • [ X ] Run full-unit tests
  • [ X ] Check automated unit-tests
  • [ X ] Manual testing (https://github.com/ariskataoka/vip-go-ci-manual-testing/pulls)
    • [ X ] Pull request with PHP linting issues
    • [ X ] Pull request with PHPCS issues
    • [ X ] Pull request without PHPCS issues, not auto-approved
    • [ X ] Pull request without PHPCS issues, is auto-approved
    • [ X ] Pull request with SVG issues
    • [ X ] Pull request with large file to be skipped

It should cover messages that have other error messages concatenated to it.

Add refactor to avoid dupication code in regards to the large files message build
@ariskataoka ariskataoka marked this pull request as draft November 9, 2021 01:36
@ariskataoka ariskataoka changed the title Add request chane Add request changes deduplication logic Nov 9, 2021
@ariskataoka ariskataoka marked this pull request as ready for review November 9, 2021 01:38
@ariskataoka ariskataoka added this to the 1.0.9 milestone Nov 9, 2021
Copy link

@dhusakovic dhusakovic left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ariskataoka ariskataoka merged commit fe2bfc1 into main Nov 9, 2021
@ariskataoka ariskataoka deleted the hotfix/fix-logic-not-duplicate-comments-squashed branch November 9, 2021 04:03
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