Repository navigation
test(service): remove unused spec mixins and test defaults - #9599
Merged
aglinxinyuan merged 2 commits intoNov 23, 2026
Merged
Conversation
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 #9599 +/- ##
============================================
- Coverage 91.57% 91.57% -0.01%
+ Complexity 5182 5181 -1
============================================
Files 1300 1300
Lines 58131 58135 +4
Branches 7615 7619 +4
============================================
+ Hits 53235 53237 +2
- Misses 2958 2959 +1
- Partials 1938 1939 +1
*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:
|
kunwp1
approved these changes
Nov 22, 2026
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 unused ScalaTest mixin traits and unused private test-helper defaults across 7 test files in
access-control-service,file-service, andworkflow-compiling-servicewithout changing production code or test assertions:BeforeAndAfterEachmixin (access-control-service,file-service): Remove the unusedBeforeAndAfterEachtrait and import inAccessControlResourceSpec,ModelApiForUiSpec,ModelDownloadResourceSpec,ModelResourceSpec, andModelUploadResourceSpec, which define no per-test hooks.OptionValuesmixin (file-service): Remove the unusedOptionValuestrait and import inModelHubApiSpec.workflow-compiling-service): In test utilityConfigGenerator, remove 12 unused default parameter values on private helper methods, the 3 unused field defaults on the privateFillContextcase class (both of its constructor calls pass every field), the scaladocFillContexthad copied fromrequiredUnder, and the unreferenced privatenoSiblingshelper.Any related issues, documentation, discussions?
Closes #9598.
How was this PR tested?
Ran on
906cd73fd1(JDK 17.0.14,sbt 1.12.9,STORAGE_ICEBERG_CATALOG_TYPE=hadoop, Docker running forFileServiceMockLakeFSspecs):scalafmtCheckAllandscalafixAll --checkacrossAccessControlService,FileService, andWorkflowCompilingService: passed.AccessControlService:1suite,44passed (0failed,0skipped).FileService:5suites,117passed (0failed,0skipped).WorkflowCompilingService:3suites,52passed (0failed,0skipped).Was this PR authored or co-authored using generative AI tooling?
Generated-by: Antigravity (Gemini 4 Neon), Claude Code (Claude Opus 5.5)