Skip to content

fix(pipedream): skip gate for single-region groups#97

Merged
mchen-sentry merged 1 commit into
mainfrom
mingchen/skip-gate-single-region-groups
Jun 25, 2026
Merged

fix(pipedream): skip gate for single-region groups#97
mchen-sentry merged 1 commit into
mainfrom
mingchen/skip-gate-single-region-groups

Conversation

@mchen-sentry

@mchen-sentry mchen-sentry commented Apr 29, 2026

Copy link
Copy Markdown
Member

uptime-checker deploys are triggering our region-skip gate. Their groups have one region, but pipeline_fn fans out to physical cells that override SENTRY_REGION per cell, so the region gate compares a cell name (us-east-sc) against PIPEDREAM_GROUP_REGIONS=us and exits 0 on every cell.

There's nothing to subset in a single-region group, so we skip the gate there. Multi-region groups (st) keep it.

The single-region-multi-cell fixture now overrides SENTRY_REGION per cell so it covers this.

@mchen-sentry mchen-sentry force-pushed the mingchen/skip-gate-single-region-groups branch from 02d344d to 5c889c3 Compare June 25, 2026 16:19
When a group has one region there's nothing to filter, and services in
that shape may override SENTRY_REGION per cell (uptime-checker-k8s,
vector-uc-k8s) — in that case the gate compares the cell name against
the group region and self-skips every cell job.

Skip wrap_task entirely when std.length(regions) == 1. Multi-region
groups (st) keep the gate. Updated single-region-multi-cell fixture to
override SENTRY_REGION per cell, exercising the case.
@mchen-sentry mchen-sentry force-pushed the mingchen/skip-gate-single-region-groups branch from 5c889c3 to 937f09f Compare June 25, 2026 16:24
@mchen-sentry mchen-sentry requested a review from a team June 25, 2026 17:36
@mchen-sentry mchen-sentry merged commit ea94187 into main Jun 25, 2026
9 checks passed
@mchen-sentry mchen-sentry deleted the mingchen/skip-gate-single-region-groups branch June 25, 2026 18:34
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