Skip to content

Evented architecture for moderation system #4373

Evented architecture for moderation system

Evented architecture for moderation system #4373

Triggered via pull request September 27, 2023 15:51
Status Failure
Total duration 1m 18s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

repo.yaml

on: pull_request
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

25 errors and 6 warnings
Test (7/8)
Process completed with exit code 1.
Test (8/8)
The job was canceled because "_7_8" failed.
Test (8/8)
Process completed with exit code 1.
Test (5/8)
The job was canceled because "_7_8" failed.
Test (5/8)
The operation was canceled.
Test (6/8)
The job was canceled because "_7_8" failed.
Test (6/8)
The operation was canceled.
Test (2/8)
The job was canceled because "_7_8" failed.
Test (2/8)
The operation was canceled.
Test (1/8)
The job was canceled because "_7_8" failed.
Test (1/8)
The operation was canceled.
Test (4/8)
The job was canceled because "_7_8" failed.
Test (4/8)
The operation was canceled.
Test (3/8)
The job was canceled because "_7_8" failed.
Test (3/8)
The operation was canceled.
Build
Namespace '"/home/runner/work/atproto/atproto/packages/bsky/src/lexicon/types/com/atproto/moderation/defs"' has no exported member 'CommentType'.
Build
Namespace '"/home/runner/work/atproto/atproto/packages/bsky/src/lexicon/types/com/atproto/moderation/defs"' has no exported member 'CommentType'.
Build
Property 'reason' does not exist on type 'ActionResult'.
Build
Type '{ id: number; action: "com.atproto.admin.defs#takedown" | "com.atproto.admin.defs#flag" | "com.atproto.admin.defs#acknowledge" | "com.atproto.admin.defs#escalate" | "com.atproto.admin.defs#label" | "com.atproto.admin.defs#revert" | "com.atproto.admin.defs#report" | "com.atproto.admin.defs#mute"; ... 9 more ...; reso...' is not assignable to type 'ActionView | ActionView[]'.
Build
Object is possibly 'undefined'.
Build
Argument of type 'number[] | undefined' is not assignable to parameter of type 'FilterValueExpressionOrList<From<DatabaseSchemaType, "moderation_report">, "moderation_report", "id">'.
Build
Property 'comment' is missing in type '{ id: number; action: ActionType; durationInHours: number | undefined; subject: SubjectView; subjectBlobs: BlobView[]; createLabelVals: string[] | undefined; ... 5 more ...; resolvedReports: ReportView[]; }' but required in type 'ActionViewDetail'.
Build
Type '{ id: number; createdAt: string; reasonType: "com.atproto.moderation.defs#reasonSpam" | "com.atproto.moderation.defs#reasonViolation" | "com.atproto.moderation.defs#reasonMisleading" | "com.atproto.moderation.defs#reasonSexual" | "com.atproto.moderation.defs#reasonRude" | "com.atproto.moderation.defs#reasonOther"; r...' is missing the following properties from type 'ReportView': commentType, subjectView, subjectStatus
Build
Type '{ id: number; createdAt: string; reasonType: unknown; reason: {} | undefined; reportedBy: string; subject: SubjectView; resolvedByActions: ActionView[]; }' is missing the following properties from type 'ReportViewDetail': commentType, subjectView, subjectStatus
Build
Cannot find name 'ReversibleModerationAction'.
Verify: packages/api/tests/rich-text-detection.test.ts#L298
'detectedTags' is never reassigned. Use 'const' instead
Verify: packages/api/tests/rich-text-detection.test.ts#L299
'detectedIndices' is never reassigned. Use 'const' instead
Verify: packages/api/tests/rich-text-detection.test.ts#L301
'rest' is assigned a value but never used. Allowed unused vars must match /^_/u
Verify: packages/bsky/src/services/moderation/index.ts#L12
'ESCALATE' is defined but never used. Allowed unused vars must match /^_/u
Verify: packages/pds/tests/file-uploads.test.ts#L31
'cfg' is assigned a value but never used. Allowed unused vars must match /^_/u
Verify: packages/pds/tests/file-uploads.test.ts#L32
'serverUrl' is assigned a value but never used. Allowed unused vars must match /^_/u