Remove dead publish_status from Article, move to RouteArticle #99
Labels
No labels
bug
devops
duplicate
enhancement
good first issue
next major release
next minor release
question
testing
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lvl0/fedi-feed-router#99
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The
publish_statusfield on Article (unpublished/publishing/published/error) is no longer set by anything after the #85 refactor. Publishing now happens per route_article, so publish tracking should also be per route_article.Context
PublishApprovedArticleListenerused to setpublish_statuson Article during publishingPublishApprovedArticleListenerhandlingRouteArticleApproved) andPublishNextArticleJobwork withRouteArticleand don't touch Article'spublish_statusArticleResourceAPI response — but permanently staleTasks
publish_statusenum column toroute_articlestable (migration)PublishStatusEnum(unpublished/publishing/published/error)PublishNextArticleJobto set publish_status on route_article during publishingPublishApprovedArticleListenerto set publish_status on route_article during publishingpublish_statusfromarticlestable (migration)publish_statusfrom Article model (fillable, casts, docblock)publish_statusfromArticleResource