Skip to content

fix: repair broken main baseline (tsc 373 -> 0) - #576

Merged
dDevAhmed merged 3 commits into
DigiNodes:mainfrom
Ummi-001:fix/repair-broken-main
Sep 30, 2026
Merged

dDevAhmed merged 3 commits into
DigiNodes:mainfrom
Ummi-001:fix/repair-broken-main

Conversation

@Ummi-001

@Ummi-001 Ummi-001 commented Sep 30, 2026 •

Copy link
Copy Markdown

Summary

Closes #485
Closes #486
Closes #487
Closes #488

main (58e4df1) does not compile. This repairs the baseline so the repo builds again. No feature work is included.

Gate main (58e4df1) this branch
npm run type-check 373 errors 0 errors
npm run build fails passes
prisma validate — valid
lint (excl. prettier) 1604 errors 1447 (-157)

Diff: 493 files, +16471/-5715.

What was broken and what was fixed

Syntax-level corruption

  • claims.cache.ts, event-indexer.service.ts, notifications.service.ts, websocket.service.ts did not parse; restored valid pre-merge versions
  • Duplicate Redis set methods, duplicate main.ts bootstrap, duplicate database module metadata/class
  • Invalid JS regex in the redaction util; orphaned describe in the evidence integration spec
  • deterministic-rpc-failover.service.ts sat in the wrong directory
  • Broken uuid imports replaced with Node randomUUID

TypeORM 1 migration (type: "sqlite", array relations/select, foreignKeys metadata were all removed)

  • find({ order, take: 1 }) instead of findOne({ order }) for checkpoint reads
  • Object syntax for relations/select; dropped unsupported foreignKeys (migrations keep the real FK)
  • Accept extended SQLITE_CONSTRAINT* codes in duplicate detection
  • better-sqlite3 for the sqlite driver across all configs and explicit requires

BullMQ 6 migration

  • upsertJobScheduler for recurring jobs; dropped invalid paused job type

Type correctness

  • AuditLog.userId is nullable; propagated through the audit service and controller
  • Reconciled the duplicate NotificationCategory/NotificationPriority enums on the entity to the ones the service actually writes
  • Widened redactSensitiveData to unknown (it already String()d non-strings)
  • Express 5 exposes req.ip/req.ips as readonly getters; cors.middleware origin union narrowed to what is actually constructed

Deps / codegen

  • Added better-sqlite3, regenerated package-lock.json
  • Added Prisma BlockCursor, BlockCursorAncestor, ChainEvent models and regenerated the client

Known pre-existing problems, deliberately NOT addressed

  • ~1.4k lint errors remain, almost entirely type-aware no-unsafe-* across ~190 files this branch never touches.
  • 159/177 jest suites cannot run. @nestjs/common v12 is ESM-only ("type": "module") against a CommonJS jest config; jest needs Node >=24.9 for require(esm), and CI pins Node 20. 238 tests pass, 12 fail.

Both predate this branch, so lint and test:cov will still be red here. type-check going red -> green is the actual fix. These two warrant their own PRs.

origin/main (58e4df1) does not compile: 373 TypeScript errors, including
syntax-level breakage in claims.cache.ts, event-indexer.service.ts,
notifications.service.ts and websocket.service.ts. This repairs that
baseline so this branch is reviewable and buildable.

Syntax / structural repairs
- Restore pre-merge versions of the four files auto-merge corrupted
- Remove duplicate Redis set methods, main.ts bootstrap, database module
  metadata/class, and fix invalid JS regex in the redaction util
- Re-nest the orphaned evidence integration describe block
- Move deterministic-rpc-failover.service.ts under src/blockchain/
- Replace broken uuid imports with Node randomUUID

TypeORM 1 / BullMQ 6 migration
- find({ order, take: 1 }) instead of findOne({ order }) for checkpoints
- Object syntax for relations/select; drop unsupported foreignKeys metadata
- accept extended SQLITE_CONSTRAINT* codes in duplicate detection
- upsertJobScheduler for recurring jobs; drop invalid paused job types
- better-sqlite3 for sqlite driver in all configs and explicit requires

