Document MLC_REPO_LOCK_TIMEOUT - #325
Open
anandhu-eng wants to merge 1 commit into
Open
anandhu-eng wants to merge 1 commit into
anandhu-eng wants to merge 1 commit into
Conversation
|
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅ |
🤖 AI PR Review SummaryThis PR adds documentation and code comments about the repo lock timeout behavior for the |
anandhu-eng
force-pushed
the
docs/repo-lock-timeout
branch
from
September 23, 2026 23:11
e306884 to
04f14aa
Compare
anandhu-eng
changed the base branch from
copilot/fix-mlc-pull-repo-thread-safety
to
fix/pull-repo-no-destructive-cleanup
September 23, 2026 23:11
anandhu-eng
added this pull request to stack #324
September 29, 2026 13:28
anandhu-eng
force-pushed
the
docs/repo-lock-timeout
branch
from
September 29, 2026 13:52
04f14aa to
9863df8
Compare
Explain the variable's units, 1800 s default, fallback rules and timeout semantics next to its definition, and add a short user-facing note to the repo pull docs, since the timeout error tells users to raise it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
anandhu-eng
force-pushed
the
docs/repo-lock-timeout
branch
from
September 29, 2026 14:08
9863df8 to
5d2142d
Compare
This branch was successfully deployed
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.
Stack: #265 ← #323 ← #325 ← #326. Merge in that order: #323 into #265's branch first, then each next PR. This PR targets #323's branch.
#265 adds the
MLC_REPO_LOCK_TIMEOUTenvironment variable (default 1800 s). The timeout error tells users to raise it, but nothing documented it.Changes
mlc/repo_action.py: extends the comment next toREPO_LOCK_TIMEOUT_ENV, so the full behaviour is described where the variable is defined:pull repoandrm reporepos.jsonlockdocs/targets/repo/index.md: adds one bullet to the Pull section's notes. It sayspullwaits while another process holds the repo, what the default is, and how to raise it.Comment and docs only; no code changes. Unit tests pass locally (121).
🤖 Generated with Claude Code