Repository navigation
Conversation
Signed-off-by: Dak Washbrook <hey@dak.dev>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Why
Closed pull requests can leave billable Neon preview branches until Vercel deletes their last deployment.
Evidence: Neon’s Vercel cleanup documentation describes deployment-based retention; this repository is connected to Neon project
frosty-mouse-25883459.Fix: Run repository-owned cleanup when a PR closes or merges. The exact preview database is deleted only after live ownership and safety checks; old preview URLs then lose their database.
Changes
GITHUB_TOKEN, an encryptedNEON_API_KEY, pinned actions, and no application dependency installation.Validation
In
.github/neon-cleanup:bun run lint,bun run prettier,bun test(24 passed), andbun run test:e2e(9 passed). Live read-only checks also matched stale previews in Shows, Technight, and MyAion.Repository-wide checks are not certified:
bun run lint,bun run typecheck,bun run test:e2ecould not complete in the fresh checkout with application dependencies/services unavailable. The dedicated cleanup CI validates the changed subsystem. No application code changed.Activation
NEON_API_KEYis provisioned. Automatic cleanup starts after merging intomain. Already-closed PRs require a manual run; ambiguous branches remain for review. The old central scheduled workflow is disabled and its Neon secret has been removed.Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.