Optional PHP 8.6 runtime APIs: stream error reasons in CacheFileWriter, Io\Poll for the warmup worker pool
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with CacheFileWriter::write(), where mkdir, file_put_contents and rename are silenced with @, and with Warmup\WorkerPool, where @stream_select(..., 1) is called. Each change must sit behind a function_exists() or class_exists() guard so PHP 8.4 behaviour stays the same. Done means the 8.6 branch adds the error reason to the exception message, or the Io\Poll path exists. The second item may be closed if profiling shows the select loop doesn't matter, so confirm with a maintainer first.
索引モデルが issue の本文から書いたものです。
説明
Low-priority improvements built on new 8.6 runtime APIs. Each needs a function_exists() / class_exists() check while the minimum version is 8.4.
- Stream errors in
CacheFileWriter(Stream Error Handling Improvements).CacheFileWriter::write()hides the errors ofmkdir,file_put_contentsandrenamewith@, so the exception doesn't say why a cache write failed (disk full, permissions, cross-device rename).- On 8.6,
stream_last_errors()/stream_clear_errors()can add the cause to the existing exception message without changing the@behaviour.
Io\PollinWarmup\WorkerPool(Polling API).WorkerPoolwaits on worker sockets with@stream_select(..., 1), a one-second timeout.- The new poll API could replace it on 8.6, with the right backend chosen per OS.
- This only helps if the select loop shows up in warmup profiles; otherwise close this item.
Part of #789.
- 主要言語
- PHP
- スター
- 1.7k
- フォーク
- 166
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 42
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
goaop/framework のほかの issue
-
Enhancement Performance
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
Enhancement Performance To Be Discussed
難易度 5/5 1週間以上 初心者へのやさしさ 28/100
goaop/framework#814 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
`PREBUILT_CACHE` weaves and writes the cache when a class is missing from it (fails on read-only file systems)対応中かも @lisachenko が今日担当しました。 オープンBug
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
Enhancement PHP-8.6 To Be Discussed
難易度 4/5 1週間以上 初心者へのやさしさ 8/100
メンテナーはふだん 1 日以内に返信
-
Enhancement PHP-8.6
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
メンテナーはふだん 1 日以内に返信
goaop/framework の issue をすべて見る
似ている issue
-
good first issue priority:low type:docs
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
crazy-goat/rabbit-stream#969 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
opensourcepos/opensourcepos#4801 ·
メンテナーはふだん 1 日以内に返信
-
backend docs
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
Open-Locker/Open-Locker#368 ·
メンテナーはふだん 1 日以内に返信
-
enhancement priority Sales
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
novalo-dev/Prestashop-MCP-Server#190 ·
メンテナーはふだん 1 日以内に返信
-
sync-en
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信