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

pulselistener: Avoid updating a secured revision#2124

Merged
La0 merged 1 commit into
mozilla:masterfrom
La0:pulse-bug-secured
May 22, 2019
Merged

pulselistener: Avoid updating a secured revision#2124
La0 merged 1 commit into
mozilla:masterfrom
La0:pulse-bug-secured

Conversation

@La0
Copy link
Copy Markdown
Contributor

@La0 La0 commented May 22, 2019

I noticed a crash on pulselistener when a revision is secured, the hook tries to update the revision... but it has no access to it !

@La0 La0 requested a review from marco-c May 22, 2019 15:39
@La0 La0 self-assigned this May 22, 2019
logger.info('Published secure build as failing', build=str(build))
# We cannot send any update on a Secured build
# as the bot has no edit access on it
logger.info('Secured revision, skipping.', build=build.target_phid)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

So, what is the UI like on a secure revision? Does the build show as pending?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure, i think so...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Mmmh, not great, we should figure out an alternative.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Maybe let's talk about this in the next meeting with engflow.

Copy link
Copy Markdown
Collaborator

@marco-c marco-c left a comment

Choose a reason for hiding this comment

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

LGTM for now to avoid the crash.

@La0 La0 merged commit f11541e into mozilla:master May 22, 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