Distinguishing recurring Event rollover from scheduled Topic bumping

AI-generated summary

Ethsim2 reports that recurring Event Topics temporarily resurface in the “Latest” list upon rollover, even without configured reminders. This behavior was reproduced on upstream Discourse and differs from scheduled bumpTopic reminders, which persistently update bumped_at and Activity timestamps. The temporary repositioning occurs because the code publishes a Latest update using the existing bumped_at value, rather than modifying it, whereas actual bumps create bumped: true posts. Ethsim2 provides a table and code references illustrating this distinction and confirms via simulation that configured bump reminders work as expected for persistent updates. The post concludes by asking whether the immediate resurfacing on rollover is intended to inform users of new dates, or if organizers should have independent control to prevent this temporary appearance, potentially limiting visibility to only the configured reminder times. Links to related discussions 337309 and 385379 are included for further context.

While reviewing my demonstration of #43187, I noticed that recurring Event Topics temporarily resurface in Latest following rollover, even when no reminders are configured.

I subsequently reproduced this on unmodified upstream Discourse at commit f3f0e776e6d, using simulated time.

Observed behaviour

Behaviour Ordinary recurring Event rollover Scheduled bumpTopic reminder
Latest update banner Yes Not observed in my test
Temporary repositioning in Latest Yes Not observed in my test
Persistent change to bumped_at No Yes
Updated Activity timestamp following a refresh No Yes
Automatic rescheduling for subsequent occurrences N/A Yes

After clicking the Latest update banner following an ordinary rollover, the existing Topic temporarily appeared above the pinned welcome Topic. Refreshing the page restored the original ordering.

This behaviour can also be seen in my video demonstration at 14:07, although the subsequent investigation was performed independently on upstream Discourse.

Existing implementation

The distinction appears to arise from two separate operations performed by the scheduled Event-date monitor:

if recurring
  TopicTrackingState.publish_latest(event_date.event.post.topic)
  event_date.event.set_topic_bump
end

The first operation publishes a Latest update using the Topic’s existing bumped_at value, rather than changing it:

The second operation checks for a configured bump reminder and calculates its execution time relative to the upcoming occurrence:

The Event bump job then creates a core Topic timer:

When executed, the corresponding core bump job creates an autobumped small-action post with bump: true:

Scheduled bump reminder verification

I verified that configuring:

reminders="bumpTopic.1.days"

schedules a persistent Topic bump one day before the upcoming occurrence.

For a fortnightly Event, the following results were observed:

Simulated time (GMT) Operation Resulting bumped_at
28 Dec 2026, 18:01 Topic creation 28 Dec 2026, 18:01
11 Jan 2027, 18:01 Recurrence rollover Unchanged
24 Jan 2027, 18:01 Recurrence rollover Unchanged
6 Feb 2027, 17:01 Scheduled Topic bump 6 Feb 2027, 17:01
7 Feb 2027, 18:01 Recurrence rollover Unchanged

Following the final rollover, I also confirmed that the next bump scheduling job was automatically enqueued for 20 February at 17:00, one day before the next occurrence.

These tests used manually executed jobs with automatic Sidekiq processing disabled. The subsequent reminder was verified at the queue level.

Potential enhancement

Would it be useful to provide independent control over whether recurring Events resurface in Latest immediately following rollover?

For example, an Event organiser might prefer the Topic to resurface only at the configured bump reminder time, rather than also appearing temporarily in Latest immediately after the previous occurrence ends.

Alternatively, is the unconditional publication to Latest intended to ensure that users become aware of the updated occurrence dates, independently of any configured reminder?

I’m interested in clarifying the intended behaviour before proposing any implementation changes.

This is existing upstream behaviour and is separate from the successor-topic functionality proposed in #43187.

Related discussions: