GET /releases/branches.php serves stale/inconsistent latest from CDN edge cache
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 55/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- php
研究方向
Start with the https://www.php.net/releases/branches.php endpoint and reproduce the alternating latest values across repeated requests. Then inspect the web-php deployment and CDN configuration to find how release data reaches the edge; done means the endpoint returns the current 8.5 release consistently after release data is deployed.
由索引模型根據 Issue 內容生成。
描述
Affected Page URL
https://www.php.net/releases/branches.php
Describe the bug
Since around the 8.5.10 release, repeated requests for this endpoint intermittently return "latest": "8.5.9" or "latest": "8.5.10" for the 8.5 branch.
Steps to reproduce
Some package managers rely on this for latest release detection, as evidenced by version checks and upgrades flapping between two versions.
- https://github.com/ScoopInstaller/Main/commits/master/bucket/php.json
- https://github.com/ScoopInstaller/Versions/commits/master/bucket/php84.json
- https://github.com/ScoopInstaller/Versions/commits/master/bucket/php85.json
Expected behavior
/releases/branches.php should be effectively up-to-date and consistent for consumers. Ideally the CDN purges /releases/branches.php whenever release data is deployed.
Screenshots
Additional context
No response
- 主要語言
- PHP
- 星號
- 1.1k
- 分支
- 641
- 平均合併
- 1 天 7 小時
- 30 天內合併 PR
- 18
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
php/web-php 的其他 Issue
-
Page: downloads
難度 3/5 1-2 天 新手友好度 55/100
php/web-php#1946 · 2 個 reaction ·
維護者通常 1 天內回覆
-
Page: downloads
難度 3/5 1-2 天 新手友好度 62/100
維護者通常 1 天內回覆
-
Bug Status: Needs Triage
難度 3/5 1-2 天 新手友好度 55/100
維護者通常 1 天內回覆
-
Bug Status: Needs Triage
難度 3/5 1-2 天 新手友好度 45/100
維護者通常 1 天內回覆
-
Bug Status: Needs Triage
難度 4/5 3-5 天 新手友好度 50/100
維護者通常 1 天內回覆
相似的 Issue
-
Toolkit
難度 2/5 1-3 小時 新手友好度 88/100
維護者通常 1 天內回覆
-
[Bug] v-quick-install-app install crashes with ValueError if no supported PHP version is installed未關閉
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
langgenius/dify#43074 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
module: remove unused css
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 72/100
backdrop-contrib/field_group#99 · 2 則留言 ·