Page MenuHomePhabricator

Improve UX for repository updates
ClosedPublic

Authored by epriestley on Aug 21 2014, 4:16 PM.
Tags
None
Referenced Files
F19509543: D10323.diff
Sat, Jan 10, 9:52 PM
F19381463: D10323.diff
Fri, Dec 26, 11:29 PM
F19150235: D10323.id.diff
Dec 10 2025, 8:36 PM
F19086875: D10323.id24853.diff
Dec 2 2025, 11:01 PM
F19086545: D10323.id24853.diff
Dec 2 2025, 10:12 PM
F18936378: D10323.diff
Nov 10 2025, 8:08 PM
F18819922: D10323.id.diff
Oct 22 2025, 11:08 AM
F18815674: D10323.id24853.diff
Oct 21 2025, 3:10 AM
Subscribers

Details

Summary

Fixes T5926. Fixes T5830. Ref T4767. Users currently sometimes have a hard time understanding repository update frequencies. This is compounded by aggressive backoff and incorrect backoff while importing repositories.

  • Don't back off while importing repositories. This prevents us from hanging at 99.99% for inactive repositories while waiting for the next update.
  • Back off less aggressively in general, and even more gradually during the first 3 days. This should make behavior around weekends better.
  • Show update frequency in the UI.
  • Provide an explicit "update now" button to call diffusion.looksoon in a more user-friendly way.
  • Document how backoff policies work and how to adjust behavior.
Test Plan
  • Ran bin/phd debug pulllocal and verified backoff worked correctly from debugging output.
  • Clicked "Update Now" to get a hint, reloaded page to see it update.
  • Read documentation.

Diff Detail

Repository
rP Phabricator
Branch
back1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 2313
Build 2317: [Placeholder Plan] Wait for 30 Seconds