Page MenuHomePhabricator

Improve messaging around repository locks
ClosedPublic

Authored by epriestley on Apr 27 2015, 2:22 PM.
Tags
None
Referenced Files
F13147016: D12574.diff
Fri, May 3, 11:55 AM
F13141213: D12574.diff
Fri, May 3, 4:24 AM
Unknown Object (File)
Mon, Apr 29, 4:31 PM
Unknown Object (File)
Thu, Apr 25, 12:10 AM
Unknown Object (File)
Wed, Apr 17, 1:54 PM
Unknown Object (File)
Wed, Apr 17, 6:26 AM
Unknown Object (File)
Thu, Apr 11, 4:54 AM
Unknown Object (File)
Apr 1 2024, 1:37 PM

Details

Summary

Fixes T6958. Ref T7484.

  • When we collide on a lock in bin/repository update, explain what that means.
  • GlobalLock currently uses a "lock name" which is different from the lock's actual name. Don't do this. There's a small chance this fixes T7484, but I don't have high hopes.
Test Plan

Ran bin/repository update X in two windows really fast, got the new message in one of them.

Diff Detail

Repository
rP Phabricator
Branch
lock1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 5536
Build 5555: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Improve messaging around repository locks.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Apr 27 2015, 5:18 PM

I tried to review this from mobile earlier in the AM, but I couldn't seem to navigate the symbol PhutilLock (which I needed to check out to make sure this getName() stuff was kosher).

I think I just have large, clumsy thumbs, but just tossing it out there.

There's some weird code with symbols because we try to wait for a second and see if you're double clicking to select. I'll file an issue, pretty sure it's a real bug related to that. Fix is probably to be smarter about 'touch' events always meaning 'click the symbol'.

This revision was automatically updated to reflect the committed changes.