Skip to content
This repository has been archived by the owner on Nov 11, 2019. It is now read-only.

Load diff_phid from try task as early as possible #1960

Merged
merged 3 commits into from
Mar 18, 2019

Conversation

La0
Copy link
Contributor

@La0 La0 commented Mar 18, 2019

This was initially made in #1953 , and runs on testing.

It's needed to load the Phabricator revision from a task triggered by pulse in the try workflow

@La0 La0 self-assigned this Mar 18, 2019
@La0 La0 requested a review from marco-c March 18, 2019 10:02
@@ -223,7 +232,7 @@ def namespaces(self):
]

def __repr__(self):
return self.diff_phid
return self.diff_phid or 'unknown'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't diff_phid always have a value?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, i did that before moving the logic in the constructor

@La0 La0 force-pushed the sa-use-try-extra branch from 339bf28 to 1c56f00 Compare March 18, 2019 11:05
@La0 La0 merged commit 79e788f into mozilla:master Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants