Skip to content

fixes #2745: Remove cyclic dependency #3589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

royteeuwen
Copy link
Contributor

Remove cyclic dependency by not using OSGi DS to reference the index manager from the EnsureOakIndex OSGi classes

… using OSGi DS to reference the index manager from the EnsureOakIndex OSGi classes
Copy link

codecov bot commented Jun 18, 2025

Codecov Report

Attention: Patch coverage is 47.36842% with 10 lines in your changes missing coverage. Please review.

Project coverage is 56.01%. Comparing base (ef4f406) to head (37816d9).
Report is 83 commits behind head on master.

Files with missing lines Patch % Lines
...com/adobe/acs/commons/oak/impl/EnsureOakIndex.java 47.36% 6 Missing and 4 partials ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3589      +/-   ##
============================================
+ Coverage     55.54%   56.01%   +0.46%     
- Complexity     5582     5692     +110     
============================================
  Files           728      734       +6     
  Lines         29775    30122     +347     
  Branches       3884     3948      +64     
============================================
+ Hits          16540    16873     +333     
+ Misses        11684    11668      -16     
- Partials       1551     1581      +30     

☔ View full report in Codecov by Sentry.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link

github-actions bot commented Jun 18, 2025

Test Results

 3 006 files  + 27   3 006 suites  +27   2h 12m 20s ⏱️ - 49m 6s
 1 918 tests +  2   1 918 ✅ +  904  0 💤 ±0  0 ❌  - 151 
17 262 runs  +150  17 256 ✅ +2 852  6 💤 ±0  0 ❌  - 453 

Results for commit 28ccc02. ± Comparison against base commit 530aa75.

This pull request removes 1 and adds 3 tests. Note that renamed tests count towards both.
com.adobe.acs.commons.mcp.impl.DynamicScriptServiceProviderTest ‑ Unknown test
com.adobe.acs.commons.oak.impl.EnsureOakIndexTest ‑ testIndexManagerConfigurationAsMultiString
com.adobe.acs.commons.oak.impl.EnsureOakIndexTest ‑ testIndexManagerConfigurationNotSet
com.adobe.acs.commons.oak.impl.EnsureOakIndexTest ‑ testIndexManagerConfigurationSingleString

♻️ This comment has been updated with latest results.

@royteeuwen
Copy link
Contributor Author

@kwin @davidjgonzalez can you review please :)? Seeing as we no longer build for Java 8, we can upgrade to mockito 5.x, fixing the Java 21 build pipelines that don't allow mockito-inline anymore

…lows static mocking without needing mockito-inline. Java11+ is the standard nowadays, so we can use 5.x+
@royteeuwen royteeuwen force-pushed the bugfix/fix-circular-reference-exception branch from 9025b3e to 28ccc02 Compare June 20, 2025 08:19
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.

1 participant