In T359873: Make the cupe_private column nullable it will be made possible to write NULL to the cupe_actor column of the cu_private_event table. This is to allow IP addresses to be the performer of events in that table without having to have an actor ID. A value of NULL will cause the interfaces to treat the performer of the event as the IP address in the cupe_ip column.
In this task, the CheckUserInsert service should be updated to set the cupe_actor column to NULL if temporary accounts are enabled and the performer is an IP address. This should be dependent on T359873 but that schema change does not need to be on WMF wikis for this ticket to be worked on as temporary accounts are not enabled on any WMF wikis which prevents this value being used on any WMF wikis until this is resolved (as this is a blocker for testwiki release).
Acceptance criteria
- NULL should the value of cupe_actor if the performer is an IP address and temporary accounts are enabled
QA Results - Local
| AC | Status | Details |
|---|---|---|
| 1 | ✅ | https://phabricator.wikimedia.org/T359962 here |



