Skip to content

feat(seer): Gate Night Shift projects behind projects:seer-night-shift#113283

Merged
chromy merged 1 commit intomasterfrom
chromy/feat/seer-night-shift-project-gate
Apr 17, 2026
Merged

feat(seer): Gate Night Shift projects behind projects:seer-night-shift#113283
chromy merged 1 commit intomasterfrom
chromy/feat/seer-night-shift-project-gate

Conversation

@chromy
Copy link
Copy Markdown
Contributor

@chromy chromy commented Apr 17, 2026

Add a per-project feature flag (projects:seer-night-shift) to restrict which projects the Seer Night Shift nightly autofix cron runs on. A project is only eligible if both the existing organizations:seer-night-shift org flag and the new per-project flag are enabled.

_get_eligible_projects uses features.batch_has so the flag is resolved for all candidate projects in one call per org, rather than N individual has() checks.

Agent transcript: https://claudescope.sentry.dev/share/0wpw6wl0cN4U5Ub6RtbhsSC0X_QWwa8Z5AoxYNd1MyM

Add a per-project feature flag to restrict which projects the Seer Night
Shift nightly autofix cron runs on. Required in addition to the existing
organizations:seer-night-shift org gate.

_get_eligible_projects now uses features.batch_has to resolve the flag
for all candidate projects in one call per org, rather than per-project
lookups.

Agent transcript: https://claudescope.sentry.dev/share/vkSXhCLNBK_WkHu2pyyM1C-s0hyE2B-21qbOam8Cn60
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 17, 2026
@chromy chromy marked this pull request as ready for review April 17, 2026 13:57
@chromy chromy requested a review from a team as a code owner April 17, 2026 13:57
@chromy chromy merged commit f15ef02 into master Apr 17, 2026
80 checks passed
@chromy chromy deleted the chromy/feat/seer-night-shift-project-gate branch April 17, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants