Skip to content
Snippets Groups Projects

a8n: Fix PublicationEnqueued by loading all ChangesetJobs for a Campaign

Created by: mrnugget

This fixes #8402 by loading all ChangesetJobs for a given Campaign/CampaignPlan to determine whether a CampaignJob has a ChangesetJob.

Before this change, the campaignJobsConnectionController would only include the CampaignJobs that didn't have a successfully processed ChangesetJob yet.

While publishing a Campaign that number, len(r.jobs), would go down.

Which in turn means that we would look at a smaller and smaller subset of ChangesetJobs to determine whether the CampaignJobs we did load have a ChangesetJob.

Merge request reports

Approval is optional

Merged by avatar (Aug 29, 2025 4:10am UTC)

Merge details

  • Changes merged into master with 4a93ceb6.
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading