r/Devvit • • 2d ago

Feature Request Automatically update installed Devvit apps to the latest public version

I’d like to suggest that Devvit apps automatically update to their latest approved public version across all subreddits where they are installed.

Currently, whenever a developer releases a new version, each community's moderators need to manually update the app. This doesn't really scale as an app gains adoption across more communities.

There are several issues with the current approach:

Developers have to contact moderators individually whenever an important update is released.

Moderators aren't necessarily familiar with Devvit, where to manage installed apps, how to update them, or when a new version becomes available.

Different communities end up running different versions of the same app, making maintenance, troubleshooting, and support unnecessarily complicated.

Bug fixes, performance improvements, and security patches may never reach some communities.

Manually updating an app doesn't necessarily give moderators meaningful oversight, since they generally don't have the means to inspect or evaluate the underlying code changes anyway.

Once a new public version has been reviewed and approved by Reddit, I think it should automatically roll out to existing installations.

If moderator control is a concern, automatic updates could be enabled by default, with an option to opt out. Updates that introduce new permissions could still require explicit moderator approval.

As developers, we should be able to maintain and improve our apps without having to coordinate every release with every community that uses them. Likewise, moderators shouldn't need to actively manage app versions just to benefit from bug fixes and improvements.

Is there a particular reason automatic updates aren't supported today? Is this something the Devvit team would consider implementing?

7 Upvotes

16 comments sorted by

•

u/vip-bot 1d ago edited 1d ago

There are 2 comments from Reddit Admins in this post:

u/​lil_spazmin commented:

Like updating and skipping versions?

u/​lil_spazmin commented:

u/Beach-Brews Hit it on the head with his comment here, thanks for that!. We're currently exploring auto-updates and how it fits into our ecosystem right now, however, we don't have a timeline for this feature at this point in time.

Moderators have highlighted the following comments in this post:

u/​flair-auto-responder commented:

Feature request requirements

Hi u/Yoni676! We require all feature request submissions to include the following information. Please make sure you’re following this format, or your post may be removed:

Is your feature request related to a problem?

Describe the problem or limitation clearly. For example:

I’m always frustrated when…

Describe the solution you’d like

Describe what you would like to happen and how the feature would improve your experience.

Describe the a...


This summary was generated automatically. If you have any questions, please contact r/​Devvit moderators.

2

u/Beach-Brews Duck Helper 2d ago

Automatic updates have been discuss for eons at this point! However, it isn't simple...

Reddit wants to ensure mods have control over the apps. Sure auto-update could be "enabled" by default and mods could opt-out. However, then there are other things to consider which are harder to solve for.

What happens if a mod doesn't like a change and wants to downgrade? There isn't an easy way to do that now.

What happens when there are breaking changes or new settings that are required? Do you break the app temporarily across 1629 subs until the mods fix the settings? Do the mods understand what happened?

What if the developer wants control over the upgrade timing? Does it auto-update all at once when approved, then the develop let gets bombarded with requests suddenly over night because something broke on 1629 subreddits all at once?

What if the developer only wants to auto update specific version ranges? Like, auto update minors or patch versions (1.6.3 -> 1.7) but would like to notify mods of a major change (1.7 -> 2.0) which changes things significantly or requires data migrations?

Auto update sounds great, but shouldn't be rushed out!

2

u/Yoni676 2d ago

I think these are all valid points, but they're not really unique to Devvit. Pretty much every software product has to deal with these challenges.

It's the developer's responsibility to make sure that what they're releasing to production actually works, handles migrations properly and doesn't break existing installations. We already have ways to test things before releasing them publicly, whether it's through unlisted versions or having a separate staging app.

I do like the idea of giving developers more control over rollouts, though. For example, gradually rolling out an update to a percentage of installed subs, starting with smaller communities, or letting the developer decide when to roll out an approved version. Being able to pause a rollout or roll back would obviously be useful as well.

Regarding moderator control, I don't think most mods are actually reviewing what's changed or evaluating whether an update could break something before clicking the update button. In practice, they're already trusting the developer and Reddit's review process. New permissions are a different story, of course.

There's also a risk with the current approach. Communities can remain on outdated versions indefinitely, even when newer versions contain important bug fixes or security improvements.

