Skip to content
New issue

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

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

Already on GitHub? # to your account

[improve][ci] Run OWASP dependency check for offloaders and pulsar-io even when main check fails #21826

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Dec 29, 2023

Motivation

Currently the OWASP dependency check won't run for distribution/offloaders and distribution/io (Pulsar IO connectors) when the main distribution's check fails. Example: https://github.com/apache/pulsar/actions/runs/7352401899/job/20017097977
Follow up for #21817.

Modifications

Add if: !cancelled() to run the second step also when the first step fails. (GitHub Actions docs)

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 3.3.0 milestone Dec 29, 2023
@lhotari lhotari self-assigned this Dec 29, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 29, 2023
@codecov-commenter
Copy link

Codecov Report

Attention: 12 lines in your changes are missing coverage. Please review.

Comparison is base (b6da1f5) 36.38% compared to head (84e5ecc) 73.52%.
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #21826       +/-   ##
=============================================
+ Coverage     36.38%   73.52%   +37.13%     
- Complexity    12299    32268    +19969     
=============================================
  Files          1722     1858      +136     
  Lines        131206   138132     +6926     
  Branches      14351    15139      +788     
=============================================
+ Hits          47739   101559    +53820     
+ Misses        77092    28702    -48390     
- Partials       6375     7871     +1496     
Flag Coverage Δ
inttests 24.17% <9.09%> (-0.02%) ⬇️
systests 23.72% <18.18%> (+0.09%) ⬆️
unittests 72.81% <72.72%> (+40.91%) ⬆️

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

Files Coverage Δ
...ervice/persistent/PulsarCompactorSubscription.java 69.76% <100.00%> (+6.91%) ⬆️
...a/org/apache/pulsar/client/impl/RawReaderImpl.java 83.80% <100.00%> (+2.07%) ⬆️
...g/apache/pulsar/compaction/CompactedTopicImpl.java 61.53% <100.00%> (+2.25%) ⬆️
...sar/broker/service/persistent/PersistentTopic.java 78.44% <62.50%> (+26.51%) ⬆️

... and 1433 files with indirect coverage changes

@tisonkun tisonkun merged commit e442bb3 into apache:master Dec 29, 2023
53 checks passed
lhotari added a commit to lhotari/pulsar that referenced this pull request Jan 2, 2024
- Fix "Invalid workflow file" error
- follow up for apache#21826
- GHA requires "if: ${{ !cancelled() }}"
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/ci doc-not-needed Your PR changes do not impact docs ready-to-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants