ext for all

This commit is contained in:
Nicolas Cantu 2025-09-19 17:15:48 +00:00
parent 77cb87b518
commit 073b2d4be6
8 changed files with 2454 additions and 0 deletions

View File

@ -71,3 +71,4 @@ Analyse du nœud dorchestration `lecoffre_node` et de son `docker-compose.yml

View File

@ -40,3 +40,4 @@

View File

@ -6,3 +6,255 @@
2025-09-19T13:23:38 WARN Files in the public directory are served at the root path.
2025-09-19T13:23:38 Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T13:23:38
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] > sdk_client@1.0.0 start
2025-09-19T17:13:49 [IHM] > vite --host 0.0.0.0
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T17:13:49 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T17:13:49 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM] 175 h.toLowerCase()
2025-09-19T17:13:49 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T17:13:49 [IHM]    ~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:49 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T17:13:49 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 77 newState['process_id'] = processId;
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T17:13:49 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:49 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:49 [IHM]
2025-09-19T17:13:50 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 706 const storages = diff.storages;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:07:17 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 166 await service.checkConnections([]);
2025-09-19T17:13:50 [IHM]    ~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T17:13:50 [IHM] 155 states: ProcessState[];
2025-09-19T17:13:50 [IHM]    ~~~~~~
2025-09-19T17:13:50 [IHM] 'states' is declared here.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] VITE v5.4.11 ready in 6620 ms
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T17:13:50 [IHM] ➜ Network: http://172.20.0.5:3003/
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] > sdk_client@1.0.0 start
2025-09-19T17:13:50 [IHM] > vite --host 0.0.0.0
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 1 import { Device, Process, SecretsStore } from "../pkg/sdk_client.js";
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 802 await service.updateMemberPublicName(process, newValue);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 861 const lastState = service.getLastCommitedState(process);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 870 const publicData = await service.getPublicData(process);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type '(h: string) => string' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => string'.
2025-09-19T17:13:50 [IHM] Types of parameters 'h' and 'value' are incompatible.
2025-09-19T17:13:50 [IHM] Type 'unknown' is not assignable to type 'string'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 174 state.commitmentHashes = Object.values(json.pcd_commitment).map((h: string) =>
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM] 175 h.toLowerCase()
2025-09-19T17:13:50 [IHM]   ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 209 const processId = state.certificate.process_id;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'Process | null' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 58 let newState = service.getStateFromId(process, stateId);
2025-09-19T17:13:50 [IHM]    ~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2322: Type 'Blob | null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:50 [IHM] Type 'null' is not assignable to type 'BlobPart'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 65 const blob = new Blob([encryptedData], { type: "application/octet-stream" });
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'generateProcessPdf' does not exist on type 'Services'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 74 await service.generateProcessPdf(processId, newState);
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS7053: Element implicitly has an 'any' type because expression of type '"process_id"' can't be used to index type 'ProcessState'.
2025-09-19T17:13:50 [IHM] Property 'process_id' does not exist on type 'ProcessState'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 77 newState['process_id'] = processId;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 3 import { Process } from '../../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2307: Cannot find module '../pkg/sdk_client.js' or its corresponding type declarations.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 7 import { RoleDefinition } from '../pkg/sdk_client.js';
2025-09-19T17:13:50 [IHM]    ~~~~~~~~~~~~~~~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2339: Property 'storages' does not exist on type 'UserDiff'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 706 const storages = diff.storages;
2025-09-19T17:13:50 [IHM]    ~~~~~~~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] WARN 5:13:38 PM [vite] warning: @rollup/plugin-typescript TS2345: Argument of type 'never[]' is not assignable to parameter of type 'Process'.
2025-09-19T17:13:50 [IHM] Property 'states' is missing in type 'never[]' but required in type 'Process'.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] 166 await service.checkConnections([]);
2025-09-19T17:13:50 [IHM]    ~~
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] pkg/sdk_client.d.ts:155:5
2025-09-19T17:13:50 [IHM] 155 states: ProcessState[];
2025-09-19T17:13:50 [IHM]    ~~~~~~
2025-09-19T17:13:50 [IHM] 'states' is declared here.
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] VITE v5.4.11 ready in 7270 ms
2025-09-19T17:13:50 [IHM]
2025-09-19T17:13:50 [IHM] ➜ Local: http://localhost:3003/
2025-09-19T17:13:50 [IHM] ➜ Network: http://172.20.0.11:3003/
2025-09-19T17:14:29 [IHM]
2025-09-19T17:14:29 [IHM] WARN Files in the public directory are served at the root path.
2025-09-19T17:14:29 [IHM] Instead of /public/style/4nk.css, use /style/4nk.css.
2025-09-19T17:14:29 [IHM]

File diff suppressed because it is too large Load Diff

View File

@ -22,3 +22,25 @@
2025-09-19T13:23:36 iframeUrl is already set
2025-09-19T13:23:37 targetOrigin is already set
2025-09-19T13:23:37 iframeUrl is already set
2025-09-19T17:13:41 [FRONT] ▲ Next.js 14.2.29
2025-09-19T17:13:41 [FRONT] - Local: http://bf96f82c6b28:3000
2025-09-19T17:13:41 [FRONT] - Network: http://172.20.0.4:3000
2025-09-19T17:13:41 [FRONT]
2025-09-19T17:13:41 [FRONT] ✓ Starting...
2025-09-19T17:13:41 [FRONT] ✓ Ready in 177ms
2025-09-19T17:13:41 [FRONT] targetOrigin is already set
2025-09-19T17:13:41 [FRONT] iframeUrl is already set
2025-09-19T17:13:41 [FRONT] ▲ Next.js 14.2.29
2025-09-19T17:13:41 [FRONT] - Local: http://bf96f82c6b28:3000
2025-09-19T17:13:41 [FRONT] - Network: http://172.20.0.4:3000
2025-09-19T17:13:41 [FRONT]
2025-09-19T17:13:41 [FRONT] ✓ Starting...
2025-09-19T17:13:41 [FRONT] ✓ Ready in 151ms
2025-09-19T17:14:17 [FRONT] targetOrigin is already set
2025-09-19T17:14:17 [FRONT] iframeUrl is already set
2025-09-19T17:14:27 [FRONT] targetOrigin is already set
2025-09-19T17:14:27 [FRONT] iframeUrl is already set
2025-09-19T17:14:28 [FRONT] targetOrigin is already set
2025-09-19T17:14:28 [FRONT] iframeUrl is already set
2025-09-19T17:14:28 [FRONT] targetOrigin is already set
2025-09-19T17:14:28 [FRONT] iframeUrl is already set

View File

@ -0,0 +1,3 @@
2025-09-19T17:13:52 [RELAY] [2025-09-19T15:11:12Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:38612: WebSocket protocol error: Handshake not finished
2025-09-19T17:13:52 [RELAY] [2025-09-19T15:24:36Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:44116: WebSocket protocol error: No "Connection: upgrade" header
2025-09-19T17:13:52 [RELAY] [2025-09-19T16:41:55Z ERROR sdk_relay] WebSocket handshake failed for 172.20.0.1:57946: WebSocket protocol error: Unsupported HTTP method used - only GET is allowed

1
log/test-start.log Normal file
View File

@ -0,0 +1 @@
2025-09-19T17:13:37+0000

View File

@ -30,3 +30,4 @@