Deps / codegen
- Add better-sqlite3; regenerate package-lock
- Add Prisma BlockCursor/BlockCursorAncestor/ChainEvent models + regenerate

Type correctness
- AuditLog.userId is nullable; propagate through service and controller
- Reconcile duplicate NotificationCategory/NotificationPriority enums on the
  entity to the ones the service actually writes
- Widen redactSensitiveData to unknown (it already String()s non-strings)
- Express 5 read-only req.ip/req.ips override; narrow CORS origin union
- Spec fixes: CacheHealthService arg, isInitialized readonly, jest mock casts,
  DisputeOutcome.CONFIRMED, ProjectionFreshness partial double, Claim fixtures

Verified: tsc --noEmit 0 errors, nest build passes, prisma validate passes.

Known pre-existing issues (not introduced here, left in place)
- ~1.4k lint errors, almost all type-aware no-unsafe-* across untouched files
- 159/177 jest suites cannot load @nestjs/common v12 (ESM-only) under a CJS
  jest config; requires Node >=24.9 or downgrading to @nestjs/common v11
@Ummi-001
Ummi-001 requested a review from dDevAhmed as a code owner September 30, 2026 09:22
@coderabbitai

coderabbitai Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Too many files!

This PR contains 460 files, which is 360 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

⚙️ Run configuration

Configuration used: Repository: DigiNodes/truthbounty-api/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 7f54026c-e648-43bb-b82d-757c6b7189a8

📥 Commits

Reviewing files that changed from the base of the PR and between bfbcabf and b73e8a4.

