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

Fix a couple of "Data too long" errors from sonarqube, jira, etc #7885

Merged
merged 24 commits into from
Aug 14, 2024

Conversation

klesh
Copy link
Contributor

@klesh klesh commented Aug 13, 2024

Summary

  • refactor: remove extraction logic from github graphql collector
  • fix: pull requests not being updated
  • refactor: update github job extractor for single record structure
  • refactor: update github issue extractor to extract single record
  • refactor: update github deployment extractor to extract single records
  • refactor: update github account/release extractor to adopt single record extraction
  • docs: add comments
  • fix: github issues not being updated
  • fix: gitub deployment unit test
  • fix: change jira issue component field to text type
  • fix: column type should not be parameterized
  • fix: [Bug][Sonarcube] Data too long for column 'component' at row 12  #7852 sonarqube issues component field data too long
  • fix: change issue.components to text to avoid data too long error
  • doc: fix jira issues component tag
  • fix: change bitbucket issue components field to text
  • fix: change gitee issue components field to text
  • fix: change github issue components field to text
  • fix: change gitlab issue components field to text
  • fix: [Bug][Sonarcloud] Error 1406 (22001): Data too long for column 'project_key' at row 1 #7715 Data too long for column 'project_key'

Does this close any open issues?

Closes #7715, #7852

Screenshots

All migration scripts get executed successfully on my local machine.

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. component/plugins This issue or PR relates to plugins pr-type/bug-fix This PR fixes a bug pr-type/refactor This PR refactors existing features severity/p1 This bug affects functionality or significantly affect ux labels Aug 13, 2024
@klesh klesh force-pushed the kw-7852-components-field-length branch from 9c84809 to 1a55e67 Compare August 13, 2024 08:21
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Aug 14, 2024
klesh and others added 9 commits August 14, 2024 18:09
* fix(framework): update trigger api's request body schema

* fix(framework): fix test errors

* fix(framework): fix test errors
… mode (#7878)

* refactor: remove extraction logic from github graphql collector

* fix: pull requests not being updated

* refactor: update github job extractor for single record structure

* refactor: update github issue extractor to extract single record

* refactor: update github deployment extractor to extract single records

* refactor: update github account/release extractor to adopt single record extraction

* docs: add comments

* fix: github issues not being updated

* fix: gitub deployment unit test

* fix: github graphql issue collector should order records by CREATED_AT to avoid data missing
@klesh klesh force-pushed the kw-7852-components-field-length branch from e2cec2a to 1efa240 Compare August 14, 2024 10:10
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Aug 14, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Aug 14, 2024
@d4x1 d4x1 merged commit 7e97e43 into main Aug 14, 2024
12 checks passed
@d4x1 d4x1 deleted the kw-7852-components-field-length branch August 14, 2024 12:23
github-actions bot pushed a commit that referenced this pull request Aug 14, 2024
* refactor: remove extraction logic from github graphql collector

* fix: pull requests not being updated

* refactor: update github job extractor for single record structure

* refactor: update github issue extractor to extract single record

* refactor: update github deployment extractor to extract single records

* refactor: update github account/release extractor to adopt single record extraction

* docs: add comments

* fix: github issues not being updated

* fix: gitub deployment unit test

* fix: change jira issue component field to text type

* fix: column type should not be parameterized

* fix: #7852 sonarqube issues component field data too long

* fix: change issue.components to text to avoid data too long error

* docs: fix jira issues component tag

* fix: change bitbucket issue components field to text

* fix: change gitee issue components field to text

* fix: change github issue components field to text

* fix: change gitlab issue components field to text

* fix: #7715 Data too long for column 'project_key'

* fix(framework): update trigger api's request body schema (#7888)

* fix(framework): update trigger api's request body schema

* fix(framework): fix test errors

* fix(framework): fix test errors

* test(jira): add e2e test for custom account field in issues (#7894)

* fix: github graphql collectors are not refetching data in incremental mode (#7878)

* refactor: remove extraction logic from github graphql collector

* fix: pull requests not being updated

* refactor: update github job extractor for single record structure

* refactor: update github issue extractor to extract single record

* refactor: update github deployment extractor to extract single records

* refactor: update github account/release extractor to adopt single record extraction

* docs: add comments

* fix: github issues not being updated

* fix: gitub deployment unit test

* fix: github graphql issue collector should order records by CREATED_AT to avoid data missing

* fix: linting

---------

Co-authored-by: Lynwee <1507509064@qq.com>
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 14, 2024
Copy link

🤖 Target: #release-v1.0 cherry pick finished successfully 🎉!

@github-actions github-actions bot added the bot/auto-cherry-pick-completed auto cherry pick completed label Aug 14, 2024
d4x1 added a commit that referenced this pull request Aug 14, 2024
…) (#7898)

* refactor: remove extraction logic from github graphql collector

* fix: pull requests not being updated

* refactor: update github job extractor for single record structure

* refactor: update github issue extractor to extract single record

* refactor: update github deployment extractor to extract single records

* refactor: update github account/release extractor to adopt single record extraction

* docs: add comments

* fix: github issues not being updated

* fix: gitub deployment unit test

* fix: change jira issue component field to text type

* fix: column type should not be parameterized

* fix: #7852 sonarqube issues component field data too long

* fix: change issue.components to text to avoid data too long error

* docs: fix jira issues component tag

* fix: change bitbucket issue components field to text

* fix: change gitee issue components field to text

* fix: change github issue components field to text

* fix: change gitlab issue components field to text

* fix: #7715 Data too long for column 'project_key'

* fix(framework): update trigger api's request body schema (#7888)

* fix(framework): update trigger api's request body schema

* fix(framework): fix test errors

* fix(framework): fix test errors

* test(jira): add e2e test for custom account field in issues (#7894)

* fix: github graphql collectors are not refetching data in incremental mode (#7878)

* refactor: remove extraction logic from github graphql collector

* fix: pull requests not being updated

* refactor: update github job extractor for single record structure

* refactor: update github issue extractor to extract single record

* refactor: update github deployment extractor to extract single records

* refactor: update github account/release extractor to adopt single record extraction

* docs: add comments

* fix: github issues not being updated

* fix: gitub deployment unit test

* fix: github graphql issue collector should order records by CREATED_AT to avoid data missing

* fix: linting

---------

Co-authored-by: Klesh Wong <zhenmian.huang@merico.dev>
Co-authored-by: Lynwee <1507509064@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot/auto-cherry-pick-completed auto cherry pick completed component/plugins This issue or PR relates to plugins lgtm This PR has been approved by a maintainer needs-cherrypick-v1.0 pr-type/bug-fix This PR fixes a bug pr-type/refactor This PR refactors existing features severity/p1 This bug affects functionality or significantly affect ux size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
2 participants