Closed Bug 2027836 Opened 8 days ago Closed 4 days ago

Add a pull request number parameter to Github graphs

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(firefox151 fixed)

RESOLVED FIXED
151 Branch
Tracking Status
firefox151 --- fixed

People

(Reporter: ahal, Assigned: ahal)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

We've started running some tasks on PRs to mozilla-firefox/firefox. Having the PR number as a parameter will allow the code review bot to comment with the result summary.

Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/3e527d7c940b https://hg.mozilla.org/integration/autoland/rev/a129aeba9fd8 [ci] Add test parameters for 'mozilla-firefox/firefox' pull requests, r=taskgraph-reviewers,bhearsum https://github.com/mozilla-firefox/firefox/commit/c3215c55497e https://hg.mozilla.org/integration/autoland/rev/3597958559b3 [ci] Add a pull request parameter for Github graphs, r=taskgraph-reviewers,releng-reviewers,bhearsum
Status: ASSIGNED → RESOLVED
Closed: 6 days ago
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch

Looks like I missed adding it to the schema

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1d3cdeca2397 https://hg.mozilla.org/integration/autoland/rev/694e61311c6b [ci] Add 'pull_request_number' to graph config schema, r=taskgraph-reviewers,bhearsum
Pushed by rperta@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/772678a514f0 https://hg.mozilla.org/integration/autoland/rev/c29422683ba6 Revert "Bug 2027836 - [ci] Add 'pull_request_number' to graph config schema, r=taskgraph-reviewers,bhearsum" for causing ci failures
Flags: needinfo?(ahal)

The failure in comment 9 can be fixed by

diff --git a/taskcluster/gecko_taskgraph/parameters.py b/taskcluster/gecko_taskgraph/parameters.py
index 4b74a1583207..84550a1b6617 100644
--- a/taskcluster/gecko_taskgraph/parameters.py
+++ b/taskcluster/gecko_taskgraph/parameters.py
@@ -139,7 +139,6 @@ def get_defaults(repo_root=None):
         "optimize_strategies": None,
         "phabricator_diff": None,
         "project": "mozilla-central",
-        "pull_request_number": None,
         "release_enable_emefree": False,
         "release_enable_partner_repack": False,
         "release_enable_partner_attribution": False,

(the schema says pull_request_number can be either absent or an int, but it can't be null, afaict)

Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0f410739b39d https://hg.mozilla.org/integration/autoland/rev/4aaff14752c8 [ci] Add 'pull_request_number' to graph config schema, r=taskgraph-reviewers,bhearsum
Pushed by abutkovits@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/9f09862171f7 https://hg.mozilla.org/integration/autoland/rev/fc8361675281 Revert "Bug 2027836 - [ci] Add 'pull_request_number' to graph config schema, r=taskgraph-reviewers,bhearsum" for causing ci failures.

Oops, looks like my try push has a different commit than the phab revision

Flags: needinfo?(ahal)
Pushed by ahalberstadt@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7968d1fa0198 https://hg.mozilla.org/integration/autoland/rev/78069054d446 [ci] Add 'pull_request_number' to graph config schema, r=taskgraph-reviewers,bhearsum
Status: REOPENED → RESOLVED
Closed: 6 days ago4 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: