Skip to content
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

fix: make integrations work again #1525

Merged
merged 3 commits into from
Dec 21, 2022

Conversation

quintesse
Copy link
Contributor

@quintesse quintesse commented Dec 20, 2022

  • properly passing tags to the integrations again
  • fixed that the integrations were running externally in too many cases where the current JVM was matching but wasn't used.
  • passing properties to external integrations

The integrations were running externally in too many cases where the
current JVM was matching but wasn't used.
@codecov
Copy link

codecov bot commented Dec 20, 2022

Codecov Report

Base: 0.00% // Head: 0.00% // No change to project coverage 👍

Coverage data is based on head (4ed8074) compared to base (ff43188).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #1525   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files        110     110           
  Lines       6973    6976    +3     
  Branches    1139    1140    +1     
=====================================
- Misses      6973    6976    +3     
Flag Coverage Δ
Linux 0.00% <0.00%> (ø)
Windows 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/main/java/dev/jbang/source/Source.java 0.00% <ø> (ø)
...rc/main/java/dev/jbang/spi/IntegrationManager.java 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Becuase of the new way of handling tags in source files where we strip
off the leading `//` the integrations that expected those slashes now
started failing. We now prepend slashes to all tags before passing them
on to the integrations to remain backward compatible.

Fixes jbangdev#1526
@quintesse quintesse changed the title fix: make integrations run internally when possible fix: make integrations work again Dec 21, 2022
Copy link
Collaborator

@maxandersen maxandersen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - makes the world sane again ;)

@maxandersen maxandersen marked this pull request as ready for review December 21, 2022 01:42
@maxandersen maxandersen merged commit 6a991da into jbangdev:main Dec 21, 2022
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.

2 participants