Skip to content

Refactor lockfile detection to probe concurrently#26

Merged
mariojgt merged 1 commit into
mainfrom
feat/const-lock-file
Jun 25, 2026
Merged

Refactor lockfile detection to probe concurrently#26
mariojgt merged 1 commit into
mainfrom
feat/const-lock-file

Conversation

@mariojgt

Copy link
Copy Markdown
Contributor

Consolidate individual existence checks into a LOCKFILE_CANDIDATES list and probe them in parallel via Promise.all. Preserve priority by selecting the first present candidate in declaration order, reduce I/O overhead compared to sequential stat calls, add a LockfileCandidate type, and improve the error message to list expected filenames.

Consolidate individual existence checks into a LOCKFILE_CANDIDATES list and probe them in parallel via Promise.all. Preserve priority by selecting the first present candidate in declaration order, reduce I/O overhead compared to sequential stat calls, add a LockfileCandidate type, and improve the error message to list expected filenames.
@mariojgt

Copy link
Copy Markdown
Contributor Author

/review

@coderbuds

coderbuds Bot commented Jun 25, 2026

Copy link
Copy Markdown

Concurrent lockfile detection simplifies I/O and preserves priority order.

🎯 Quality: 92% Elite · 📦 Size: Small

📈 This month: Your 95th PR — above team average · Averaging Excellent

See how your team is trending →

@mariojgt mariojgt merged commit 7b9d2e9 into main Jun 25, 2026
4 checks passed
@mariojgt mariojgt deleted the feat/const-lock-file branch June 25, 2026 13:32
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.

2 participants