Skip to content

Feature/rework push oid checking#250

Open
matthewpeterkort wants to merge 4 commits into
developmentfrom
feature/rework-push-oid-checking
Open

Feature/rework push oid checking#250
matthewpeterkort wants to merge 4 commits into
developmentfrom
feature/rework-push-oid-checking

Conversation

@matthewpeterkort

Copy link
Copy Markdown
Contributor

change push cmd oid checking to use a faster syfon based existence check instead of the base bulk row fetch

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 09886249d2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread internal/transfer/push.go
Comment on lines +160 to +162
if !s.presentInScope[oid] {
continue
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve cross-scope reusable lookups

When the new scoped endpoint reports an OID as missing in this project, this continue prevents loading any non-scoped checksum matches, so existingByHash[oid] stays empty. In that scenario the findReusableRecord path below never runs; a branch containing a pointer with no local payload but with a reusable object in another scope gets skipped as unavailable and the Git ref is still pushed with no metadata/payload for the target scope. Please keep a legacy/global lookup for missing-in-scope OIDs, or otherwise populate reusable records, before deciding to skip/register-upload.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant