Repository navigation
fix(production): repair GitHub removal and reporting timezones - #584
Closed
imshashank wants to merge 2 commits into
Closed
imshashank wants to merge 2 commits into
imshashank wants to merge 2 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Contributor
Author
|
Incorporated into main by #586, commit 11332e2. The merged tree exactly matches the independently reviewed repair candidate. Combined bun run verify passed 7,056 tests with zero failures; all six CI jobs, CodeQL, links and the refreshed preview controller passed. Closing this source PR as incorporated. Production promotion and the separate notification-query repair remain tracked in the release review. |
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.
Repairs two production failures without a schema or data migration.
GitHub disconnects and uninstall webhooks failed when repositories held live check contexts because latest-activity foreign keys restrict deleting their evidence. Removal now locks the scoped integration and installation and performs graph cleanup plus metadata deletion in one transaction, including callers passing a database directly. It removes contexts, check evidence and repositories in order. Revoked or unlinked watched repositories use the same cleanup. Existing foreign-key protections and other installations remain intact.
Reporting reads legacy stored UTC offsets such as
UTC+8as equivalent IANA zones, preserving calendar boundaries. Unknown stored values fall back to UTC without rewriting profiles. New timezone writes require an IANA zone. The profile form omits unchanged timezones so unrelated edits still work for legacy profiles.Validation on
695f6b78786184c061f542792bf2b7fbd393e734:bun run verify: 7,046 passed, zero failures. Exact source tree stayed unchanged.pull_request_targetbrownout blocks preview-helper startup until 18:00 UTC on November 16. Helpers will be retried after the window.Draft until fresh checks and preview verification complete.