Skip to content

Start implementing reply form #37

Start implementing reply form

Start implementing reply form #37

Triggered via push December 5, 2023 13:33
Status Failure
Total duration 1m 0s
Artifacts

deploy.yml

on: push
⬣ ESLint
34s
⬣ ESLint
ʦ TypeScript
41s
ʦ TypeScript
⚡ Vitest
33s
⚡ Vitest
🎭 Playwright
50s
🎭 Playwright
🚀 Deploy
0s
🚀 Deploy
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 11 warnings
⚡ Vitest
Process completed with exit code 1.
⬣ ESLint: app/attention.ts#L3
'PostStats' is defined but never used
⬣ ESLint: app/attention.ts#L7
'assert' is defined but never used
⬣ ESLint: app/attention.ts#L176
'result' is assigned a value but never used
⬣ ESLint: app/db.ts#L2
'assert' is defined but never used
⬣ ESLint: app/db.ts#L8
'Post' is defined but never used
⬣ ESLint: app/exploration.ts#L7
'assert' is defined but never used
⬣ ESLint: app/exploration.ts#L11
'LocationType' is defined but never used
⬣ ESLint: app/probabilities.ts#L74
'_noteId' is assigned a value but never used
⬣ ESLint: app/probabilities.ts#L74
'_p' is assigned a value but never used
⬣ ESLint: app/probabilities.ts#L84
'_p' is assigned a value but never used
ʦ TypeScript: app/attention.ts#L150
Type 'Map<string, { tagId: number; views: number; votesPerView: number; }>' is not assignable to type 'Map<string, TagStatsAccumulator>'.
ʦ TypeScript: app/routes/posts+/$postId.tsx#L95
Property 'tag' is missing in type '{ post: JsonifyObject<{ id: number; createdAt: string; parentId: number | null; content: string; authorId: string; }>; note: JsonifyObject<{ id: number; createdAt: string; parentId: number | null; content: string; authorId: string; }> | null; }' but required in type 'PostProps'.
ʦ TypeScript: simulate-attention-share.ts#L26
Could not find a declaration file for module 'jstat'. '/home/runner/work/social-network/social-network/node_modules/jstat/dist/jstat.js' implicitly has an 'any' type.
ʦ TypeScript
Process completed with exit code 2.
🎭 Playwright
Process completed with exit code 1.
⬣ ESLint: app/attention.ts#L3
`#app/db/types.ts` import should occur before import of `#app/db.ts`
⬣ ESLint: app/attention.ts#L7
`assert` import should occur before import of `#app/db.ts`
⬣ ESLint: app/attention.ts#L9
`./beta-gamma-distribution.ts` import should occur before import of `./tag.ts`
⬣ ESLint: app/attention.ts#L14
`kysely` import should occur before import of `#app/db.ts`
⬣ ESLint: app/beta-gamma-distribution.ts#L51
Useless constructor
⬣ ESLint: app/beta-gamma-distribution.ts#L69
Useless constructor
⬣ ESLint: app/components/ui/feed.tsx#L15
Missing "key" prop for element in iterator
⬣ ESLint: app/components/ui/post.tsx#L3
`@remix-run/react` import should occur before import of `#app/components/ui/button.tsx`
⬣ ESLint: app/db/kysely-types.ts#L1
Prefer using inline type specifiers instead of a top-level type-only import
⬣ ESLint: app/db/types.ts#L2
`kysely` import should occur before type import of `#app/db/kysely-types.ts`
🎭 Playwright
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.