Skip to content

Dependencies #2248

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

Merged
merged 9 commits into from
Aug 1, 2025
Merged

Dependencies #2248

merged 9 commits into from
Aug 1, 2025

Conversation

jmthomas
Copy link
Member

No description provided.

Copy link

codecov bot commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 26.66667% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.28%. Comparing base (7d0d1b7) to head (bbb566b).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
openc3/lib/openc3/script/calendar.rb 10.00% 9 Missing ⚠️
openc3/lib/openc3/script/tables.rb 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2248      +/-   ##
==========================================
+ Coverage   80.26%   80.28%   +0.01%     
==========================================
  Files         638      638              
  Lines       47628    47585      -43     
  Branches      745      745              
==========================================
- Hits        38230    38204      -26     
+ Misses       9315     9298      -17     
  Partials       83       83              
Flag Coverage Δ
python 83.91% <ø> (ø)
ruby-api 84.85% <ø> (+0.14%) ⬆️
ruby-backend 82.99% <26.66%> (+0.02%) ⬆️

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

☔ 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.

@@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.2", "3.3"]
ruby-version: ["3.3", "3.4"]
Copy link
Member Author

Choose a reason for hiding this comment

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

Next major version of Alpine (3.22) is ruby 3.4 so I updated this to prepare

"eslint-plugin-prettier": "5.5.3",
"eslint-plugin-vue": "10.3.0",
"prettier": "3.6.2",
"sass": "1.89.2",
"vite": "6.3.4",
Copy link
Member Author

Choose a reason for hiding this comment

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

Vite recently released 7.0.0 but we don't need to update yet

# Pending merge of https://github.com/grpc/grpc/pull/39549
# Should be fixed June 2025, look for grpc > 1.73.0 with a x86-linux-musl platform
&& gem install grpc --platform ruby \
&& gem install grpc \
Copy link
Member Author

Choose a reason for hiding this comment

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

Removed the --platform ruby since grpc is now up to date with musl

@@ -1,7 +1,7 @@
ARG OPENC3_DEPENDENCY_REGISTRY=docker.io
ARG TRAEFIK_CONFIG=traefik.yaml
# Consider updating openc3_build_ubi.sh when changing the release version
ARG OPENC3_TRAEFIK_RELEASE=v3.3.5
ARG OPENC3_TRAEFIK_RELEASE=v3.4.4
Copy link
Member Author

Choose a reason for hiding this comment

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

3.5.0 was release July 23 and looks like a straight forward upgrade for the next release

@@ -1,7 +1,7 @@
ARG OPENC3_DEPENDENCY_REGISTRY=docker.io
# Consider updating openc3_build_ubi.sh when changing the release version
# and build_multi_arch.sh
ARG OPENC3_MINIO_RELEASE=RELEASE.2025-06-13T11-33-47Z
ARG OPENC3_MINIO_RELEASE=RELEASE.2025-07-23T15-54-02Z
Copy link
Member Author

Choose a reason for hiding this comment

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

Hopefully this cleans up our Trivy scan

Copy link

Copy link
Contributor

@clayandgen clayandgen left a comment

Choose a reason for hiding this comment

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

So satisfying to see the all-greens on checks!

@@ -16,6 +16,7 @@ on:
branches: [main]

env:
RUBYOPT: --disable=frozen_string_literal
Copy link
Member Author

@jmthomas jmthomas Jul 31, 2025

Choose a reason for hiding this comment

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

We run our specs with -f d --warnings which emits warnings. Ruby 3.4 now warns against modifying strings because apparently in Ruby 4 (next year?) they will enable frozen strings by default. So I explicitly turn off this warning because it completely overwhelms the logs.

@@ -40,6 +40,6 @@ def is_mac?
# @param start [Integer] The number of stack entries to skip
# @return [Symbol] The name of the calling method
def calling_method(start = 1)
caller[start][/`([^']*)'/, 1].intern
caller[start][/[`']([^']*)'/, 1].intern
Copy link
Member Author

Choose a reason for hiding this comment

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

Ruby 3.4 finally changed the stack trace to eliminate that weird backtick

@@ -79,6 +79,7 @@ spec = Gem::Specification.new do |s|
s.add_runtime_dependency 'bundler', '~> 2.3'
s.add_runtime_dependency 'csv', '~> 3.3'
s.add_runtime_dependency 'hiredis-client', '~> 0.22'
s.add_runtime_dependency 'fiddle', '~> 1.1'
Copy link
Contributor

Choose a reason for hiding this comment

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

This is used here only. Was that only working if you installed it manually?

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't really check ... I just noticed that it no longer going to be a core gem in Ruby 3.4 so you have to explicitly include it. We still use the Win32 stuff in our serial driver.

@jmthomas jmthomas merged commit f732b99 into main Aug 1, 2025
29 checks passed
@jmthomas jmthomas deleted the dependencies branch August 1, 2025 15:02
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.

3 participants