Skip to content

v0.18.0

Choose a tag to compare

@justapithecus justapithecus released this 12 Nov 16:42
5772b32

Runs that a host can bound, retry and run without a browser

Summary

This release adds the seams that a host needs to embed Quarry: a deadline per run, an outcome for a store's fault, runs without a browser, and a bound on stalled S3 requests. Quarry now requires Lode v0.17.1.

Highlights

  • Run deadline: quarry run --max-duration and RunConfig.MaxDuration end a run at its deadline with the outcome deadline_exceeded and exit code 5, which a host can retry.
  • Store faults: a sink's refusal ends a run as storage_error with exit code 4, which CONTRACT_INTEGRATION.md maps as retryable.
  • Runs without a browser: quarry run --no-browser and RunConfig.NoBrowser run a script that fetches over HTTP without Puppeteer or a Chromium.
  • retainHttpObject: the SDK retains an HTTP object of up to 1 GiB as one artifact through checked Range requests.
  • Stalled requests: each S3 read or write must progress within 60 seconds by default, which --storage-attempt-timeout sets, and a retried write that already landed no longer fails a run.
  • Listing reads: quarry list runs, list events and list artifacts take --read-timeout.

Breaking Changes

  • A run whose sink refuses its events ends as storage_error with exit code 4. Earlier releases reported policy_failure with exit code 3.

Upgrade Notes

  • A caller that retries a run by its exit code also retries on exit codes 4 and 5, which CONTRACT_CLI.md § Exit Codes defines.
  • A Go module that imports Quarry needs Lode v0.17.1.

Full Changelog: v0.17.0...v0.18.0