⛔ Files ignored due to path filters (26)
  • package-lock.json is excluded by !**/package-lock.json
  • src/generated/client/browser.ts is excluded by !**/generated/**
  • src/generated/client/client.ts is excluded by !**/generated/**
  • src/generated/client/commonInputTypes.ts is excluded by !**/generated/**
  • src/generated/client/enums.ts is excluded by !**/generated/**
  • src/generated/client/internal/class.ts is excluded by !**/generated/**
  • src/generated/client/internal/prismaNamespace.ts is excluded by !**/generated/**
  • src/generated/client/internal/prismaNamespaceBrowser.ts is excluded by !**/generated/**
  • src/generated/client/models.ts is excluded by !**/generated/**
  • src/generated/client/models/AiUsageMetric.ts is excluded by !**/generated/**
  • src/generated/client/models/AnalyticsEvent.ts is excluded by !**/generated/**
  • src/generated/client/models/BlockCursor.ts is excluded by !**/generated/**
  • src/generated/client/models/BlockCursorAncestor.ts is excluded by !**/generated/**
  • src/generated/client/models/ChainEvent.ts is excluded by !**/generated/**
  • src/generated/client/models/ContextDocument.ts is excluded by !**/generated/**
  • src/generated/client/models/Conversation.ts is excluded by !**/generated/**
  • src/generated/client/models/Message.ts is excluded by !**/generated/**
  • src/generated/client/models/MetricAggregate.ts is excluded by !**/generated/**
  • src/generated/client/models/MonitoringMetric.ts is excluded by !**/generated/**
  • src/generated/client/models/OutboxEvent.ts is excluded by !**/generated/**
  • src/generated/client/models/ReportJob.ts is excluded by !**/generated/**
  • src/generated/client/models/SybilExplanation.ts is excluded by !**/generated/**
  • src/generated/client/models/SybilScore.ts is excluded by !**/generated/**
  • src/generated/client/models/User.ts is excluded by !**/generated/**
  • src/generated/client/models/Wallet.ts is excluded by !**/generated/**
  • src/generated/client/models/WorldIdVerification.ts is excluded by !**/generated/**
📒 Files selected for processing (460)
  • package.json
  • prisma/schema.prisma
  • src/admin/admin.controller.ts
  • src/admin/admin.module.ts
  • src/admin/admin.service.ts
  • src/admin/dashboard/dashboard.controller.ts
  • src/admin/dashboard/dashboard.service.spec.ts
  • src/admin/dashboard/dashboard.service.ts
  • src/admin/decorators/permissions.decorator.ts
  • src/admin/dto/incident.dto.ts
  • src/admin/dto/moderation.dto.ts
  • src/admin/entities/admin.entity.ts
  • src/admin/entities/incident.entity.ts
  • src/admin/entities/moderation-report.entity.ts
  • src/admin/guards/admin.guard.ts
  • src/admin/guards/roles.guard.ts
  • src/admin/incidents/incident.controller.ts
  • src/admin/incidents/incident.service.ts
  • src/admin/moderation/moderation.controller.ts
  • src/admin/moderation/moderation.service.ts
  • src/admin/protocol/dto/emergency.dto.ts
  • src/admin/protocol/dto/service-control.dto.ts
  • src/admin/protocol/protocol-admin.controller.ts
  • src/admin/protocol/protocol-admin.service.ts
  • src/admin/protocol/tests/protocol-admin.service.spec.ts
  • src/admin/tests/admin.service.spec.ts
  • src/admin/tests/incident.service.spec.ts
  • src/admin/tests/moderation.service.spec.ts
  • src/admin/tests/roles.guard.spec.ts
  • src/aggregation/aggregation.service.ts
  • src/aggregation/aggregation.spec.ts
  • src/aggregation/aggregation.types.ts
  • src/ai-assistant/ai-assistant.controller.ts
  • src/ai-assistant/ai-assistant.module.ts
  • src/ai-assistant/ai-assistant.service.spec.ts
  • src/ai-assistant/ai-assistant.service.ts
  • src/ai-assistant/config/ai.config.ts
  • src/ai-assistant/dto/ai-assistant.dto.ts
  • src/ai-assistant/llm-provider.service.ts
  • src/ai-assistant/metrics/ai-metrics.service.ts
  • src/ai-assistant/rag.service.ts
  • src/ai-assistant/services/ai-assistant.service.ts
  • src/ai-assistant/services/llm-provider.service.ts
  • src/ai-assistant/services/rag.service.spec.ts
  • src/ai-assistant/services/rag.service.ts
  • src/ai-assistant/services/safety-guardrail.service.ts
  • src/analytics/analytics.controller.ts
  • src/analytics/analytics.module.ts
  • src/analytics/analytics.service.ts
  • src/analytics/dto/analytics-query.dto.ts
  • src/app.module.ts
  • src/architecture.spec.ts
  • src/audit/audit.module.ts
  • src/audit/controllers/audit-log.controller.spec.ts
  • src/audit/controllers/audit-log.controller.ts
  • src/audit/dto/audit-query.dto.ts
  • src/audit/entities/audit-log.entity.ts
  • src/audit/interceptors/audit-logging.interceptor.ts
  • src/audit/processors/audit-log.processor.spec.ts
  • src/audit/processors/audit-log.processor.ts
  • src/audit/services/admin-audit.service.ts
  • src/audit/services/audit-metrics.service.spec.ts
  • src/audit/services/audit-metrics.service.ts
  • src/audit/services/audit-queue.service.spec.ts
  • src/audit/services/audit-queue.service.ts
  • src/audit/services/audit-retention.service.ts
  • src/audit/services/audit-trail.service.spec.ts
  • src/audit/services/audit-trail.service.ts
  • src/audit/services/compliance.service.spec.ts
  • src/audit/services/compliance.service.ts
  • src/audit/services/security-monitoring.service.spec.ts
  • src/audit/services/security-monitoring.service.ts
  • src/audit/utils/integrity.spec.ts
  • src/auth/auth.controller.ts
  • src/auth/auth.module.ts
  • src/auth/auth.service.spec.ts
  • src/auth/auth.service.ts
  • src/auth/authorization-matrix.spec.ts
  • src/auth/authorization-matrix.ts
  • src/auth/authorization-policy.service.ts
  • src/auth/dto/session.dto.ts
  • src/auth/filters/auth-exception.filter.spec.ts
  • src/auth/filters/auth-exception.filter.ts
  • src/auth/global-auth.guard.ts
  • src/auth/guards/admin.guard.spec.ts
  • src/auth/guards/admin.guard.ts
  • src/auth/guards/roles.guard.spec.ts
  • src/auth/guards/roles.guard.ts
  • src/auth/guards/service-auth.guard.spec.ts
  • src/auth/services/siwe.service.spec.ts
  • src/auth/services/siwe.service.ts
  • src/auth/services/token.service.spec.ts
  • src/auth/services/token.service.ts
  • src/auth/session.service.ts
  • src/auth/strategies/jwt.strategy.ts
  • src/blockchain/blockchain-reorg.integration.spec.ts
  • src/blockchain/blockchain.controller.ts
  • src/blockchain/deterministic-rpc-failover.service.spec.ts
  • src/blockchain/deterministic-rpc-failover.service.ts
  • src/blockchain/entities/index.ts
  • src/blockchain/entities/indexer-checkpoint.entity.ts
  • src/blockchain/entities/processed-event.entity.ts
  • src/blockchain/entities/token-balance.entity.ts
  • src/blockchain/interfaces/blockchain-event.interface.ts
  • src/blockchain/reconciliation.service.ts
  • src/blockchain/reorg-detector.service.ts
  • src/blockchain/state.service.ts
  • src/blockchain/utils/rpc-backoff.util.spec.ts
  • src/blockchain/utils/rpc-backoff.util.ts
  • src/blockchain/weighted-vote-resolution.service.ts
  • src/bootstrap.ts
  • src/cache/cache-health.service.spec.ts
  • src/cache/cache-health.service.ts
  • src/cache/cache.module.ts
  • src/cache/claims.cache.spec.ts
  • src/cache/claims.cache.ts
  • src/cache/exceptions/cache-unavailable.exception.ts
  • src/claims/claim-projector.service.spec.ts
  • src/claims/claim-resolution.invariant.spec.ts
  • src/claims/claim-resolution.invariant.ts
  • src/claims/claim-resolution.service.spec.ts
  • src/claims/claim-resolution.service.ts
  • src/claims/claims.controller.ts
  • src/claims/claims.module.ts
  • src/claims/claims.service.spec.ts
  • src/claims/claims.service.ts
  • src/claims/dto/create-claim.dto.ts
  • src/claims/entities/claim.entity.spec.ts
  • src/claims/entities/claim.entity.ts
  • src/claims/evidence-digest.util.spec.ts
  • src/claims/evidence-flag.service.spec.ts
  • src/claims/evidence-flag.service.ts
  • src/claims/evidence.integration.spec.ts
  • src/claims/evidence.service.spec.ts
  • src/claims/evidence.service.ts
  • src/claims/factories/claim.factory.ts
  • src/claims/v2/claim-feed.controller.ts
  • src/claims/v2/claim-feed.integration.spec.ts
  • src/claims/v2/claim-feed.service.spec.ts
  • src/claims/v2/claim-feed.service.ts
  • src/claims/v2/dto/claim-response.dto.ts
  • src/common/circuit-breaker/circuit-breaker.service.spec.ts
  • src/common/circuit-breaker/circuit-breaker.service.ts
  • src/common/circuit-breaker/dependency-guard.service.spec.ts
  • src/common/circuit-breaker/dependency-guard.service.ts
  • src/common/constants/error-codes.ts
  • src/common/decorators/current-user.decorator.ts
  • src/common/decorators/redact-logs.decorator.ts
  • src/common/decorators/throttle-by-wallet.decorator.ts
  • src/common/external-request.spec.ts
  • src/common/external-request.ts
  • src/common/filters/global-exception.filter.spec.ts
  • src/common/filters/global-exception.filter.ts
  • src/common/guards/wallet-throttler.guard.ts
  • src/common/idempotency/idempotency.guard.ts
  • src/common/idempotency/idempotency.middleware.ts
  • src/common/idempotency/idempotency.service.ts
  • src/common/interceptors/redact-error.interceptor.spec.ts
  • src/common/interceptors/redact-error.interceptor.ts
  • src/common/middleware/cors.middleware.ts
  • src/common/middleware/evidence-integrity.middleware.spec.ts
  • src/common/middleware/evidence-integrity.middleware.ts
  • src/common/middleware/forwarded-trust.middleware.ts
  • src/common/middleware/security-headers.middleware.ts
  • src/common/utils/hash.util.ts
  • src/common/utils/redaction.util.spec.ts
  • src/common/utils/redaction.util.ts
  • src/common/utils/timing-safe.util.spec.ts
  • src/config/blockchain.config.ts
  • src/config/data-source.ts
  • src/config/environment-validation.service.ts
  • src/config/finality-policy.service.spec.ts
  • src/config/finality-policy.service.ts
  • src/config/index.ts
  • src/config/indexer-config.service.ts
  • src/config/throttler.config.ts
  • src/constant/protocol.ts
  • src/contracts/contract-artifacts.loader.ts
  • src/contracts/contract-manifest-validator.service.spec.ts
  • src/contracts/contract-manifest-validator.service.ts
  • src/database/base.repository.ts
  • src/database/database-readiness.service.spec.ts
  • src/database/database-readiness.service.ts
  • src/database/database.module.ts
  • src/database/database.service.ts
  • src/database/migrations/1725000000000-V2Baseline.ts
  • src/database/migrations/1725000001000-SafeRemovedLogsAndBlocks.ts
  • src/database/migrations/migration-safety.spec.ts
  • src/database/migrations/migration-safety.ts
  • src/database/migrations/migration-validator.service.ts
  • src/database/seeds/seed.service.ts
  • src/dispute/dispute.controller.spec.ts
  • src/dispute/dispute.controller.ts
  • src/dispute/dispute.module.ts
  • src/dispute/dispute.service.ts
  • src/dispute/dto/create-dispute.dto.ts
  • src/dispute/dto/reject-dispute.dto.ts
  • src/dispute/dto/resolve-dispute.dto.ts
  • src/dispute/entities/dispute.entity.ts
  • src/dockerfile.spec.ts
  • src/domain/claim/claimState.ts
  • src/entities/user.entity.spec.ts
  • src/entities/wallet.entity.ts
  • src/feature-flags/configuration.service.ts
  • src/feature-flags/feature-flags.controller.ts
  • src/feature-flags/feature-flags.module.ts
  • src/feature-flags/feature-flags.service.ts
  • src/governance/governance.controller.spec.ts
  • src/governance/governance.controller.ts
  • src/governance/governance.service.spec.ts
  • src/governance/governance.service.ts
  • src/health/health.service.ts
  • src/health/utils/bounded-probe.util.ts
  • src/identity/identity.controller.ts
  • src/identity/identity.service.ts
  • src/identity/worldcoin/entities/world-id-verification.entity.ts
  • src/identity/worldcoin/worldcoin.controller.ts
  • src/identity/worldcoin/worldcoin.module.ts
  • src/identity/worldcoin/worldcoin.service.spec.ts
  • src/identity/worldcoin/worldcoin.service.ts
  • src/indexer/abi-versioning.service.ts
  • src/indexer/event-indexer.service.spec.ts
  • src/indexer/event-indexer.service.ts
  • src/indexer/indexer-chaos-recovery.spec.ts
  • src/indexer/indexer.controller.spec.ts
  • src/indexer/indexer.controller.ts
  • src/indexer/projection-rebuild.service.ts
  • src/indexer/projector-checkpoint.service.ts
  • src/indexer/projectors/claimProjector.ts
  • src/indexer/reorg-safe-cursor.service.spec.ts
  • src/indexer/reorg-safe-cursor.service.ts
  • src/ipfs/ipfs.config.ts
  • src/ipfs/ipfs.providers.ts
  • src/jobs/jobs.processor.ts
  • src/jobs/jobs.service.spec.ts
  • src/jobs/jobs.service.ts
  • src/jobs/jobs.types.ts
  • src/jobs/services/monitoring.service.ts
  • src/jobs/services/queue.service.ts
  • src/jobs/services/scheduler.service.ts
  • src/logger/app-logger.service.ts
  • src/logger/logger.module.ts
  • src/main.spec.ts
  • src/main.ts
  • src/metrics/metrics-auth.guard.ts
  • src/metrics/metrics.middleware.ts
  • src/metrics/metrics.service.ts
  • src/metrics/tests/metrics.service.spec.ts
  • src/migrations/1727164800000-AddEvidenceIntegrityHashes.ts
  • src/migrations/1769422695901-CreateUserAndWallet.ts
  • src/migrations/1769500000000-OptimizeClaimIndexes.ts
  • src/migrations/1769500000001-AdjustProcessedEventUniqueIndex.ts
  • src/migrations/1769500000002-AddProcessedEventPayload.ts
  • src/migrations/1769600000000-AddClaimResolvedAt.ts
  • src/migrations/1769700000000-CreateAiAssistantTables.ts
  • src/migrations/1769800000000-CreateV2CanonicalEventTables.ts
  • src/migrations/1769800100000-CreateV2EvidenceTables.ts
  • src/migrations/1769800300000-CreateV2DisputesTables.ts
  • src/migrations/1788100000000-CreateV2RewardAllocationTables.ts
  • src/migrations/1788200000000-CreateProjectionRebuildRuns.ts
  • src/migrations/1789100000000-AddEventCheckpointUpdatedAtIndex.ts
  • src/migrations/1790000000000-AddAuditLogHashChain.ts
  • src/migrations/1790000000000-AddDeploymentBlockToContractArtifact.ts
  • src/migrations/1790000000000-AddUserRoleToUsers.spec.ts
  • src/notifications/controllers/index.ts
  • src/notifications/controllers/internal-notification.controller.ts
  • src/notifications/controllers/notifications.controller.ts
  • src/notifications/dto/create-notification.dto.ts
  • src/notifications/dto/index.ts
  • src/notifications/dto/list-notifications.dto.ts
  • src/notifications/dto/notification.dto.ts
  • src/notifications/dto/query-notifications.dto.ts
  • src/notifications/dto/update-preference.dto.ts
  • src/notifications/dto/update-preferences.dto.ts
  • src/notifications/entities/delivery-history.entity.ts
  • src/notifications/entities/index.ts
  • src/notifications/entities/notification-delivery.entity.ts
  • src/notifications/entities/notification-preference.entity.ts
  • src/notifications/entities/user-notification-preference.entity.ts
  • src/notifications/enums/notification-type.enum.ts
  • src/notifications/interfaces/notification-payload.interface.ts
  • src/notifications/interfaces/notification.types.ts
  • src/notifications/metrics/notification.metrics.ts
  • src/notifications/notification.controller.ts
  • src/notifications/notification.processor.spec.ts
  • src/notifications/notifications.controller.ts
  • src/notifications/notifications.module.ts
  • src/notifications/notifications.processor.spec.ts
  • src/notifications/notifications.processor.ts
  • src/notifications/notifications.service.spec.ts
  • src/notifications/notifications.service.ts
  • src/notifications/processors/notification.processor.ts
  • src/notifications/services/delivery-history.service.ts
  • src/notifications/services/delivery/base-delivery.service.ts
  • src/notifications/services/delivery/delivery-channels.spec.ts
  • src/notifications/services/delivery/email-delivery.service.ts
  • src/notifications/services/delivery/in-app-delivery.service.ts
  • src/notifications/services/delivery/push-delivery.service.ts
  • src/notifications/services/delivery/sms-delivery.service.ts
  • src/notifications/services/delivery/webhook-delivery.service.ts
  • src/notifications/services/email.service.ts
  • src/notifications/services/index.ts
  • src/notifications/services/notification-preferences.service.ts
  • src/notifications/services/notification.processor.spec.ts
  • src/notifications/services/notification.processor.ts
  • src/notifications/services/notification.service.spec.ts
  • src/notifications/services/notification.service.ts
  • src/notifications/services/notifications.service.ts
  • src/notifications/services/template.service.spec.ts
  • src/notifications/services/template.service.ts
  • src/notifications/services/webhook.service.ts
  • src/notifications/services/websocket.service.ts
  • src/operation/backup-recovery-drill.service.ts
  • src/outbox/outbox.scheduler.ts
  • src/outbox/outbox.service.ts
  • src/pagination/stable-cursor.ts
  • src/pagination/users.pagination.ts
  • src/prisma/prisma.service.ts
  • src/profiler/interfaces/profiler.interface.ts
  • src/profiler/profiler.controller.ts
  • src/profiler/profiler.interceptor.ts
  • src/profiler/profiler.service.ts
  • src/profiler/sub-profilers/blockchain-profiler.ts
  • src/profiler/sub-profilers/database-profiler.ts
  • src/profiler/sub-profilers/job-profiler.ts
  • src/profiler/sub-profilers/notification-profiler.ts
  • src/profiler/sub-profilers/redis-profiler.ts
  • src/profiler/tests/profiler.controller.spec.ts
  • src/profiler/tests/profiler.service.spec.ts
  • src/profiler/tests/sampling-validation.spec.ts
  • src/profiler/tests/sub-profilers.spec.ts
  • src/queue/dead-letter-replay.service.ts
  • src/queue/retry-utils.ts
  • src/redis/redis.module.ts
  • src/redis/redis.provider.ts
  • src/redis/redis.service.ts
  • src/reputation/dto/query-reputation.dto.ts
  • src/reputation/reputation.controller.ts
  • src/reputation/reputation.module.ts
  • src/reputation/reputation.service.spec.ts
  • src/reputation/reputation.service.ts
  • src/rewards/dto/reward-claim-event.dto.ts
  • src/rewards/dto/reward-distribution-event.dto.ts
  • src/rewards/dto/update-reward.dto.ts
  • src/rewards/entities/reward-claim.entity.ts
  • src/rewards/repositories/reward-claim.repository.ts
  • src/rewards/rewards.controller.spec.ts
  • src/rewards/rewards.controller.ts
  • src/rewards/services/blockchain-listener.service.ts
  • src/scripts/backup-restore-drill.spec.ts
  • src/scripts/backup-restore-drill.ts
  • src/scripts/seed-ai-knowledge-base.ts
  • src/scripts/seed.ts
  • src/staking/entities/stake-event.entity.ts
  • src/staking/entities/stake.entity.ts
  • src/staking/project-stake.service.spec.ts
  • src/staking/staking-sync.service.ts
  • src/staking/staking.controller.spec.ts
  • src/staking/staking.controller.ts
  • src/storage/cid-verifier.ts
  • src/sybil-resistance/sybil-resistance.controller.ts
  • src/sybil-resistance/sybil-resistance.service.spec.ts
  • src/sybil-resistance/sybil-resistance.service.ts
  • src/sybil-resistance/sybil-resistant-voting.service.spec.ts
  • src/sybil-resistance/sybil-resistant-voting.service.ts
  • src/theme.controller.ts
  • src/theme.module.ts
  • src/theme.service.spec.ts
  • src/theme.service.ts
  • src/utils/confidence.ts
  • src/v2/block-cursor/block-cursor.service.ts
  • src/v2/chain-events/chain-event-dedup.service.integration.spec.ts
  • src/v2/chain-events/chain-event-dedup.service.ts
  • src/v2/chain-events/chain-event.types.ts
  • src/v2/common/data-state.enum.ts
  • src/v2/disputes/disputes-projector.service.integration.spec.ts
  • src/v2/disputes/disputes-query.service.spec.ts
  • src/v2/disputes/v2-disputes.module.ts
  • src/v2/events/artifact-registry.service.spec.ts
  • src/v2/events/artifact-registry.service.ts
  • src/v2/events/canonical-event-query.service.spec.ts
  • src/v2/events/canonical-events.service.integration.spec.ts
  • src/v2/events/canonical-events.service.ts
  • src/v2/events/event-decoder.service.ts
  • src/v2/events/reorg-rollback.service.integration.spec.ts
  • src/v2/events/reorg-rollback.service.ts
  • src/v2/events/v2-events.module.ts
  • src/v2/evidence/dto/verify-batch.dto.ts
  • src/v2/evidence/entities/project-evidence-version.entity.ts
  • src/v2/evidence/evidence-integrity.service.spec.ts
  • src/v2/evidence/evidence-integrity.service.ts
  • src/v2/evidence/evidence-projector.service.integration.spec.ts
  • src/v2/evidence/evidence.controller.spec.ts
  • src/v2/evidence/evidence.controller.ts
  • src/v2/evidence/v2-evidence.module.ts
  • src/v2/projection/projection-freshness.controller.spec.ts
  • src/v2/projection/projection-freshness.service.integration.spec.ts
  • src/v2/projection/projection-freshness.service.ts
  • src/v2/projection/protocol-projection-constraints.integration.spec.ts
  • src/v2/protocol-integrity-constraints.integration.spec.ts
  • src/v2/rebuild/projection-rebuild.cli.ts
  • src/v2/rebuild/projection-rebuild.service.integration.spec.ts
  • src/v2/rebuild/projection-rebuild.service.ts
  • src/v2/rebuild/projection-registry.ts
  • src/v2/rebuild/rebuild-checkpoint.spec.ts
  • src/v2/rewards/entities/project-reward-allocation.entity.ts
  • src/v2/rewards/reward-reconciliation.spec.ts
  • src/v2/rewards/reward-reconciliation.ts
  • src/v2/rewards/rewards-projector.service.integration.spec.ts
  • src/v2/rewards/rewards-projector.service.ts
  • src/v2/rewards/rewards-reconciliation.service.ts
  • src/v2/verification/entities/project-participant-position.entity.ts
  • src/v2/verification/v2-verification.module.ts
  • src/v2/verification/verification-projector.service.integration.spec.ts
  • src/v2/verification/verification-query.service.spec.ts
  • src/webhooks/dto/create-webhook.dto.ts
  • src/webhooks/entities/webhook-delivery.entity.ts
  • src/webhooks/entities/webhook-subscription.entity.ts
  • src/webhooks/entities/webhook.entity.ts
  • src/webhooks/webhooks.controller.spec.ts
  • src/webhooks/webhooks.controller.ts
  • src/webhooks/webhooks.processor.ts
  • src/webhooks/webhooks.service.spec.ts
  • src/webhooks/webhooks.service.ts
  • test/admin.e2e-spec.ts
  • test/aggregationConfidence.test.ts
  • test/ai-assistant-metrics.e2e-spec.ts
  • test/ai-assistant-provider-fallback.e2e-spec.ts
  • test/ai-assistant-rate-limit.e2e-spec.ts
  • test/ai-assistant.e2e-spec.ts
  • test/auth.e2e-spec.ts
  • test/cache-failure-isolation.e2e-spec.ts
  • test/chaos/harness/fault-injector.ts
  • test/chaos/harness/recovery-assertions.ts
  • test/claims.e2e-spec.ts
  • test/database.e2e-spec.ts
  • test/evidence/evidence-integrity.spec.ts
  • test/feature-flags.e2e-spec.ts
  • test/fixtures/contracts/blockchain.fixture.ts
  • test/fixtures/contracts/dispute.fixture.ts
  • test/fixtures/contracts/fixtures.example.spec.ts
  • test/fixtures/contracts/index.ts
  • test/fixtures/contracts/rewards.fixture.ts
  • test/fixtures/contracts/staking.fixture.ts
  • test/health.e2e-spec.ts
  • test/identity-security.e2e-spec.ts
  • test/identity.e2e-spec.ts
  • test/jobs.e2e-spec.ts
  • test/load/load-budget.spec.ts
  • test/outbox-idempotent-delivery.integration.spec.ts
  • test/redis.e2e-spec.ts
  • test/reorg-integration.e2e-spec.ts
  • test/reputation/reputation-calculation.spec.ts
  • test/search.e2e-spec.ts
  • test/utils/ai-assistant-auth.helper.ts
  • test/utils/ai-assistant-test.module.ts
  • test/utils/prisma-test-db.helper.ts
  • test/utils/test-helpers.ts
  • test/v2-architecture-compliance.e2e-spec.ts
  • test/weighted-vote-resolution.spec.ts

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

The enum re-point and priority column were semantic changes made against
58e4df1. Now that BE-020 (dcfd4c4) owns the notification module, revert them
so this repair PR touches no BE-020 files.
@dDevAhmed

Copy link
Copy Markdown
Contributor

Reference the issue you worked on @Ummi-001

@Ummi-001

Copy link
Copy Markdown
Author

dDevAhmed I just referenced the issue

@dDevAhmed
dDevAhmed merged commit 6e3d391 into DigiNodes:main Sep 30, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants