Page MenuHomePhabricator

Improve UX for repository updates
ClosedPublic

Authored by epriestley on Aug 21 2014, 4:16 PM.
Tags
None
Referenced Files
F15443312: D10323.id24853.diff
Thu, Mar 27, 3:40 AM
F15443145: D10323.id24865.diff
Thu, Mar 27, 2:42 AM
F15442743: D10323.id.diff
Thu, Mar 27, 12:14 AM
F15437760: D10323.diff
Tue, Mar 25, 9:19 PM
F15406307: D10323.diff
Tue, Mar 18, 12:23 PM
F15391564: D10323.id24865.diff
Sat, Mar 15, 10:35 AM
F15375262: D10323.diff
Wed, Mar 12, 10:20 PM
Unknown Object (File)
Feb 22 2025, 3:50 PM
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
Lint
Lint Skipped
Unit
Tests Skipped