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, Dec 13, 2:00 AM
Unknown Object (File)
Mon, Dec 9, 6:00 AM
Unknown Object (File)
Fri, Dec 6, 12:49 PM
Unknown Object (File)
Thu, Dec 5, 11:09 AM
Unknown Object (File)
Thu, Dec 5, 1:11 AM
Unknown Object (File)
Oct 22 2024, 9:13 PM
Unknown Object (File)
Oct 15 2024, 9:02 PM
Unknown Object (File)
Oct 15 2024, 9:02 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