mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-18 05:59:42 +02:00
Resolving the scratch graph downloads a registry packument for every name in it. Measured with a cold npm cache: 149MB for a 413-package closure, and 853MB for a full one. Both the real install and `--package-lock-only` pay this — it is the dominant cost of the step once the tarball bodies are gone, so it is what is worth caching. Keyed on the pnpm lockfile rather than the run id, so an entry is written once per dependency change. This cache shares a 10GB repo-wide budget with the pnpm store caches, and a per-run key would evict them. No `--prefer-offline`: a restored entry is revalidated, so a third-party release published since the entry was written still changes the resolution. Conditional requests cost a fraction of the bodies. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| ISSUE_TEMPLATE | ||
| poutine-rules | ||
| scripts | ||
| test-metrics | ||
| workflows | ||
| actionlint.yml | ||
| CI-TELEMETRY.md | ||
| CLAUDE.md | ||
| CODEOWNERS | ||
| DEVELOPING_V3.md | ||
| docker-compose.yml | ||
| OWNERS | ||
| pull_request_template.md | ||
| pull_request_title_conventions.md | ||
| WORKFLOWS.md | ||