Skip to content

Harden npm version resolution backpressure#1143

Merged
andres-linero merged 1 commit intomainfrom
fix/npm-resolution-backpressure
Mar 29, 2026
Merged

Harden npm version resolution backpressure#1143
andres-linero merged 1 commit intomainfrom
fix/npm-resolution-backpressure

Conversation

@msaad00
Copy link
Copy Markdown
Owner

@msaad00 msaad00 commented Mar 29, 2026

Summary

  • open a short npm cooldown window after live 429s instead of repeatedly waiting through duplicate lookups
  • throttle npm unresolved-version resolution more conservatively than other ecosystems
  • add regression coverage for cooldown reuse and bundled fallback continuity

Validation

  • UV_CACHE_DIR=/tmp/agent-bom-uv-cache uv run pytest -q tests/test_resolver_cov.py tests/test_compact_output.py tests/test_core.py

@msaad00 msaad00 requested a review from andres-linero as a code owner March 29, 2026 21:13
@andres-linero andres-linero enabled auto-merge (squash) March 29, 2026 21:14
@andres-linero andres-linero merged commit fe1ff3c into main Mar 29, 2026
20 checks passed
@andres-linero andres-linero deleted the fix/npm-resolution-backpressure branch March 29, 2026 21:19
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.

3 participants