Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jan 29, 2025

Bumps puma from 6.5.0 to 6.6.0.

Release notes

Sourced from puma's releases.

6.6.0 - Return to Forever

image

Some stuff for JRuby users (SIGUSR2 trap), reforkers (see below), and a few debug/logging/observability related goodies.

  • Features

    • Option to turn off SIGUSR2 trapping (#3570, #3567)
    • Shorten ThreadPool trimmer and reaper thread names (#3383)
    • Add after_refork hook (#3386)
    • Add busy threads stat (#3517)
    • Add a debug log before running each type of hook (#3375)
    • Allow alternative schemes in Binder (#3348, #3302)
    • Avoid spawning Threadpool#trim thread if pool size is fixed (#3384)
  • Bugfixes

    • Change HttpParserError to be subclass of StandardError (#3590, #3552)
    • added test cases
    • fix update phased restart symlink folder
  • Performance

    • Only ping worker 0 during phased restart if using fork worker (#3568)
  • Refactor

    • Fix multi-delimiter split to get status app token (#3505)
    • Change ping to use const (#3595)
    • Fixup use of Puma::Const::PipeRequest constants (#3565)
    • Update DSL hook processing logic to be consistent (#3376)
Changelog

Sourced from puma's changelog.

6.6.0 / 2025-01-29

  • Features

    • Option to turn off SIGUSR2 trapping (#3570, #3567)
    • Shorten ThreadPool trimmer and reaper thread names (#3383)
    • Add after_refork hook (#3386)
    • Add busy threads stat (#3517)
    • Add a debug log before running each type of hook (#3375)
    • Allow alternative schemes in Binder (#3348, #3302)
    • Avoid spawning Threadpool#trim thread if pool size is fixed (#3384)
  • Bugfixes

    • Change HttpParserError to be subclass of StandardError (#3590, #3552)
    • added test cases
    • fix update phased restart symlink folder
  • Performance

    • Only ping worker 0 during phased restart if using fork worker (#3568)
  • Refactor

    • Fix multi-delimiter split to get status app token (#3505)
    • Change ping to use const (#3595)
    • Fixup use of Puma::Const::PipeRequest constants (#3565)
    • Update DSL hook processing logic to be consistent (#3376)
Commits

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

mpg-asahi-fuke and others added 9 commits January 5, 2025 16:24
Bumps [puma](https://github.com/puma/puma) from 6.5.0 to 6.6.0.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](puma/puma@v6.5.0...v6.6.0)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Jan 29, 2025
Copy link

puma 6.5.0 → 6.6.0 の変更点レビュー

変更内容

機能追加

  • SIGUSR2トラップをオフにするオプションの追加
  • ThreadPoolのtrimmerとreaperスレッド名の短縮
  • after_reforkフックの追加
  • ビジースレッド統計の追加
  • 各種フック実行前のデバッグログの追加
  • Binderでの代替スキームの許可
  • プールサイズが固定の場合にThreadpool#trimスレッドの生成を回避

バグ修正

  • HttpParserErrorをStandardErrorのサブクラスに変更
  • フェーズドリスタートのシンボリックリンクフォルダの更新を修正

パフォーマンス

  • フォークワーカーを使用している場合、フェーズドリスタート中にワーカー0のみをpingするように変更

リファクタリング

  • ステータスアプリトークンを取得するための複数区切り文字のsplitを修正
  • pingに定数を使用するように変更
  • Puma::Const::PipeRequest定数の使用を修正
  • DSLフック処理ロジックの一貫性を向上

破壊的変更

変更内容を確認した結果、明示的な破壊的変更は記載されていませんが、以下の変更点が動作に影響を与える可能性があります:

  1. HttpParserErrorをStandardErrorのサブクラスに変更:これにより、例外処理の動作が変わる可能性があります。
  2. after_reforkフックの追加:フォークモデルを使用している場合、新しいフックが追加されることで動作が変わる可能性があります。

情報ソース

結論

このアップデートは比較的安全ですが、HttpParserErrorの継承関係の変更により、例外処理に影響がある可能性があります。また、このプロジェクトではSOLID_QUEUE_IN_PUMAオプションを使用してSolid Queueスーパーバイザーをpumaプロセス内で実行しているため、フォークモデルに関連する変更(after_reforkフックの追加など)が影響を与える可能性があります。テスト環境でのテストを推奨します。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant