feat(ops): add job center for cross-source job operations
Provide a unified ops console for inspecting, retrying and cancelling jobs across generation, template/kol assist, knowledge parse, desktop publish/task, compliance review and monitoring collect sources. Wires RabbitMQ for retry republish and consolidates the desktop_publish_jobs columns into the base migration. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,12 @@ CREATE TABLE IF NOT EXISTS desktop_publish_jobs (
|
||||
scheduled_at TIMESTAMPTZ,
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
||||
updated_at TIMESTAMPTZ NOT NULL DEFAULT now(),
|
||||
article_id BIGINT REFERENCES articles(id),
|
||||
article_version_id BIGINT REFERENCES article_versions(id),
|
||||
status VARCHAR(32) NOT NULL DEFAULT 'queued',
|
||||
compliance_blocked_record_id BIGINT,
|
||||
compliance_blocked_at TIMESTAMPTZ,
|
||||
compliance_blocked_reason TEXT,
|
||||
UNIQUE (desktop_id)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user