Skip to content

bug(auth): don't fail on missing login in app installation details - #197

Merged
bhearsum merged 1 commit into
mozilla-releng:mainfrom
shtrom:entreprise-bypass
Aug 4, 2026
Merged

bug(auth): don't fail on missing login in app installation details#197
bhearsum merged 1 commit into
mozilla-releng:mainfrom
shtrom:entreprise-bypass

Conversation

@shtrom

@shtrom shtrom commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Apps can be installed in enterprises, which don't have a login, but a slug field.

By using get here, we protect against KeyErrors in case some installations are for enterprises.

This doesn't provide functional enterprise support (e.g., for #196), but supports continuing operation for repos and orgs.

Apps can be installed in enterprises, which don't have a `login`, but a
`slug` field.

By using `get` here, we protect against `KeyError`s in case some
installations are for enterprises.

This doesn't provide functional enterprise support (e.g., for
mozilla-releng#196), but
supports continuing operation for repos and orgs.
@shtrom
shtrom requested a review from a team as a code owner August 4, 2026 05:01
@bhearsum
bhearsum merged commit 6e65630 into mozilla-releng:main Aug 4, 2026
6 checks passed
@shtrom
shtrom deleted the entreprise-bypass branch August 5, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants