Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(plugin-server): Allow full rollout of hostname guard #17500

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

Twixes
Copy link
Member

@Twixes Twixes commented Sep 18, 2023

Changes

Follow-up to #17183, adding * as a FETCH_HOSTNAME_GUARD_TEAMS value meaning "roll out for all projects".

@Twixes Twixes requested a review from tiina303 September 18, 2023 14:11
@PostHog PostHog deleted a comment from posthog-bot Sep 18, 2023
@@ -362,7 +362,10 @@ export class HookCommander {
`⌛⌛⌛ Posting Webhook slow. Timeout warning after 5 sec! url=${webhookUrl} team_id=${team.id} event_id=${event.eventUuid}`
)
}, 5000)
const relevantFetch = isCloud() && this.fetchHostnameGuardTeams.has(team.id) ? safeTrackedFetch : trackedFetch
const relevantFetch =
isCloud() && (!this.fetchHostnameGuardTeams || this.fetchHostnameGuardTeams.has(team.id))
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: I'd re-add the comment here about empty = enabled for everyone as that's hard to reason about otherwise

@Twixes Twixes merged commit fd10852 into master Sep 20, 2023
69 checks passed
@Twixes Twixes deleted the validate-app-fetch-rollout branch September 20, 2023 09:41
daibhin pushed a commit that referenced this pull request Sep 21, 2023
* chore(plugin-server): Allow full rollout of hostname guard

* Add comment
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