phab-try 作者: Lars Eggert
Surfaces Treeherder push status on Phabricator and Bugzilla pages.
扩展元数据
关于此扩展
Injects a Pushes panel on Phabricator D-pages and Bugzilla bug pages. The panel searches all tracked Mozilla repos (try, autoland, mozilla-central, beta, release, esr*) and shows every push that tested the revision or bug, each row tagged with its repo and decorated with status indicators:
For each push the panel shows the timestamp, short hash (links to Treeherder), build / lint / tests badges, and a job-count summary. A non-fatal warning banner names any sources that returned errors so you know when results may be partial.
How it works
Also injects Phabricator / Bugzilla back-links into the Treeherder push-header bar for any try push URL.
- Landed revisions / fixed bugs get a plane-arrival icon
- Abandoned revisions and closed-without-fix bugs are struck through
- Backed-out pushes are struck through with a rewind icon
For each push the panel shows the timestamp, short hash (links to Treeherder), build / lint / tests badges, and a job-count summary. A non-fatal warning banner names any sources that returned errors so you know when results may be partial.
How it works
- Multi-repo search. A background worker fans out across every tracked repo via the Treeherder API, filtering pushes by Differential Revision URL or canonical Bug N subject line.
- mach try auto walk. For try pushes that carry no Diff Rev URL (submitted with
mach try auto), the extension walks one level up the Mercurial commit graph via hg-edge.mozilla.org to find the parent patch commit. - Status decoration. D-revision status (Abandoned / Closed) is fetched from Phabricator; bug status from Bugzilla REST. Icons and badge colours are applied synchronously when the panel renders.
- Backout detection. Each repo's recent push pool is mined for "Backed out..." commits; matching pushes are decorated automatically.
- Auto-refresh. While any push has jobs still running, the panel polls for fresh data every two minutes and updates in place.
Also injects Phabricator / Bugzilla back-links into the Treeherder push-header bar for any try push URL.
评分 0(1 位用户)
权限与数据
必要权限:
- 访问您在 treeherder.mozilla.org 的数据
- 访问您在 phabricator.services.mozilla.com 的数据
- 访问您在 bugzilla.mozilla.org 的数据
可选权限:
- 访问您在 treeherder.mozilla.org 的数据
- 访问您在 hg.mozilla.org 的数据
- 访问您在 hg-edge.mozilla.org 的数据
- 访问您在 bugzilla.mozilla.org 的数据
- 访问您在 phabricator.services.mozilla.com 的数据
收集的数据:
- 开发者称此扩展无需收集数据。
更多信息