Skip to content

Feat: Optimistic writes #319

Feat: Optimistic writes

Feat: Optimistic writes #319

Triggered via pull request December 2, 2024 10:55
Status Failure
Total duration 45s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
typecheck
Argument of type '{ parent: { id: number; status: "live" | "deleted" | "moderator_hidden" | null; rkey: string; cid: string; createdAt: Date; authorDid: string & { __brand: "DID"; }; postId: number; body: string; parentCommentId: number | null; } | undefined; post: { ...; }; content: string; repo: string & { __brand: "DID"; }; }' is not assignable to parameter of type 'ApiCreateCommentInput'.
typecheck
frontpage#type-check: command (/home/runner/work/frontpage/frontpage/packages/frontpage) /home/runner/setup-pnpm/node_modules/.bin/pnpm run type-check exited (2)
typecheck
Process completed with exit code 2.
lint: packages/frontpage/lib/api/comment.ts#L58
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: packages/frontpage/lib/api/post.ts#L70
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: packages/frontpage/lib/api/vote.ts#L65
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: packages/frontpage/lib/data/db/post.ts#L8
'atprotoPost' is defined but never used. Allowed unused vars must match /^_/u
lint
frontpage#lint: command (/home/runner/work/frontpage/frontpage/packages/frontpage) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
lint
Process completed with exit code 1.