Skip to content

feat(rate-limiting): add IP whitelist and admin bypass to quota guard #551

feat(rate-limiting): add IP whitelist and admin bypass to quota guard

feat(rate-limiting): add IP whitelist and admin bypass to quota guard #551

Triggered via pull request June 24, 2026 17:10
Status Failure
Total duration 45s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
validate: src/database/n1-query-detector.service.spec.ts#L38
Strings must use singlequote
validate: src/database/n1-query-detector.service.spec.ts#L30
Strings must use singlequote
validate: src/database/n1-query-detector.service.spec.ts#L29
Strings must use singlequote
validate: src/database/n1-query-detector.service.spec.ts#L28
Strings must use singlequote
validate: src/cohorts/cohorts.service.ts#L197
Replace `cohortId:·string,·assignmentId:·string,·userId:·string` with `⏎····cohortId:·string,⏎····assignmentId:·string,⏎····userId:·string,⏎··`
validate: src/cohorts/cohorts.module.ts#L13
Replace `⏎······Cohort,⏎······CohortMember,⏎······CohortThread,⏎······CohortComment,⏎······CohortAssignment,⏎····` with `Cohort,·CohortMember,·CohortThread,·CohortComment,·CohortAssignment`
validate: src/cohorts/cohorts.controller.ts#L74
Replace `⏎····@Param('id')·id:·string,⏎····@Body()·dto:·CreateCohortThreadDto,⏎····@Req()·req:·any,⏎··` with `@Param('id')·id:·string,·@Body()·dto:·CreateCohortThreadDto,·@Req()·req:·any`
validate: src/cohorts/cohorts.controller.ts#L48
Replace `⏎····@Param('id')·id:·string,⏎····@Body()·dto:·AddCohortMemberDto,⏎····@Req()·req:·any,⏎··` with `@Param('id')·id:·string,·@Body()·dto:·AddCohortMemberDto,·@Req()·req:·any`
validate: src/cohorts/cohorts.controller.ts#L1
Replace `⏎··Controller,⏎··Post,⏎··Get,⏎··Body,⏎··Param,⏎··Req,⏎··UseGuards,⏎··Delete,⏎` with `·Controller,·Post,·Get,·Body,·Param,·Req,·UseGuards,·Delete·`
validate: src/auth/services/token-blacklist.service.spec.ts#L15
Replace `⏎········TokenBlacklistService,⏎········{·provide:·CachingService,·useValue:·mockCachingService·},⏎······` with `TokenBlacklistService,·{·provide:·CachingService,·useValue:·mockCachingService·}`
validate
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
validate: src/auth/auth.service.ts#L43
'e' is defined but never used. Allowed unused caught errors must match /^_/u
validate: src/app.module.ts#L11
'MessagingModule' is defined but never used. Allowed unused vars must match /^_/u