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

Automated cherry pick of #2294: feature: add code coverage & bug dashboard #2342

Merged

Conversation

erda-bot
Copy link
Member

Cherry pick of #2294 on release/1.3.

Squashed commit message:

commit 97051820d3d1db9cd4404d5c29ddda8dcbaffa63
Author: littlejian <17816869670@163.com>
Date:   Tue Oct 12 18:29:28 2021 +0800

    feature: add code coverage & bug dashboard (#2294)
    
    * add new table migrations
    
    * add code coverage api
    
    * add code coverage components
    
    * add codeCoverageService
    
    * add code coverage components
    
    * add coverage chart components
    
    * add execHistory render
    
    * code coverage list support time search
    
    * code coverage list support custom order
    
    * check permisson
    
    * add open api spec
    
    * Issue dashboard scenario set up
    
    * add chart protocol yml
    
    * add check token
    
    * add init of code coverage
    
    * Over view component
    
    * Overview component done
    
    * set code default time range
    
    * update execHistory table render
    
    * set code default time range
    
    * update code coverage migrations
    
    * add jacoco addr env
    
    * finish pie charts of issue dashboard (#1)
    
    * Trend chart filter set up
    
    * add code coverage cancel api
    
    * update endcall back
    
    * update endcall back
    
    * add code coverage components
    
    * ci lint
    
    * add code coverage components
    
    * add bar chart for issue dashboard (#2)
    
    * update sql migrations
    
    * update sql migrations
    
    * add code coverage components
    
    * Filter issue list
    
    * add code coverage components
    
    * update endTime
    
    * update end callback api spec
    
    * add download button
    
    * update maxMemory
    
    * show tool tip
    
    * add visual dimension
    
    * add visual dimension
    
    * 3 bar of issue dashboard
    
    * make work for assignee bar chart
    
    * update end callBack
    
    * update xml err
    
    * fix render fail
    
    * Default iteration, bar chart filter
    
    * update timeout for TestWithContext
    
    * adjust color
    
    * update timeout for TestWithContext
    
    * update timeout for TestWithContext
    
    * Member in state, issuelabels svc
    
    * change tree map chart colors
    
    * add indexer
    
    * update time format layout
    
    * update user_id to userName
    
    * add percent symbol
    
    * update width of execHistory table
    
    * add stack handler
    
    * unify handler
    
    * set default size
    
    * set default size
    
    * add many handler
    
    * add report status
    
    * refactor handler of stack
    
    * change chart style
    
    * Chart filters set up
    
    * update status
    
    * update end callback
    
    * Basic filters done
    
    * reorder of top chart
    
    * convert code record add report_status
    
    * refactor chart converter
    
    * sad
    
    * change analyze formatter
    
    * sad
    
    * sad
    
    * update ready call back
    
    * add empty stackhandler
    
    * fix error of golangci-lint
    
    * Fix filter
    
    * change name of sourcePieChart
    
    * fix wrong handler
    
    * set binding & remove useless code
    
    * reorder of stack
    
    * set default symbol symbol size
    
    * filter stages done
    
    * fix issue filter
    
    * remove hardcode
    
    * optimize order of list
    
    * Empty iterations
    
    * Add condition filters, fix stats
    
    * fix golangci-lint
    
    * fix golangci-lint
    
    * use global state instead of state
    
    * asd
    
    * asd
    
    * asd
    
    * cleanup protocol data
    
    * add missing license
    
    * fix import
    
    * set change tree map data
    
    * add unit test for code coverage
    
    * fix err msg of permission check
    
    * asda
    
    * add transaction for code coverage start
    
    * asda
    
    * set visual min max
    
    * remove unit test
    
    * asda
    
    * update title of table
    
    * remove all big state
    
    * update code coverage start tx
    
    * asda
    
    * update render
    
    * change levels color
    
    * asda
    
    * asda
    
    * asda
    
    * asda
    
    * Multiple iterations and filter by time
    
    * asda
    
    * asda
    
    * Update migration, fix cMap
    
    * reorder display
    
    * update TestGetUCRedirectHost for add go test param
    
    * remove useless codes
    
    * Fix url query
    
    * change levels color
    
    * fix golangci lint
    
    * use time end instead of time create
    
    * Reopen count migration
    
    * adjust the call timeout and increase the retry
    
    * Reopen count init
    
    * add reportTime to code coverage
    
    * set report time
    
    * set report time
    
    * disable issue type
    
    * set report time
    
    * set default tree map color
    
    * refactor chartbuilder
    
    * fix report time error
    
    * update datazoom
    
    * Add label in trend chart
    
    * asda
    
    * change title
    
    * set grid
    
    * update time location
    
    * set grid
    
    * YAxis max
    
    * fix golangci lint
    
    * refactor post processor
    
    * padding data
    
    Co-authored-by: kakj-go <18579115540@163.com>
    Co-authored-by: joey <zhengcheng.zheng@alibaba-inc.com>
    Co-authored-by: shuofan <fanshuo2015@gmail.com>
    Co-authored-by: Effet <nesuadark@gmail.com>
    Co-authored-by: chengjoey <30427474+chengjoey@users.noreply.github.com>

What type of this PR

/kind feature

What this PR does / why we need it:

feature: add code coverage & bug dashboard

Which issue(s) this PR fixes:

Specified Reviewers:

/assign @sfwn

ChangeLog

Language Changelog
🇺🇸 English add code coverage & bug dashboard
🇨🇳 中文 增加代码覆盖率统计 & 缺陷报表

Need cherry-pick to release versions?

/cherry-pick release/1.3

* add new table migrations

* add code coverage api

* add code coverage components

* add codeCoverageService

* add code coverage components

* add coverage chart components

* add execHistory render

* code coverage list support time search

* code coverage list support custom order

* check permisson

* add open api spec

* Issue dashboard scenario set up

* add chart protocol yml

* add check token

* add init of code coverage

* Over view component

* Overview component done

* set code default time range

* update execHistory table render

* set code default time range

* update code coverage migrations

* add jacoco addr env

* finish pie charts of issue dashboard (erda-project#1)

* Trend chart filter set up

* add code coverage cancel api

* update endcall back

* update endcall back

* add code coverage components

* ci lint

* add code coverage components

* add bar chart for issue dashboard (erda-project#2)

* update sql migrations

* update sql migrations

* add code coverage components

* Filter issue list

* add code coverage components

* update endTime

* update end callback api spec

* add download button

* update maxMemory

* show tool tip

* add visual dimension

* add visual dimension

* 3 bar of issue dashboard

* make work for assignee bar chart

* update end callBack

* update xml err

* fix render fail

* Default iteration, bar chart filter

* update timeout for TestWithContext

* adjust color

* update timeout for TestWithContext

* update timeout for TestWithContext

* Member in state, issuelabels svc

* change tree map chart colors

* add indexer

* update time format layout

* update user_id to userName

* add percent symbol

* update width of execHistory table

* add stack handler

* unify handler

* set default size

* set default size

* add many handler

* add report status

* refactor handler of stack

* change chart style

* Chart filters set up

* update status

* update end callback

* Basic filters done

* reorder of top chart

* convert code record add report_status

* refactor chart converter

* sad

* change analyze formatter

* sad

* sad

* update ready call back

* add empty stackhandler

* fix error of golangci-lint

* Fix filter

* change name of sourcePieChart

* fix wrong handler

* set binding & remove useless code

* reorder of stack

* set default symbol symbol size

* filter stages done

* fix issue filter

* remove hardcode

* optimize order of list

* Empty iterations

* Add condition filters, fix stats

* fix golangci-lint

* fix golangci-lint

* use global state instead of state

* asd

* asd

* asd

* cleanup protocol data

* add missing license

* fix import

* set change tree map data

* add unit test for code coverage

* fix err msg of permission check

* asda

* add transaction for code coverage start

* asda

* set visual min max

* remove unit test

* asda

* update title of table

* remove all big state

* update code coverage start tx

* asda

* update render

* change levels color

* asda

* asda

* asda

* asda

* Multiple iterations and filter by time

* asda

* asda

* Update migration, fix cMap

* reorder display

* update TestGetUCRedirectHost for add go test param

* remove useless codes

* Fix url query

* change levels color

* fix golangci lint

* use time end instead of time create

* Reopen count migration

* adjust the call timeout and increase the retry

* Reopen count init

* add reportTime to code coverage

* set report time

* set report time

* disable issue type

* set report time

* set default tree map color

* refactor chartbuilder

* fix report time error

* update datazoom

* Add label in trend chart

* asda

* change title

* set grid

* update time location

* set grid

* YAxis max

* fix golangci lint

* refactor post processor

* padding data

Co-authored-by: kakj-go <18579115540@163.com>
Co-authored-by: joey <zhengcheng.zheng@alibaba-inc.com>
Co-authored-by: shuofan <fanshuo2015@gmail.com>
Co-authored-by: Effet <nesuadark@gmail.com>
Co-authored-by: chengjoey <30427474+chengjoey@users.noreply.github.com>
@erda-bot
Copy link
Member Author

Automated cherry pick can ONLY be triggered when this PR is MERGED!

@erda-bot erda-bot requested a review from sfwn October 12, 2021 10:30
@Effet Effet merged commit 1084e6b into erda-project:release/1.3 Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants