关于Snap更新行为、时间阈值配置及功能请求渠道的技术咨询
Hey Jonathan, let's break down your questions one by one based on my experience with Snap's update system:
1. 你的Snap默认行为理解是否正确?
Yep, your breakdown is pretty much spot-on! Let me add a bit more clarity to make sure:
- Snap will automatically attempt updates in the background whenever the target app isn't running — this is its default, hands-off behavior.
- When an update is blocked because the app stays open, it starts sending warning notifications as soon as the update becomes available (that's the "0 days" trigger you noticed).
- After a 14-day grace period, if the app is still running and blocking the update, Snap will force-close the app and complete the update — this is the default hard cutoff for delayed updates.
2. 能否调整0/14天的时间阈值,甚至按应用单独配置?
Unfortunately, right now there's no official, supported way to tweak these two time values — either globally or on a per-app basis.
That said, there's a partial workaround for delaying updates manually: you can use the snap refresh --hold=<duration> command to temporarily pause updates for a specific app (e.g., snap refresh --hold=30d brave). But this is a one-time, manual action, not a persistent configuration that adjusts when notifications start or the automatic forced update timeline. And it doesn't change the notification trigger logic either.
As you mentioned, fully suppressing notifications isn't what you're after, so we can skip that option entirely.
3. 提交功能请求的渠道
If you want to push for a feature that lets you customize these time thresholds (either globally or per-app), here's where you can go:
- Head over to the Snapd GitHub repository (this is the core project that handles Snap's background services and update logic). First, search existing issues for keywords like "custom refresh grace period" or "per-app update notification timing" — if someone's already requested this, you can upvote the issue (click the 👍 reaction) to show your support. If not, create a new issue and detail your use case: explain that you leave apps like VSCode/Brave open for weeks, want to adjust when notifications start and the forced update window, and why this would help your workflow.
- You can also post about your request on the Snapcraft Forum — the community and Snap developers actively monitor discussions there, so it's another good place to get visibility for your feature idea.
备注:内容来源于stack exchange,提问作者Jonathan

