Page MenuHomePhabricator

Make storage adjustment a little nicer, especially the first time
ClosedPublic

Authored by epriestley on Sep 7 2016, 2:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 3:31 AM
Unknown Object (File)
Mon, Apr 29, 3:20 PM
Unknown Object (File)
Thu, Apr 25, 11:30 PM
Unknown Object (File)
Wed, Apr 24, 11:09 PM
Unknown Object (File)
Wed, Apr 17, 4:37 PM
Unknown Object (File)
Wed, Apr 17, 1:17 PM
Unknown Object (File)
Wed, Apr 17, 1:17 PM
Unknown Object (File)
Tue, Apr 16, 5:36 PM
Subscribers
None
Tokens
"Dat Boi" token, awarded by chad.

Details

Summary

Fixes T11583.

  • When users run bin/storage upgrade for the first time on a new install, we currently give them a prompt which feels rough and which they can only reasonably ever answer "yes" to.
  • We generally use cautionary language ("found issues with schema") in this workflow. Adjustments are now routine, so use more neutral and progress-oriented language ("found adjustments to apply").
Test Plan
  • Ran bin/storage upgrade --namesapce kappa123, got an adjustment using neutral language without prompting.
  • Dropped a key, ran bin/storage upgrade, got normal workflow (but with more neutral language).

Diff Detail

Repository
rP Phabricator
Branch
niceadjust
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 13607
Build 17532: Run Core Tests
Build 17531: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Make storage adjustment a little nicer, especially the first time.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Sep 7 2016, 4:05 PM
This revision was automatically updated to reflect the committed changes.