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

Alpine 3.18.0 and test ruby 3.2 #659

Merged
merged 10 commits into from
May 16, 2023
Merged

Alpine 3.18.0 and test ruby 3.2 #659

merged 10 commits into from
May 16, 2023

Conversation

jmthomas
Copy link
Member

@jmthomas jmthomas commented May 10, 2023

I don't want to merge and release this quite yet since Alpine 3.18.0 is so new

@codecov
Copy link

codecov bot commented May 10, 2023

Codecov Report

Patch coverage: 37.33% and project coverage change: +0.37 🎉

Comparison is base (04e1995) 74.38% compared to head (8f5e325) 74.75%.

❗ Current head 8f5e325 differs from pull request most recent head c15036e. Consider uploading reports for the commit c15036e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #659      +/-   ##
==========================================
+ Coverage   74.38%   74.75%   +0.37%     
==========================================
  Files         464      454      -10     
  Lines       28599    28420     -179     
  Branches      575      544      -31     
==========================================
- Hits        21273    21246      -27     
+ Misses       7237     7090     -147     
+ Partials       89       84       -5     
Flag Coverage Δ
frontend 77.56% <ø> (+2.71%) ⬆️
ruby-api 51.31% <ø> (-0.10%) ⬇️
ruby-backend 78.42% <37.33%> (-0.06%) ⬇️

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

Impacted Files Coverage Δ
openc3/lib/openc3/core_ext.rb 100.00% <ø> (ø)
openc3/lib/openc3/io/json_drb_object.rb 28.26% <0.00%> (ø)
openc3/lib/openc3/models/gem_model.rb 65.00% <ø> (-1.67%) ⬇️
openc3/lib/openc3/script/metadata.rb 30.76% <0.00%> (ø)
openc3/lib/openc3/script/screen.rb 20.37% <0.00%> (-1.63%) ⬇️
openc3/lib/openc3/script/script_runner.rb 20.00% <0.00%> (ø)
openc3/lib/openc3/script/storage.rb 14.11% <0.00%> (ø)
openc3/lib/openc3/utilities/open_telemetry.rb 31.11% <0.00%> (ø)
openc3/lib/openc3/io/json_api_object.rb 35.00% <7.69%> (-1.85%) ⬇️
openc3/lib/openc3/utilities/authentication.rb 25.00% <33.33%> (+0.64%) ⬆️
... and 4 more

... and 35 files with indirect coverage changes

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

openc3/Gemfile Outdated
@@ -11,3 +11,5 @@ gem 'rails', '~> 7.0.0'
gem 'bootsnap', '>= 1.9.3', require: false
gem 'rack-cors', '~> 2.0'
gem 'tzinfo-data'
# httpclient hasn't been released since 2016 so use Shopify's updated one
gem 'httpclient', git: 'https://github.com/Shopify/httpclient'
Copy link
Member

Choose a reason for hiding this comment

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

Can't do this as it always requires an internet connection.

Copy link
Member

Choose a reason for hiding this comment

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

We probably need to switch to Faraday.

Copy link
Member Author

Choose a reason for hiding this comment

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

Could also use HTTP: https://github.com/httprb/http

@@ -25,7 +25,7 @@ def get_screen_list(scope: $openc3_scope)
endpoint = "/openc3-api/screens"
# Pass the name of the ENV variable name where we pull the actual bucket name
response = $api_server.request('get', endpoint, scope: scope)
if response.nil? || response.code != 200
if response.nil? || response.status != 200
Copy link
Member

Choose a reason for hiding this comment

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

This is breaking to other users (including my current CFDP code). Can we make code/status aliases (both work?)

@ryanmelt ryanmelt merged commit 3bf6d9c into main May 16, 2023
@ryanmelt ryanmelt deleted the ruby32 branch May 16, 2023 20:57
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