Repository navigation
v0.18.0
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-durationandRunConfig.MaxDurationend a run at its deadline with the outcomedeadline_exceededand exit code 5, which a host can retry. - Store faults: a sink's refusal ends a run as
storage_errorwith exit code 4, whichCONTRACT_INTEGRATION.mdmaps as retryable. - Runs without a browser:
quarry run --no-browserandRunConfig.NoBrowserrun 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-timeoutsets, and a retried write that already landed no longer fails a run. - Listing reads:
quarry list runs,list eventsandlist artifactstake--read-timeout.
Breaking Changes
- A run whose sink refuses its events ends as
storage_errorwith exit code 4. Earlier releases reportedpolicy_failurewith 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