Skip to content

Reject zero per-repo concurrency - #4

Closed
behinddwalls wants to merge 1 commit into
preetam/issue-78-request-limitsfrom
preetam/issue-79-per-repo-concurrency
Closed

behinddwalls wants to merge 1 commit into
preetam/issue-78-request-limitsfrom
preetam/issue-79-per-repo-concurrency

Conversation

@behinddwalls

@behinddwalls behinddwalls commented Sep 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

Summary

Why?

A zero-sized per-repository semaphore can never grant a permit, so a valid-looking configuration caused every Git request for a repository to wait indefinitely.

What?

Require server.max_concurrent_per_repo to be positive and add a regression test for the invalid zero value.

Test Plan

✅ cargo test -p walgit-config zero_per_repo_concurrency_is_rejected
✅ cargo fmt --all -- --check
✅ git diff --check

Issue

Closes tobi#79

Test Plan

Issues

ISSUE-79

Stack

  1. Remove ineffective arbitrary-want setting #2
  2. Enforce global request limits #3
  3. @ Reject zero per-repo concurrency #4
  4. Complete protocol v2 object-info support #5
  5. Remove ignored Git binary setting #6
  6. Apply configured store retry budget #7
  7. Remove unused transport switches #8
  8. Ignore macOS Finder metadata #9

## Summary

### Why?

A zero-sized per-repository semaphore can never grant a permit, so a valid-looking configuration caused every Git request for a repository to wait indefinitely.

### What?

Require `server.max_concurrent_per_repo` to be positive and add a regression test for the invalid zero value.

## Test Plan

✅ `cargo test -p walgit-config zero_per_repo_concurrency_is_rejected`
✅ `cargo fmt --all -- --check`
✅ `git diff --check`

## Issue

Closes tobi#79
@coderabbitai

coderabbitai Bot commented Sep 30, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@behinddwalls

Copy link
Copy Markdown
Owner Author

Superseded by upstream draft tobi#87.

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