Page MenuHomePhabricator

Update storage layer for event goals
Closed, ResolvedPublic

Description

  • Create a new EventGoalsStore which also handles the JSON serializing and deserializing
  • Use that in EventStore (read and write)
  • Reads and writes to the new table should be behind a feature flag

Event Timeline

Daimona renamed this task from Storage layer / DB code (EventStore; a new EventGoalsStore which also handles the JSON parsing) to Update storage layer for event goals.Jan 13 2026, 10:39 PM
Daimona updated the task description. (Show Details)
cmelo changed the task status from Open to In Progress.Jan 29 2026, 4:30 AM
cmelo claimed this task.

Change #1235052 had a related patch set uploaded (by Cmelo; author: Cmelo):

[mediawiki/extensions/CampaignEvents@master] Add feature flag CampaignEventsEnableEventGoals

https://gerrit.wikimedia.org/r/1235052

Change #1235053 had a related patch set uploaded (by Cmelo; author: Cmelo):

[mediawiki/extensions/CampaignEvents@master] Update storage layer for event goals

https://gerrit.wikimedia.org/r/1235053

Change #1235052 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Add feature flag CampaignEventsEnableEventGoals

https://gerrit.wikimedia.org/r/1235052

Change #1235053 merged by jenkins-bot:

[mediawiki/extensions/CampaignEvents@master] Update storage layer for event goals

https://gerrit.wikimedia.org/r/1235053

Daimona subscribed.

Create a new EventGoalsStore which also handles the JSON serializing and deserializing

โœ… It's called EventGoalStore but obviously it's the same.

Use that in EventStore (read and write)

โœ… It's there

Reads and writes to the new table should be behind a feature flag

โœ… Via the isEventGoalFeatureEnabled() method.


Not user-facing, marking as done.