I'm not saying this should be rushed, but having to reach out to potentially hundreds of moderators every time you release a bug fix doesn't seem reasonable either.

It feels odd that the more successful your app becomes, the harder it becomes to maintain it.

3

u/SampleOfNone Duck Helper 2d ago

Regarding moderator control, I don't think most mods are actually reviewing what's changed or evaluating whether an update could break something before clicking the update button. In practice, they're already trusting the developer and Reddit's review process. New permissions are a different story, of course.

You may very well be right about that, but also never underestimate mods want and need for control. Nothing gets mods hackles up as fast as changes being implemented in their sub without them being aware or having a choice.

Mods are actually quite suspicious of Reddits review process and that apps need to be installed with "everything" permission.

But also, not all devvit apps devs are professionals. So you also have to account for devs not familiar with with development and deployment practices.

Like beach says, it's been talked about for a long time, but there are a lot of things to figure out before a form of automating updates can be implemented

2

u/lil_spazmin Admin 1d ago

u/Beach-Brews Hit it on the head with his comment here, thanks for that!.

We're currently exploring auto-updates and how it fits into our ecosystem right now, however, we don't have a timeline for this feature at this point in time.

1

u/Yoni676 1d ago

Thanks for the response. Glad to hear it's being explored.

1

u/ryry50583583 1d ago

How would that work if the person does more than just update the version? Is that in discussion?

1

u/lil_spazmin Admin 1d ago

Like updating and skipping versions?

1

u/ryry50583583 1d ago

I mean like updating the version plus adding stuff other than just the update (eg new/edited features of the bot)

3

u/SeeTigerLearn App Developer 2d ago

My analytics mod tool looks for updated version numbering and updated descriptions in the app's wiki. When it sees an upgrade it immediately sends modmail to the SR where it is being ran out of to alert the moderators. There are other developers that have similar routines. I was inspired by u/fsv and some of his foundational infrastructure.

3

u/fsv Duck Helper 2d ago • Heartwarming

This is why I make all my public apps open source. I've learned so much from other developers and it's awesome when people take inspiration from what I've done.

I spread my upgrade notification crons randomly over a 24hr period. Maybe I should spread it out a bit more to give me some more time to get feedback from early adopters.

1

u/SeeTigerLearn App Developer 2d ago

Actually the massive upgrade that’s about to be rolled out also took inspiration from your randomization with cron jobs. So future new installs won’t be hitting the servers at the same time for each and every SR.

2

u/fsv Duck Helper 2d ago

Glad that was useful! I don't think that any of my migrated Devvit Web apps use cron schedules defined in devvit.json, it feels more natural to spread things out - even on apps that do things every few minutes, like Modqueue Tools and Alerts where each app polls on a 5 minute interval but each instance starts at a random minute.

1

u/SeeTigerLearn App Developer 1d ago

Because I have created a whole new identity layer to reduce storage redundancy and to fully comply with redacting and deleting account info, it runs a verification over the weekend to make sure nothing was missed. So some jobs are going to be long haulers and need to be in less busy times. But it does process a limited number of records, shuts down and invokes a new task until the entire weekly queue has been processed.

2

u/VitaminDJesus 15h ago

Hi, I have a lay opinion to add. As a mod, I want updates. I don't like having to remember to open the Installed Apps page once a month or whenever and click an update button 10 times. Having an automatic update option would save me the hassle. I came across this thread because I thought it was something I'd mention in IdeasForTheAdmins, but it's nice to see it's already been thought of.

1

u/flair-auto-responder 2d ago

Feature request requirements

Hi u/Yoni676!

We require all feature request submissions to include the following information. Please make sure you’re following this format, or your post may be removed:

Is your feature request related to a problem?

Describe the problem or limitation clearly. For example:

I’m always frustrated when…

Describe the solution you’d like

Describe what you would like to happen and how the feature would improve your experience.

Describe the alternatives you’ve considered

Describe any alternative solutions, features, or workarounds you have tried or considered.

Additional context

Include any other relevant details, examples, mockups, or screenshots that help explain the request. Please remove any sensitive or personal information first.


You can edit your post to add any missing information.

Post: https://www.reddit.com/r/Devvit/comments/1y6th2z/automatically_update_installed_devvit_apps_to_the/