pip cache always uses node process architecture, ignoring architecture key
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 45/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 停滯
- 技術堆疊
- github-actions, typescript
研究方向
從 src/cache-distributions/pip-cache.ts 第 68-75 行開始,檢查 pip 快取鍵如何組成,以及 action 的架構輸入如何可用。更新相關快取鍵,使其包含 Python 二進位檔的架構,然後確認不同架構不再重複使用或爭用相同的快取鍵。
由索引模型根據 Issue 內容生成。
描述
Description:
The pip caching code uses a cache key that does not include the Python binary's architecture. This leads to cache thrashing.
https://github.com/actions/setup-python/blob/main/src/cache-distributions/pip-cache.ts#L68-L75
These keys should include the Python binary architecture, which is specified with the architecture input to the action.
Action version:
5.2.0
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
All
- 主要語言
- TypeScript
- 星號
- 2.2k
- 分支
- 739
- 平均合併
- 6 天 18 小時
- 30 天內合併 PR
- 1
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
actions/setup-python 的其他 Issue
-
bug
難度 4/5 3-5 天 新手友好度 55/100
actions/setup-python#1348 · 5 則留言 ·
-
feature request
難度 5/5 一週以上 新手友好度 35/100
actions/setup-python#1346 · 12 則留言 ·
-
feature request
難度 3/5 1-2 天 新手友好度 58/100
actions/setup-python#1308 · 8 則留言 ·
-
feature request
難度 2/5 1-3 小時 新手友好度 35/100
actions/setup-python#1301 · 5 則留言 ·
-
feature request
難度 4/5 3-5 天 新手友好度 55/100
actions/setup-python#1294 · 3 則留言 · 2 個 reaction ·
查看 actions/setup-python 的全部 Issue
相似的 Issue
-
blocklist removal
難度 2/5 1-3 小時 新手友好度 65/100
MetaMask/eth-phishing-detect#296544 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
pastelsky/bundlephobia#1122 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
-
category/development priority/P2 scope/file-operations scope/testing type/enhancement
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100