fix(lifecycle): reduce idle Neon wakeups - #1115
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
blove
enabled auto-merge (squash)
September 21, 2026 19:20
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The every-minute lifecycle cron enters Dawn and checks Growth even when no work is due, keeping idle Neon computes active. Run the existing fallback every 15 minutes instead: 96 scheduled invocations per day rather than 1,440. Forms retain their immediate post-commit lifecycle nudges, and campaign/reply/stop/lease controls are unchanged.
Background reconciliation and retries may wait up to 15 minutes plus execution time. The campaign window still has four scheduled ticks; at the default batch size those share capacity for 80 jobs. Operational docs now describe that limit. The live Growth queue had no due jobs or expired leases and two future campaign sends during investigation.
Validation:
npx nx test websitepassed.npx nx lint websitepassed with 82 existing warnings and no errors.git diff --checkpassed.This change reduces scheduled wakeups; CU-hour savings depend on other traffic and Neon settings. It does not reset an exhausted allowance or change billing. The emailed Neon project still needs console mapping; all three database endpoints configured on production lifecycle accepted bounded read-only probes.