Skip to content

[Job Launcher] Remove CVAT job validations and content moderation code#3846

Open
flopez7 wants to merge 4 commits into3806from
flopez/3806-1
Open

[Job Launcher] Remove CVAT job validations and content moderation code#3846
flopez7 wants to merge 4 commits into3806from
flopez/3806-1

Conversation

@flopez7
Copy link
Contributor

@flopez7 flopez7 commented Mar 25, 2026

Issue tracking

#3806

Context behind the change

  • Removed legacy CVAT job creation logic from Job Launcher.
  • Removed CVAT-specific manifest creation and validation from the create flow.
  • Removed the GCV/content moderation flow and its cron job.
  • Updated job creation so jobs no longer wait for moderation before escrow creation.
  • Created new migration removing unused values.
  • Cleaned related config, .env.example, and tests.

How has this been tested?

  • Ran unit tests.
  • Deployed locally and created an escrow

Release plan

Deploy migrations and remove the following vars from env:

  • CVAT_JOB_SIZE
  • CVAT_MAX_TIME
  • CVAT_VAL_SIZE
  • CVAT_SKELETONS_JOB_SIZE_MULTIPLIER
  • GOOGLE_PROJECT_ID
  • GOOGLE_PRIVATE_KEY
  • GOOGLE_CLIENT_EMAIL
  • GCV_MODERATION_RESULTS_FILES_PATH
  • GCV_MODERATION_RESULTS_BUCKET
  • SLACK_ABUSE_NOTIFICATION_WEBHOOK_URL

Potential risks; What to monitor; Rollback plan

Check HCaptcha Jobs still working

@flopez7 flopez7 self-assigned this Mar 25, 2026
@vercel
Copy link

vercel bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
human-app Ready Ready Preview, Comment Mar 27, 2026 0:37am
human-dashboard-frontend Ready Ready Preview, Comment Mar 27, 2026 0:37am
staking-dashboard Ready Ready Preview, Comment Mar 27, 2026 0:37am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
faucet-frontend Ignored Ignored Preview Mar 27, 2026 0:37am
faucet-server Ignored Ignored Preview Mar 27, 2026 0:37am

Request Review

@flopez7 flopez7 requested review from Dzeranov and portuu3 March 25, 2026 15:59
@flopez7 flopez7 added the WIP Work In Progress label Mar 25, 2026
@flopez7 flopez7 marked this pull request as draft March 26, 2026 10:10
@vercel vercel bot temporarily deployed to Preview – human-dashboard-frontend March 26, 2026 12:57 Inactive
@vercel vercel bot temporarily deployed to Preview – staking-dashboard March 26, 2026 12:57 Inactive
@vercel vercel bot temporarily deployed to Preview – human-app March 26, 2026 12:57 Inactive
@flopez7 flopez7 removed the WIP Work In Progress label Mar 26, 2026
@flopez7 flopez7 marked this pull request as ready for review March 26, 2026 13:18
Copy link
Contributor

@Dzeranov Dzeranov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Please, create a dedicated branch to merge this PR to as we discussed
  2. There are still leftovers related to content moderation - gcv.ts, ErrorContentModeration, some vars in constants, etc.

JobStatus.MODERATION_PASSED,
);
const jobEntities = await this.jobRepository.findByStatus(JobStatus.PAID);
console.log('jobEntities', jobEntities);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
console.log('jobEntities', jobEntities);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants