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 rack 3/rackup situation on ruby 3.4 #4068

Merged
merged 2 commits into from
Nov 5, 2024
Merged

fix rack 3/rackup situation on ruby 3.4 #4068

merged 2 commits into from
Nov 5, 2024

Conversation

p-datadog
Copy link
Contributor

@p-datadog p-datadog commented Nov 5, 2024

What does this PR do?

rack 3.1.0 deletes Rack::VERSION constant (in
rack/rack#1966),
causing our tests to fail.

Use Rack::RELEASE instead of Rack::VERSION
to work around the issue

Motivation:

Repairing CI in #4040

Change log entry

None, changes are in test suite only.

Additional Notes:

How to test the change?

I am assuming currently the tests lock rack to pre-3.1.0 therefore there aren't any failures on master, however #4059 exposed this failure when trying to get a new ruby 3.4 configuration going in circleci.

@p-datadog p-datadog requested review from a team as code owners November 5, 2024 13:47
@p-datadog p-datadog added the dev/internal Other internal work that does not need to be included in the changelog label Nov 5, 2024
@p-datadog
Copy link
Contributor Author

The ruby 3.3 failure is being repaired as part of 2.5.0 release process, after 2.5.0 goes out merging master into this PR should make that configuration green.

@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.73%. Comparing base (b3a00f4) to head (923a3c0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #4068   +/-   ##
=======================================
  Coverage   97.72%   97.73%           
=======================================
  Files        1338     1338           
  Lines       80248    80248           
  Branches     4016     4016           
=======================================
+ Hits        78424    78427    +3     
+ Misses       1824     1821    -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pr-commenter
Copy link

pr-commenter bot commented Nov 5, 2024

Benchmarks

Benchmark execution time: 2024-11-05 17:24:46

Comparing candidate commit a793545 in PR branch rack-fix with baseline commit 243ed25 in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 2 unstable metrics.

Copy link
Contributor

@sarahchen6 sarahchen6 left a comment

Choose a reason for hiding this comment

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

Good find. Thank you!

p and others added 2 commits November 5, 2024 22:50
rack 3.1.0 deletes Rack::VERSION constant (in
rack/rack#1966),
causing our tests to fail.

Use Rack::RELEASE instead of Rack::VERSION
to work around the issue
@TonyCTHsu TonyCTHsu merged commit 3e73b3b into master Nov 5, 2024
278 of 279 checks passed
@TonyCTHsu TonyCTHsu deleted the rack-fix branch November 5, 2024 22:07
@github-actions github-actions bot added this to the 2.6.0 milestone Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants