Page MenuHomePhabricator

[drydock/working-copies] Release leases when working copy operations fail
AbandonedPublic

Authored by hach-que on Jul 29 2015, 2:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 8:31 AM
Unknown Object (File)
Sat, Apr 27, 9:28 PM
Unknown Object (File)
Thu, Apr 25, 2:23 AM
Unknown Object (File)
Mon, Apr 22, 10:38 AM
Unknown Object (File)
Mon, Apr 22, 10:38 AM
Unknown Object (File)
Mon, Apr 22, 10:38 AM
Unknown Object (File)
Mar 15 2024, 1:53 PM
Unknown Object (File)
Feb 12 2024, 7:15 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T2015: Implement Drydock
Summary

Ref T2015. This makes sure that leases obtained by working copies are automatically released if exceptions occurs.

Test Plan

Not tested.

Diff Detail

Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 7438
Build 7916: [Placeholder Plan] Wait for 30 Seconds
Build 7915: arc lint + arc unit

Event Timeline

hach-que retitled this revision from to [drydock/working-copies] Release leases when working copy operations fail.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.

I think this is a mixture of stuff that's now handled slightly ahead of HEAD (roughly: when a lease fails, break the lease) and stuff that probably falls under T8153 (roughly: when a lease fails because a resource is bad, break the resource). I think the working copy cache handling falls into the second camp, particularly, if I'm reading it right.

epriestley edited edge metadata.

I believe HEAD now has consistent destruction/release behavior.

This revision now requires changes to proceed.Nov 2 2015, 4:46 PM