Skip to content

chore: add spotless code style check - #145

Merged
mergify[bot] merged 1 commit into
apolloconfig:mainfrom
shalk:feat-spotless
Aug 29, 2026
Merged

chore: add spotless code style check#145
mergify[bot] merged 1 commit into
apolloconfig:mainfrom
shalk:feat-spotless

style: adopt Spotless for consistent code formatting

d22eccd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 24, 2026 in 0s

71.56% (+2.88%) compared to d4b76f8

View this Pull Request on Codecov

71.56% (+2.88%) compared to d4b76f8

Details

Codecov Report

❌ Patch coverage is 72.84244% with 343 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.56%. Comparing base (d4b76f8) to head (d22eccd).
⚠️ Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
...framework/apollo/kubernetes/KubernetesManager.java 45.28% 46 Missing and 12 partials ⚠️
...apollo/internals/K8sConfigMapConfigRepository.java 64.75% 32 Missing and 11 partials ⚠️
...amework/apollo/mockserver/ApolloTestingServer.java 89.74% 12 Missing and 4 partials ⚠️
...ork/apollo/openapi/dto/OpenGrayReleaseRuleDTO.java 0.00% 16 Missing ⚠️
...nal/tracer/ApolloClientMonitorMessageProducer.java 50.00% 12 Missing ⚠️
...trip/framework/apollo/openapi/dto/OpenPageDTO.java 0.00% 11 Missing ⚠️
...java/com/ctrip/framework/apollo/ConfigService.java 0.00% 9 Missing and 1 partial ⚠️
...mework/apollo/openapi/dto/OpenAppNamespaceDTO.java 50.00% 10 Missing ⚠️
...apollo/openapi/dto/OpenGrayReleaseRuleItemDTO.java 0.00% 9 Missing ⚠️
...ork/apollo/internals/ConfigMonitorInitializer.java 53.33% 7 Missing ⚠️
... and 65 more
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #145      +/-   ##
============================================
+ Coverage     68.68%   71.56%   +2.88%     
- Complexity     1503     1667     +164     
============================================
  Files           212      225      +13     
  Lines          6396     6739     +343     
  Branches        647      688      +41     
============================================
+ Hits           4393     4823     +430     
+ Misses         1673     1560     -113     
- Partials        330      356      +26     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.