Scheduled posts show as published in dashboard but aren't visible publicly until manually saved
Description
When a post is scheduled for a future time and that time passes, the post appears as published in the user's dashboard but isn't actually visible on the public profile or in the feed. It only becomes publicly visible after a manual action such as clicking Save in the post editor.
Steps to reproduce
- Create a post and schedule it for a future time
- Wait for the scheduled time to pass
- Check the dashboard and notice the post appears as published
- Check the public profile and notice the post isn't visible there
- Open the post editor and click Save
- Check the public profile again and notice the post is now visible
Expected behavior
Once the scheduled time passes, the post should be publicly visible on the profile and in the feed without requiring any manual action from the user.
Observed behavior
The post shows a published status in the dashboard after the scheduled time passes, but it isn't publicly accessible. A manual save is required to trigger the actual publication.
Environment
Timezone: America/Argentina/San_Juan (UTC-3). The scheduling time is detected and displayed correctly in the editor.
Additional context
The issue seems to be in the job that transitions the post from scheduled to published state. The dashboard state updates correctly but the public visibility doesn't follow until the user interacts with the post manually.
Source: forem/forem