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, Dec 20, 6:15 PM
Unknown Object (File)
Sun, Dec 8, 4:20 AM
Unknown Object (File)
Fri, Dec 6, 5:21 AM
Unknown Object (File)
Fri, Dec 6, 1:15 AM
Unknown Object (File)
Thu, Dec 5, 4:36 AM
Unknown Object (File)
Wed, Nov 27, 7:32 PM
Unknown Object (File)
Sat, Nov 23, 2:58 AM
Unknown Object (File)
Nov 19 2024, 10:28 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.