github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-02-15 06:50 pm

[dreamwidth/dreamwidth] 9e89ec: TheSchwartz deprecation [2 of 4]: Migrate 7 worker...

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: 9e89eca48d7a4e3045f36ac48cafa09870e58306 https://github.com/dreamwidth/dreamwidth/commit/9e89eca48d7a4e3045f36ac48cafa09870e58306 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-15 (Sun, 15 Feb 2026)

Changed paths: A .github/workflows/tasks/worker-dw-change-poster-id-service.json A .github/workflows/tasks/worker-dw-distribute-invites-service.json A .github/workflows/tasks/worker-dw-embeds-service.json A .github/workflows/tasks/worker-dw-import-eraser-service.json A .github/workflows/tasks/worker-dw-incoming-email-service.json A .github/workflows/tasks/worker-dw-support-notify-service.json A .github/workflows/tasks/worker-dw-xpost-service.json M .github/workflows/worker-deploy.yml M .github/workflows/worker22-deploy.yml M bin/incoming-mail-inject.pl A bin/worker/dw-change-poster-id A bin/worker/dw-distribute-invites A bin/worker/dw-embeds A bin/worker/dw-import-eraser A bin/worker/dw-incoming-email A bin/worker/dw-support-notify A bin/worker/dw-xpost M cgi-bin/DW/Controller/Admin/Invites.pm M cgi-bin/DW/Controller/Importer.pm A cgi-bin/DW/Task/ChangePosterId.pm A cgi-bin/DW/Task/DistributeInvites.pm A cgi-bin/DW/Task/EmbedWorker.pm A cgi-bin/DW/Task/ImportEraser.pm A cgi-bin/DW/Task/IncomingEmail.pm A cgi-bin/DW/Task/SupportNotify.pm A cgi-bin/DW/Task/XPost.pm M cgi-bin/DW/User/OpenID.pm M cgi-bin/LJ/EmbedModule.pm M cgi-bin/LJ/Protocol.pm M cgi-bin/LJ/Support.pm M config/workers.json

Log Message:


TheSchwartz deprecation [2 of 4]: Migrate 7 workers to SQS

Migrate the remaining application-level TheSchwartz workers to DW::TaskQueue/SQS: ChangePosterId, DistributeInvites, EmbedWorker, ImportEraser, IncomingEmail, SupportNotify, and XPost.

For each worker: - New DW::Task::* module with identical business logic - New bin/worker/dw-* script using DW::TaskQueue->start_work - ECS task definition and deploy workflow entries - Enqueue sites updated to dispatch DW::Task objects

Old TheSchwartz workers and scripts remain for draining existing jobs. Also removes stale use TheSchwartz from EmbedModule.pm and fixes a duplicate preview field in the embed dispatch payloads.

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications