Repository navigation
chore(config): remove two orphaned GUI config flags with no consumers - #7137
Merged
Yicong-Huang merged 1 commit intoJul 31, 2026
Merged
Conversation
autoAttributeCorrectionEnabled lost its consumer when the schema auto-correct service was deleted (apache#2578); expirationTimeInMinutes lost its only reader when token refresh was removed for security (apache#3765). Both were still defined and sent to the frontend while gating nothing. Remove them across every layer: gui.conf, GuiConfig(+Spec), the /gui config endpoint (dropping the now-unused AuthConfig import), and the frontend GuiConfig interface and mock. AuthConfig.jwtExpirationMinutes stays — JwtAuth still uses it to sign real tokens. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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 #7137 +/- ##
============================================
- Coverage 79.59% 79.58% -0.02%
+ Complexity 3839 3834 -5
============================================
Files 1159 1159
Lines 46122 46118 -4
Branches 5127 5127
============================================
- Hits 36710 36702 -8
Misses 7787 7787
- Partials 1625 1629 +4
*This pull request uses carry forward flags. Click here to find out more. ☔ 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 | 412 | 0.252 | 25,022/31,447/31,447 us | 🔴 +18.5% / 🔴 +99.2% |
| 🔴 | bs=100 sw=10 sl=64 | 925 | 0.565 | 105,227/144,146/144,146 us | 🔴 +26.7% / 🔴 +30.7% |
| ⚪ | bs=1000 sw=10 sl=64 | 1,103 | 0.673 | 909,446/961,699/961,699 us | ⚪ within ±5% / 🟢 -10.5% |
Baseline details
Latest main ffbda03 from same runner
| config | metric | PR | latest main | 7d avg | Δ latest | Δ 7d |
|---|---|---|---|---|---|---|
| bs=10 sw=10 sl=64 | throughput | 412 tuples/sec | 487 tuples/sec | 771.62 tuples/sec | -15.4% | -46.6% |
| bs=10 sw=10 sl=64 | MB/s | 0.252 MB/s | 0.297 MB/s | 0.471 MB/s | -15.2% | -46.5% |
| bs=10 sw=10 sl=64 | p50 | 25,022 us | 21,201 us | 12,626 us | +18.0% | +98.2% |
| bs=10 sw=10 sl=64 | p95 | 31,447 us | 26,546 us | 15,786 us | +18.5% | +99.2% |
| bs=10 sw=10 sl=64 | p99 | 31,447 us | 26,546 us | 19,344 us | +18.5% | +62.6% |
| bs=100 sw=10 sl=64 | throughput | 925 tuples/sec | 1,006 tuples/sec | 971.56 tuples/sec | -8.1% | -4.8% |
| bs=100 sw=10 sl=64 | MB/s | 0.565 MB/s | 0.614 MB/s | 0.593 MB/s | -8.0% | -4.7% |
| bs=100 sw=10 sl=64 | p50 | 105,227 us | 99,991 us | 103,463 us | +5.2% | +1.7% |
| bs=100 sw=10 sl=64 | p95 | 144,146 us | 113,765 us | 110,296 us | +26.7% | +30.7% |
| bs=100 sw=10 sl=64 | p99 | 144,146 us | 113,765 us | 118,690 us | +26.7% | +21.4% |
| bs=1000 sw=10 sl=64 | throughput | 1,103 tuples/sec | 1,105 tuples/sec | 1,001 tuples/sec | -0.2% | +10.2% |
| bs=1000 sw=10 sl=64 | MB/s | 0.673 MB/s | 0.674 MB/s | 0.611 MB/s | -0.1% | +10.1% |
| bs=1000 sw=10 sl=64 | p50 | 909,446 us | 905,149 us | 1,008,988 us | +0.5% | -9.9% |
| bs=1000 sw=10 sl=64 | p95 | 961,699 us | 937,625 us | 1,055,260 us | +2.6% | -8.9% |
| bs=1000 sw=10 sl=64 | p99 | 961,699 us | 937,625 us | 1,074,689 us | +2.6% | -10.5% |
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,484.98,200,128000,412,0.252,25021.58,31446.69,31446.69
1,100,10,64,20,2161.27,2000,1280000,925,0.565,105226.56,144146.05,144146.05
2,1000,10,64,20,18132.02,20000,12800000,1103,0.673,909446.32,961698.67,961698.67
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?
Two GUI config flags were still defined and sent to the frontend but read by nobody.
autoAttributeCorrectionEnabledlost its consumer when the schema auto-correct service was removed in #2578.expirationTimeInMinuteslost its only reader when token refresh was removed for security in #3765; the frontend now derives session expiry from the JWT itself. This removes both across every layer they touched:gui.conf,GuiConfigand its spec, the/guiconfig endpoint (dropping the now-unusedAuthConfigimport), and the frontendGuiConfiginterface and mock.AuthConfig.jwtExpirationMinutesstays untouched —JwtAuthstill uses it to sign real tokens.Any related issues, documentation, discussions?
Closes #7135
How was this PR tested?
Dead-code removal, grep-verified no remaining references to either flag. Existing config specs (GuiConfigSpec, ConfigResourceSpec) continue to cover the config surface.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.8)