Skip to content

v1.0.2

Choose a tag to compare

@github-actions github-actions released this 22 Oct 01:14
· 123 commits to main since this release

Added

  • PreScale checks your host's rules before sending load. Vercel only permits load
    testing on Enterprise plans with prior notice, Netlify needs its express permission, and
    Cloudflare blocks load tests unless arranged. PreScale recognises these hosts from the first
    response and won't send load until you confirm you have permission:
    • In a terminal, run and investigate explain the rule and ask (the default is no).
    • In --json mode and scripts, pass --host-permission (or PRESCALE_HOST_PERMISSION=1).
    • prescale ci and the GitHub Action skip these deploys, say why in the PR comment and the
      job summary, and pass the check. Set host-permission: true if you have permission.
    • The MCP server refuses them unless it was started with PRESCALE_HOST_PERMISSION=1.

Changed

  • When a CDN's firewall blocks a test, PreScale now suggests testing locally or on staging
    you're allowed to load, or arranging the test with your host, instead of exempting your IP.

Fixed

  • Sites behind a CDN no longer get blamed for the CDN's limits. Load-testing a site on
    Vercel or Cloudflare from one machine can trip the CDN's DDoS protection, or measure its
    cache instead of your app. PreScale now tells you:
    • Responses marked by the CDN's firewall (x-vercel-mitigated, cf-mitigated) count as
      blocked by Vercel's firewall (or Cloudflare's), not as fast successes, and the report
      says from which level and how to exempt your IP for the test.
    • If the first request is already blocked, PreScale stops before sending any load.
    • Routes answered from the CDN's cache (x-vercel-cache, cf-cache-status, x-cache)
      are called out: a slowdown there is the CDN limiting one IP, not your app's capacity.
    • investigate reports these as edge_protection with fixes that apply, instead of a
      concurrency ceiling.

Full Changelog: v1.0.1...v1.0.2