Search admin and indexing improvements #1075
lint-pull-requests.yml
on: pull_request_target
Run linters for pull requests
39s
Annotations
4 errors and 6 warnings
test/src/api/routes/test-edition.js ► Browse Edition ► should NOT throw an error if there is no related publisher:
test-results.json#L0
Failed test found in:
test-results.json
Error:
insert into "bookbrainz"."publisher_type" ("label") values ($1) returning * - duplicate key value violates unique constraint "publisher_type_label_key"
|
test/src/api/routes/test-search.js ► GET /search ► "before all" hook for "should return search result for given query":
test-results.json#L0
Failed test found in:
test-results.json
Error:
index_not_found_exception
|
test/src/server/routes/collection.js ► POST /collection/create ► "after all" hook for "should correctly add collaborators in the collection":
test-results.json#L0
Failed test found in:
test-results.json
Error:
Timeout of 50000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/runner/work/bookbrainz-site/bookbrainz-site/test/src/server/routes/collection.js)
|
test/src/server/routes/collection.js ► POST /collection/create ► "before all" hook for "should correctly create collection and return with status code 200 for correct data":
test-results.json#L0
Failed test found in:
test-results.json
Error:
index_not_found_exception
|
src/client/components/pages/revision.js#L177
Unexpected 'todo' comment: 'TODO: Add proper error handling.' (no-warning-comments)
|
src/client/entity-editor/common/entity-search-field-option.js#L129
'props' is defined but never used (@typescript-eslint/no-unused-vars)
|
src/server/helpers/collectionRouteUtils.js#L22
'log' is defined but never used (@typescript-eslint/no-unused-vars)
|
src/server/routes/register.js#L22
'handler' is defined but never used (@typescript-eslint/no-unused-vars)
|
Run linters for pull requests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, wearerequired/lint-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run linters for pull requests
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, wearerequired/lint-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|