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][fn] Use unified PackageManagement service to download packages #21955

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

jiangpengcheng
Copy link
Contributor

Fixes #21931

Main Issue: #xyz

PIP: #xyz

Motivation

when function/sink/source is using pulsar packages as the code file, it still use the old way to download it if the functionsWorkerEnablePackageManagement is false

Modifications

Use the "unified PackageManagement service" to download pulsar packages regardless of thefunctionsWorkerEnablePackageManagement config

Verifying this change

  • Make sure that the change passes the CI checks.

  • This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts:

If the box was checked, please highlight the changes

  • Dependencies (add or upgrade a dependency)
  • The public API
  • The schema
  • The default values of configurations
  • The threading model
  • The binary protocol
  • The REST endpoints
  • The admin CLI options
  • The metrics
  • Anything that affects deployment

Documentation

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

Matching PR in forked repository

PR in forked repository: jiangpengcheng#23

@Technoboy- Technoboy- closed this Jan 31, 2024
@Technoboy- Technoboy- reopened this Jan 31, 2024
@codecov-commenter
Copy link

Codecov Report

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

Comparison is base (b14fcb4) 73.60% compared to head (f749e57) 73.64%.
Report is 20 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #21955      +/-   ##
============================================
+ Coverage     73.60%   73.64%   +0.04%     
- Complexity    32411    32495      +84     
============================================
  Files          1861     1863       +2     
  Lines        138674   138814     +140     
  Branches      15182    15216      +34     
============================================
+ Hits         102070   102232     +162     
+ Misses        28702    28691      -11     
+ Partials       7902     7891      -11     
Flag Coverage Δ
inttests 24.09% <0.00%> (-0.11%) ⬇️
systests 23.94% <0.00%> (+0.22%) ⬆️
unittests 72.92% <0.00%> (+0.03%) ⬆️

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

Files Coverage Δ
...ulsar/functions/worker/rest/api/ComponentImpl.java 47.94% <0.00%> (+0.01%) ⬆️

... and 109 files with indirect coverage changes

@Technoboy- Technoboy- merged commit d3b7ca5 into apache:master Jan 31, 2024
67 of 70 checks passed
gaoran10 pushed a commit to gaoran10/pulsar that referenced this pull request Mar 4, 2024
gaoran10 pushed a commit that referenced this pull request Mar 4, 2024
mukesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 4, 2024
mukesh-ctds pushed a commit to datastax/pulsar that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Update function using package manager response 400 Bad Request
5 participants