Skip to content

Validate tart push --concurrency and --chunk-size - #1380

Merged
yzhuang-oai merged 1 commit into
openai:mainfrom
LittleYier:fix/push-validate-concurrency-chunk-size
Oct 21, 2026
Merged

yzhuang-oai merged 1 commit into
openai:mainfrom
LittleYier:fix/push-validate-concurrency-chunk-size

Conversation

@LittleYier

Copy link
Copy Markdown
Contributor

tart push has no validate(), so it accepts --concurrency 0, which pull and clone reject. It also accepts a negative --chunk-size, which then hits the chunks(ofCount:) precondition and crashes on the first blob upload.

This adds the same concurrency check as pull/clone, rejects a negative chunk size, and adds a test.

Refs #1256.

Copilot AI balanced review requested due to automatic review settings October 21, 2026 10:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T11:01:22.193065Z 9238b01 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@edi-oai
edi-oai self-requested a review October 21, 2026 19:20
@yzhuang-oai
yzhuang-oai merged commit 6063c8e into openai:main Oct 21, 2026
1 check passed
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.

4 participants