Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Fail asv workflows when performance deteriorates

未關閉
#252 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
48/100
Issue 類型
功能
描述清晰度
描述清楚
活躍度
停滯
技術堆疊
github-actions, python

研究方向

從 .github/workflows/asv-main.yml、asv-pr.yml 和 asv-nightly.yml 開始,檢查每個檔案目前如何處理 asv run 或 asv continuous 失敗。更新工作流程失敗條件,同時保留所要求的 submit、dashboard、PR comment 和 cache 步驟,然後驗證比較失敗時工作流程仍會執行這些步驟。

由索引模型根據 Issue 內容生成。

描述

enhancement new option

Fail the ASV workflows if at least one of benchmarks deteriorates above a certain threshold (e.g. 150% / 200%).

asv-main.yml:

  • Execute asv run without || true, allowing the command to exit with a non-zero return code
  • Submit benchmarks and deploy dashboard on gh-pages, if the previous command succeeded or not

asv-pr.yml:

  • Execute asv continuous without || true, allowing the command to exit with a non-zero return code
  • Output the performance comment on the PR if the comparison was successful or not

asv-nightly.yml

  • Execute asv continuous without || true, allowing the command to exit with a non-zero return code
  • Write the commit hash to cache, if the previous if the comparison was successful or not

More information about "on failure" executions here.

主要語言
Jinja
星號
85
分支
16
平均合併
21 小時 19 分鐘
30 天內合併 PR
15

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 有 Pull Request 範本
  • 沒有貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

lincc-frameworks/python-project-template 的其他 Issue

查看 lincc-frameworks/python-project-template 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。