CI Failure on patch release PRs if main branch contains different instrumentations than the release branch

未關閉
#4,853 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

  • #5625 來自 @mwimpelberg28 —— 已關閉,未合併

評估

難度
3/5
預估耗時
1-2 天
新手友好度
68/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
github-actions, python
領域
ci-cd

研究方向

從 .github/workflows/contrib.yml 第 19 行附近開始,比較 patch release PR 如何選擇其分支,以及該 release branch 上可用的 tox 環境。使用連結的 CI 執行或等效的 release-branch PR 重現失敗,然後驗證 workflow 只執行相關分支上可用的環境,同時不破壞 main 分支的 CI。

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

描述

build & infra

It looks like the workflow we are using for the contrib workflow is hardcoded to the main branch:

https://github.com/open-telemetry/opentelemetry-python/blob/main/.github/workflows/contrib.yml#L19

This is a problem if the release branch contains different instrumentations because it'll try to run tox environments that are not available there.

e.g. When preparing the release of 1.39.1 CI tried to run the anthropic tox environments that were added after 1.39.0.

https://github.com/open-telemetry/opentelemetry-python/actions/runs/20134499734/job/57784060744

主要語言
Python
星號
2.7k
分支
1.1k
平均合併
3 天 12 小時
30 天內合併 PR
16

環境準備

從這裡開始

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

open-telemetry/opentelemetry-python 的其他 Issue

查看 open-telemetry/opentelemetry-python 的全部 Issue

相似的 Issue

更多 Python Issue

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

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