-
Notifications
You must be signed in to change notification settings - Fork 3.4k
trunk-merge/pr-107025/56b2482b-7496-4095-9dd8-0337999f217a #107624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
trunk-io
wants to merge
6
commits into
master
from
trunk-merge/pr-107025/56b2482b-7496-4095-9dd8-0337999f217a
+133
−22
Closed
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
9cc64d6
perf(ai-research): skip url images that the scrub pod already staged
robbie-c 67f626f
fix(ai-research): forget scrubbed refs that the write drops for a mis…
robbie-c 70a14c6
fix(ai-research): let only the copy that marked a ref as seen unmark it
robbie-c 94cab54
chore(ai-research): note why a missing month key is final in the scru…
robbie-c dee6dd3
fix(ai-research): clear a seen mark only while the dropped copy still…
robbie-c e10294b
Merging dee6dd30c59e828084c809ebd0c4bc48fe74fea1 into trunk-temp/pr-1…
trunk-io[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
🔎 Supported by static analysis
🏁 Script executed:
Repository: PostHog/posthog
Length of output: 41880
🤖 get_repo_knowledge executed:
get_repo_knowledge PostHog/posthog /tmp/coderabbit-repo-knowledge/posthog-posthog-1c883bd0/conventionsLength of output: 40997
🏁 Script executed:
Repository: PostHog/posthog
Length of output: 38091
🤖 get_repo_knowledge executed:
get_repo_knowledge PostHog/posthog /tmp/coderabbit-repo-knowledge/posthog-posthog-1c883bd0Length of output: 3910
🏁 Script executed:
Repository: PostHog/posthog
Length of output: 13700
🤖 get_repo_knowledge executed:
get_repo_knowledge PostHog/posthog /tmp/coderabbit-repo-knowledge/posthog-posthog-1c883bd0Length of output: 88
🏁 Script executed:
Repository: PostHog/posthog
Length of output: 45667
🤖 get_repo_knowledge executed:
get_repo_knowledge PostHog/posthog /tmp/coderabbit-repo-knowledge/posthog-posthog-1c883bd0/conventionsLength of output: 40997
🏁 Script executed:
Repository: PostHog/posthog
Length of output: 42351
🤖 get_repo_knowledge executed:
get_repo_knowledge PostHog/posthog /tmp/coderabbit-repo-knowledge/posthog-posthog-1c883bd0Length of output: 3891
Do not deduplicate URL refs while their write is pending.
handleBatch()can return while the first hand-off awaitsMlKeyReader.read(). A later batch can then hitseenRefs.has(ref), skip the copy, and record its offset. If the first read finds no month key,write()removes the first mark and stores its offsets. Both offsets can advance without storing either URL image.MlKeyBatchcan provision a missing month key, and its overlapping-batch path allows a later read before the earlier write. Keep pending URL copies retryable until the owning hand-off succeeds, or wait for the owner outcome before skipping them. Add a regression test for overlapping hand-offs.