Skip to content

[Feature-6151][Dependent Node UI] dependent node loaded multiple times#7704

Closed
SbloodyS wants to merge 3 commits into
apache:devfrom
SbloodyS:feature_6151
Closed

[Feature-6151][Dependent Node UI] dependent node loaded multiple times#7704
SbloodyS wants to merge 3 commits into
apache:devfrom
SbloodyS:feature_6151

Conversation

@SbloodyS
Copy link
Copy Markdown
Member

Purpose of the pull request

close #6151

Brief change log

add cache for getProcessByProjectCode

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Merging #7704 (5f68c0f) into dev (71ccb42) will increase coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##                dev    #7704      +/-   ##
============================================
+ Coverage     41.08%   41.16%   +0.07%     
- Complexity     3674     3680       +6     
============================================
  Files           642      642              
  Lines         26659    26659              
  Branches       2992     2992              
============================================
+ Hits          10953    10973      +20     
+ Misses        14659    14638      -21     
- Partials       1047     1048       +1     
Impacted Files Coverage Δ
...dolphinscheduler/remote/future/ResponseFuture.java 81.96% <0.00%> (-1.64%) ⬇️
...er/master/dispatch/host/assign/RandomSelector.java 83.33% <0.00%> (+5.55%) ⬆️
...rver/master/processor/queue/TaskResponseEvent.java 100.00% <0.00%> (+6.45%) ⬆️
...er/master/processor/queue/TaskResponseService.java 68.18% <0.00%> (+18.18%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71ccb42...5f68c0f. Read the comment docs.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

label: v.processDefinition.name
}
let definitionCacheList = JSON.parse(sessionStorage.getItem(projectCodePrefix + code))
if (definitionCacheList) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe it’s better to use component state to cache project definition list

@SbloodyS SbloodyS closed this Dec 30, 2021
@SbloodyS SbloodyS deleted the feature_6151 branch December 30, 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.

[Improvement][Dependent Node UI] dependent node loaded multiple times

3 participants