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

Removing dev and check groups from appraisal groups #4198

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

TonyCTHsu
Copy link
Contributor

@TonyCTHsu TonyCTHsu commented Dec 6, 2024

Motivation:

I found ruby_memcheck is propagated in Ruby 3.4, because removal list is hardcoded.

This means it can easily be forgotten by people due to forgetting them.

What does this PR do?

Exclude all gems from dev and check groups. Since gemfile generation is a standalone process, we can even migrate appraisal gem into dev group.

Maybe this (customize solution )would be a better strategy compared to standalone task with its own dependency from this PR #3918

Change log entry

None.

Copy link

github-actions bot commented Dec 6, 2024

Thank you for updating Change log entry section 👏

Visited at: 2024-12-06 12:24:55 UTC

appraisal/generate.rb Show resolved Hide resolved
appraisal/generate.rb Show resolved Hide resolved
@TonyCTHsu TonyCTHsu changed the title Downsizing gemfiles by removing groups [WIP] Downsizing gemfiles by removing groups Dec 6, 2024
@TonyCTHsu TonyCTHsu added the dev/tooling Involves tools (e.g. Rubocop, CodeCov) label Dec 6, 2024
@TonyCTHsu TonyCTHsu marked this pull request as ready for review December 6, 2024 12:14
@TonyCTHsu TonyCTHsu requested a review from a team as a code owner December 6, 2024 12:14
@TonyCTHsu TonyCTHsu force-pushed the tonycthsu/downsize-gemfiles branch from c22b226 to 9ac915d Compare December 6, 2024 12:18
@TonyCTHsu TonyCTHsu force-pushed the tonycthsu/downsize-gemfiles branch from 2b505ef to eea3232 Compare December 6, 2024 12:28
@pr-commenter
Copy link

pr-commenter bot commented Dec 6, 2024

Benchmarks

Benchmark execution time: 2024-12-06 12:52:23

Comparing candidate commit eea3232 in PR branch tonycthsu/downsize-gemfiles with baseline commit 211b849 in branch master.

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

scenario:tracing - Propagation - Trace Context

  • 🟥 throughput [-3278.071op/s; -3184.187op/s] or [-8.654%; -8.406%]

@TonyCTHsu TonyCTHsu changed the title [WIP] Downsizing gemfiles by removing groups Removing dev and check groups in dependency groups Dec 6, 2024
@TonyCTHsu TonyCTHsu changed the title Removing dev and check groups in dependency groups Removing dev and check groups from appraisal groups Dec 6, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.75%. Comparing base (211b849) to head (eea3232).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4198      +/-   ##
==========================================
- Coverage   97.77%   97.75%   -0.02%     
==========================================
  Files        1357     1357              
  Lines       81941    81940       -1     
  Branches     4168     4168              
==========================================
- Hits        80114    80104      -10     
- Misses       1827     1836       +9     

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

Copy link
Member

@ivoanjo ivoanjo left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@TonyCTHsu TonyCTHsu merged commit 507fe0a into master Dec 6, 2024
356 checks passed
@TonyCTHsu TonyCTHsu deleted the tonycthsu/downsize-gemfiles branch December 6, 2024 14:20
@github-actions github-actions bot added this to the 2.8.0 milestone Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/tooling Involves tools (e.g. Rubocop, CodeCov)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants