Skip to content

feat(export): ajout de contexte sur l'erreur quand on récupère les docs #4990

feat(export): ajout de contexte sur l'erreur quand on récupère les docs

feat(export): ajout de contexte sur l'erreur quand on récupère les docs #4990

Triggered via pull request April 2, 2024 14:16
Status Success
Total duration 8m 21s
Artifacts

quality.yml

on: pull_request
Matrix: Lint
Matrix: Test

Annotations

10 errors and 56 warnings
Lint Dockerfile: docker/elasticsearch/Dockerfile#L1
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L35
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/alert-cli/Dockerfile#L38
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/contributions/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/contributions/Dockerfile#L34
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L3
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L5
DL3019 info: Use the `--no-cache` switch to avoid the need to use `--update` and remove `/var/cache/apk/*` when done installing packages
Lint Dockerfile: targets/export-elasticsearch/Dockerfile#L36
DL3026 error: Use only an allowed registry in the FROM image
Lint Dockerfile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint Dockerfile
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (frontend)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint (@socialgouv/cdtn-elasticsearch)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (alert-cli)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (alert-cli): targets/alert-cli/src/dares/__tests__/scrapping.test.ts#L40
'url' is assigned a value but never used
Lint (alert-cli): targets/alert-cli/src/dares/difference.ts#L29
Unexpected any. Specify a different type
Lint (alert-cli): targets/alert-cli/src/dares/scrapping.ts#L12
Unsafe argument of type `any` assigned to a parameter of type `string`
Lint (alert-cli): targets/alert-cli/src/dares/scrapping.ts#L20
Unsafe argument of type `any` assigned to a parameter of type `string`
Lint (alert-cli): targets/alert-cli/src/diff/dila/kali/types.ts#L3
Use an `interface` instead of a `type`
Lint (alert-cli): targets/alert-cli/src/diff/dila/legi/types.ts#L3
Use an `interface` instead of a `type`
Lint (alert-cli): targets/alert-cli/src/diff/dila/types.ts#L6
'DocumentReferences' is defined but never used
Lint (alert-cli): targets/alert-cli/src/diff/dila/types.ts#L26
Use an `interface` instead of a `type`
Test (@shared/utils)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (@shared/utils)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (export-elasticsearch)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/__tests__/cdtnDocuments.test.ts#L22
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/__tests__/cdtnDocuments.test.ts#L42
Unsafe argument of type `any` assigned to a parameter of type `{ [s: string]: unknown; } | ArrayLike<unknown>`
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/__tests__/cdtnDocuments.test.ts#L73
Unsafe argument of type `any[]` assigned to a parameter of type `OldContributionElasticDocument[]`
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/agreements/__tests__/getIdcc.test.ts#L10
Unsafe argument of type `any` assigned to a parameter of type `OldContributionElasticDocument[]`
Lint (export-elasticsearch): targets/export-elasticsearch/src/ingester/agreements/__tests__/getIdcc.test.ts#L10
Unsafe argument of type `any` assigned to a parameter of type `ContributionElasticDocument[]`
Test (@socialgouv/cdtn-elasticsearch)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (@socialgouv/cdtn-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (export-elasticsearch)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (export-elasticsearch)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (ingester)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint (ingester): targets/ingester/src/articles/kali/__tests__/indexed-article.test.ts#L25
Async arrow function has no 'await' expression
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unsafe argument of type `any` assigned to a parameter of type `Node`
Lint (ingester): targets/ingester/src/articles/kali/agreement-articles-with-path.ts#L22
Unexpected any. Specify a different type
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L5
Use an `interface` instead of a `type`
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L32
Unsafe argument of type `any` assigned to a parameter of type `Node`
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L32
Unexpected any. Specify a different type
Lint (ingester): targets/ingester/src/articles/legi/load-labour-code-articles.ts#L36
Unsafe return of an `any` typed value
Lint (ingester): targets/ingester/src/cli.ts#L157
Unsafe argument of type `any` assigned to a parameter of type `string`
Lint (ingester): targets/ingester/src/index.d.ts#L7
'LegalRef' is defined but never used
Test (frontend)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (frontend)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (alert-cli)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (alert-cli)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test (ingester)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test (ingester)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/