Skip to content

fix(specs): additional safetyChecks #4128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions specs/crawler/common/schemas/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -444,14 +444,14 @@ extraParameters:

safetyChecks:
type: object
description: Safety checks for ensuring data integrity between crawls.
description: Checks to ensure the crawl was successful.
properties:
beforeIndexPublishing:
$ref: '#/beforeIndexPublishing'

beforeIndexPublishing:
type: object
description: Checks triggered after the crawl finishes and before the records are added to the Algolia index.
description: These checks are triggered after the crawl finishes but before the records are added to the Algolia index.
properties:
maxLostRecordsPercentage:
type: number
Expand All @@ -464,6 +464,11 @@ beforeIndexPublishing:
minimum: 1
maximum: 100
default: 10
maxFailedUrls:
type: number
description: |
Stops the crawler if a specified number of pages fail to crawl.
If undefined, the crawler won't stop if it encounters such errors.

schedule:
type: string
Expand Down
Loading