Import and present repo metadata from GitHub and GitLab #1268
Annotations
5 errors
Fullcheck
Process completed with exit code 1.
|
Fullcheck:
api/src/env.ts#L26
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"oidcParams",
"clientId"
],
"message": "Required"
},
{
"code": "invalid_union",
"unionErrors": [
{
"issues": [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"termsOfServiceUrl"
],
"message": "Required"
}
],
"name": "ZodError"
},
{
"issues": [
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"termsOfServiceUrl"
],
"message": "Required"
}
],
"name": "ZodError"
}
],
"path": [
"termsOfServiceUrl"
],
"message": "Invalid input"
},
{
"code": "invalid_union",
"unionErrors": [
{
"issues": [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"readmeUrl"
],
"message": "Required"
}
],
"name": "ZodError"
},
{
"issues": [
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"readmeUrl"
],
"message": "Required"
}
],
"name": "ZodError"
}
],
"path": [
"readmeUrl"
],
"message": "Invalid input"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"githubPersonalAccessTokenForApiRateLimit"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "number",
"received": "nan",
"path": [
"port"
],
"message": "Expected number, received nan"
}
]
❯ Object.get error [as error] ../node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse ../node_modules/zod/lib/index.mjs:663:22
❯ src/env.ts:26:44
❯ src/core/adapters/GitHub/api/repo.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'oidcParams', 'clientId' ], message: 'Required' }, { code: 'invalid_union', unionErrors: [ { stack: 'ZodError: [\n {\n "code": "invalid_type",\n "expected": "string",\n "received": "undefined",\n "path": [\n "termsOfServiceUrl"\n ],\n "message": "Required"\n }\n]\n at file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:2908:56\n at Array.map (<anonymous>)\n at ZodUnion._parse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:2908:40)\n at ZodObject._parse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:2525:37)\n at ZodObject._parseSync (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:649:29)\n at ZodObject.safeParse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:679:29)\n at ZodObject.parse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:660:29)\n at /home/runner/work/sill/sill/api/src/env.ts:26:44\n at VitestExecutor.runModule (file:///home/runner/work/sill/sill/node_modules/vite-node/dist/client.mjs:362:5)\n at VitestExecutor.directRequest (file:///home/runner/work/sill/sill/node_modules/vite-node/dist/client.mjs:346:5)', issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'termsOfServiceUrl' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', name: 'ZodError', constructor: 'Function<ZodError>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'termsOfServiceUrl' ], message: 'Required' } ], format: 'Function<format>', toString: 'Function<toString>', message: '[\n {\n "code": "invalid_type",\n "expected":
|
Fullcheck:
api/src/tools/test.helpers.ts#L12
AssertionError: expected [ { softwareId: 6, …(4) } ] to deeply equal [ { softwareId: 6, …(4) } ]
- Expected
+ Received
Array [
Object {
"annuaireCnllServiceProviders": Array [
Object {
"name": "INNO3",
"siren": "538420753",
"url": "https://annuaire.cnll.fr/societes/538420753",
},
Object {
"name": "COMBODO",
"siren": "522588979",
"url": "https://annuaire.cnll.fr/societes/522588979",
},
Object {
"name": "APITUX",
"siren": "452887441",
"url": "https://annuaire.cnll.fr/societes/452887441",
},
Object {
"name": "POLLEN ROBOTICS",
"siren": "820266211",
"url": "https://annuaire.cnll.fr/societes/820266211",
},
Object {
- "name": "ézéo",
- "siren": "437827959",
- "url": "https://annuaire.cnll.fr/societes/437827959",
- },
- Object {
"name": "CENTREON",
"siren": "483494589",
"url": "https://annuaire.cnll.fr/societes/483494589",
},
Object {
"name": "Lan2Net",
"siren": "524457520",
"url": "https://annuaire.cnll.fr/societes/524457520",
},
Object {
"name": "WORTEKS",
"siren": "824429708",
"url": "https://annuaire.cnll.fr/societes/824429708",
},
Object {
"name": "PLICIWEB SOLUTIONS",
"siren": "499277713",
"url": "https://annuaire.cnll.fr/societes/499277713",
},
Object {
"name": "Ryxéo",
"siren": "450656731",
"url": "https://annuaire.cnll.fr/societes/450656731",
},
Object {
"name": "DEBAMAX",
"siren": "813965662",
"url": "https://annuaire.cnll.fr/societes/813965662",
},
Object {
"name": "Telnowedge",
"siren": "495075079",
"url": "https://annuaire.cnll.fr/societes/495075079",
},
Object {
"name": "WebGeoDataVore",
"siren": "449989573",
"url": "https://annuaire.cnll.fr/societes/449989573",
},
Object {
"name": "ALTER WAY",
"siren": "490932308",
"url": "https://annuaire.cnll.fr/societes/490932308",
},
Object {
"name": "Entr'ouvert",
"siren": "443170139",
"url": "https://annuaire.cnll.fr/societes/443170139",
},
Object {
"name": "EVOLIX",
"siren": "451952295",
"url": "https://annuaire.cnll.fr/societes/451952295",
},
],
"comptoirDuLibreSoftware": null,
"latestVersion": null,
"serviceProviders": Array [
Object {
"cdlUrl": "https://comptoir-du-libre.org/fr/users/4075",
"name": "Oziolab",
"website": "https://www.oziolab.fr",
},
Object {
"cdlUrl": "https://comptoir-du-libre.org/fr/users/4116",
"cnllUrl": "https://annuaire.cnll.fr/societes/524457520",
"name": "Lan2Net",
"siren": "524457520",
"website": "https://www.lan2net.fr/",
},
Object {
"cnllUrl": "https://annuaire.cnll.fr/societes/813965662",
"name": "DEBAMAX",
"siren": "813965662",
},
Object {
"cnllUrl": "https://annuaire.cnll.fr/societes/538420753",
"name": "INNO3",
"siren": "538420753",
},
Object {
"cnllUrl": "https://annuaire.cnll.fr/societes/449989573",
"name": "WebGeoDataVore",
"siren": "449989573",
},
Object {
"cnllUrl": "https://annuaire.cnll.fr/societes/499277713",
"name": "PLICIWEB SOLUTIONS",
"siren": "499277713",
},
Object {
"cdlUrl": "https://comptoir-du-libre.org/fr/users/398",
"name": "Probesys",
"website": "https://www.probesys.com",
},
Object {
"cdlUrl": "https://comptoir-du-li
|
Fullcheck:
api/src/env.ts#L26
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"oidcParams",
"clientId"
],
"message": "Required"
},
{
"code": "invalid_union",
"unionErrors": [
{
"issues": [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"termsOfServiceUrl"
],
"message": "Required"
}
],
"name": "ZodError"
},
{
"issues": [
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"termsOfServiceUrl"
],
"message": "Required"
}
],
"name": "ZodError"
}
],
"path": [
"termsOfServiceUrl"
],
"message": "Invalid input"
},
{
"code": "invalid_union",
"unionErrors": [
{
"issues": [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"readmeUrl"
],
"message": "Required"
}
],
"name": "ZodError"
},
{
"issues": [
{
"code": "invalid_type",
"expected": "object",
"received": "undefined",
"path": [
"readmeUrl"
],
"message": "Required"
}
],
"name": "ZodError"
}
],
"path": [
"readmeUrl"
],
"message": "Invalid input"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"githubPersonalAccessTokenForApiRateLimit"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "number",
"received": "nan",
"path": [
"port"
],
"message": "Expected number, received nan"
}
]
❯ Object.get error [as error] ../node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse ../node_modules/zod/lib/index.mjs:663:22
❯ src/env.ts:26:44
❯ src/core/adapters/GitHub/api/repo.ts:2:31
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'oidcParams', 'clientId' ], message: 'Required' }, { code: 'invalid_union', unionErrors: [ { stack: 'ZodError: [\n {\n "code": "invalid_type",\n "expected": "string",\n "received": "undefined",\n "path": [\n "termsOfServiceUrl"\n ],\n "message": "Required"\n }\n]\n at file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:2908:56\n at Array.map (<anonymous>)\n at ZodUnion._parse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:2908:40)\n at ZodObject._parse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:2525:37)\n at ZodObject._parseSync (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:649:29)\n at ZodObject.safeParse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:679:29)\n at ZodObject.parse (file:///home/runner/work/sill/sill/node_modules/zod/lib/index.mjs:660:29)\n at /home/runner/work/sill/sill/api/src/env.ts:26:44\n at VitestExecutor.runModule (file:///home/runner/work/sill/sill/node_modules/vite-node/dist/client.mjs:362:5)\n at VitestExecutor.directRequest (file:///home/runner/work/sill/sill/node_modules/vite-node/dist/client.mjs:346:5)', issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'termsOfServiceUrl' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', name: 'ZodError', constructor: 'Function<ZodError>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'termsOfServiceUrl' ], message: 'Required' } ], format: 'Function<format>', toString: 'Function<toString>', message: '[\n {\n "code": "invalid_type",\n "expected":
|
Fullcheck
api#test: command (/home/runner/work/sill/sill/api) /tmp/yarn--1741362760153-0.381757329288233/yarn run test exited (1)
|
Loading