Repository navigation
refactor: remove unused version, list-item and CI setup code - #9706
Merged
aglinxinyuan merged 2 commits intoNov 26, 2026
Merged
aglinxinyuan merged 2 commits into
aglinxinyuan merged 2 commits into
Conversation
- WorkflowVersionService.displayWorkflowVersions and its only caller, MenuComponent.onClickGetAllVersions, which no template binds. - WorkflowVersionService computes version differences through a configurable element-type list that only ever held operators; it now compares operators directly. The duplicated bracket highlighting and the versions list's duplicated expand loops are written once, and the unused type aliases, ID map and URL export go. - ListItemComponent never sets editingDescription to true and its template has no descriptionInput, so the flag, its class binding and style, and the view query go. - ComputingUnitSelectionComponent: an unused ShareAccessComponent import, a doubled userPackages assignment, and a skippedMessages list nothing fills. - build-and-push-images: the AMD64 and ARM64 image jobs build inside Docker, so their JDK, sbt and coursier setup and JVM options were unused.
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9706 +/- ##
============================================
+ Coverage 91.78% 91.79% +0.01%
- Complexity 5134 5135 +1
============================================
Files 1306 1306
Lines 58240 58197 -43
Branches 7582 7564 -18
============================================
- Hits 53453 53421 -32
+ Misses 2894 2887 -7
+ Partials 1893 1889 -4
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Contributor
|
| config | throughput | MB/s | latency | max Δ latest / 7d | |
|---|---|---|---|---|---|
| 🔴 | bs=10 sw=10 sl=64 | 603 | 0.368 | 15,493/23,660/23,660 us | 🔴 +11.5% / 🔴 +74.4% |
| ⚪ | bs=100 sw=10 sl=64 | 1,274 | 0.778 | 77,929/90,950/90,950 us | ⚪ within ±5% / 🟢 -11.5% |
| 🔴 | bs=1000 sw=10 sl=64 | 1,439 | 0.878 | 686,076/844,765/844,765 us | 🔴 +16.1% / 🟢 -14.5% |
Baseline details
Latest main fd0e2d5 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 603 tuples/sec | 674 tuples/sec | 956.03 tuples/sec | -10.5% | -36.9% |
| bs=10 sw=10 sl=64 | MB/s | 0.368 MB/s | 0.411 MB/s | 0.584 MB/s | -10.5% | -36.9% |
| bs=10 sw=10 sl=64 | p50 | 15,493 us | 13,897 us | 10,527 us | +11.5% | +47.2% |
| bs=10 sw=10 sl=64 | p95 | 23,660 us | 21,365 us | 13,570 us | +10.7% | +74.4% |
| bs=10 sw=10 sl=64 | p99 | 23,660 us | 21,365 us | 16,510 us | +10.7% | +43.3% |
| bs=100 sw=10 sl=64 | throughput | 1,274 tuples/sec | 1,320 tuples/sec | 1,273 tuples/sec | -3.5% | +0.1% |
| bs=100 sw=10 sl=64 | MB/s | 0.778 MB/s | 0.806 MB/s | 0.777 MB/s | -3.5% | +0.1% |
| bs=100 sw=10 sl=64 | p50 | 77,929 us | 74,430 us | 82,483 us | +4.7% | -5.5% |
| bs=100 sw=10 sl=64 | p95 | 90,950 us | 89,774 us | 90,219 us | +1.3% | +0.8% |
| bs=100 sw=10 sl=64 | p99 | 90,950 us | 89,774 us | 102,794 us | +1.3% | -11.5% |
| bs=1000 sw=10 sl=64 | throughput | 1,439 tuples/sec | 1,475 tuples/sec | 1,318 tuples/sec | -2.4% | +9.2% |
| bs=1000 sw=10 sl=64 | MB/s | 0.878 MB/s | 0.9 MB/s | 0.804 MB/s | -2.4% | +9.2% |
| bs=1000 sw=10 sl=64 | p50 | 686,076 us | 681,267 us | 802,593 us | +0.7% | -14.5% |
| bs=1000 sw=10 sl=64 | p95 | 844,765 us | 727,691 us | 843,998 us | +16.1% | +0.1% |
| bs=1000 sw=10 sl=64 | p99 | 844,765 us | 727,691 us | 894,722 us | +16.1% | -5.6% |
Raw CSV
config_idx,batch_size,schema_width,string_len,num_batches,total_ms,total_tuples,total_bytes,tuples_per_sec,mb_per_sec,lat_p50_us,lat_p95_us,lat_p99_us
0,10,10,64,20,331.76,200,128000,603,0.368,15493.46,23660.46,23660.46
1,100,10,64,20,1569.33,2000,1280000,1274,0.778,77929.11,90949.77,90949.77
2,1000,10,64,20,13902.22,20000,12800000,1439,0.878,686075.51,844765.43,844765.43
kunwp1
approved these changes
Nov 26, 2026
aglinxinyuan
enabled auto-merge
November 26, 2026 06:37
aglinxinyuan
deleted the
refactor/unused-version-list-and-image-setup
branch
November 26, 2026 07:28
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changes were proposed in this PR?
Remove code that nothing uses, or that repeats what the code next to it already does, from the workflow version service, the versions list, the workspace menu, the dashboard list item, the computing-unit picker and the image build workflow (+42/−165 lines). There is no behavior change.
WorkflowVersionService.displayWorkflowVersionsand its only caller,MenuComponent.onClickGetAllVersions, which no template has bound since Change the style of saved workflow timestamp #2500 removed the button's click handler. Their two spec cases go with them.getWorkflowsDifferenceloops over a configurable list of element types that has held onlyoperatorssince Show workflow version difference #1503 added it, with an ID-field map that names a type the loop never visits. It now compares operators directly.ElementandWorkflowContentKeysaliases go, and the URL constant that only the spec imported becomes file-local.ListItemComponentonly ever setseditingDescriptionto false, and its template has had no#descriptionInputsince feat: add Markdown editor for dataset/workflow descriptions #4212 replaced the inline editor. The flag, its class binding and style, and the view query go.CardItemComponentkeeps its own, live copy.ShareAccessComponentimport; its dialog left this component in feat(gui): add full computing unit tab #4331.userPackagesassignment.skippedMessageslist that nothing fills, with the block that would print it.JAVA_OPTS/JVM_OPTSgo. The JOOQ job, which does run sbt, keeps its setup.As of 2026-11-25:
Any related issues, documentation, discussions?
Closes #9705.
How was this PR tested?
Ran on this branch and on
mainatfd0e2d5338(Windows 11; Node 24 with Yarn 4.14.1):main, all passing. The two extra onmainare the deleted methods' own cases; every other test keeps its name and outcome. Both typechecks, the AOT compile, prettier-eslint and ESLint pass.build-and-push-images.ymlparses, both image jobs keep their Docker steps, and only the JOOQ job sets up a JDK. The image jobs themselves run only after merge.To re-check, both commands return no hits on this branch:
git grep -nwE "displayWorkflowVersions|onClickGetAllVersions|skippedMessages|ELEMENT_TYPES_IN_WORKFLOW_DIFF_CALC|ID_FILED_FOR_ELEMENTS_CONFIG" -- frontend/src git grep -nw editingDescription -- frontend/src/app/dashboard/component/user/list-item/list-item.component.ts frontend/src/app/dashboard/component/user/list-item/list-item.component.htmlWas this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)