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)
Tue, Feb 11, 9:46 PM
Unknown Object (File)
Sun, Feb 9, 9:38 PM
Unknown Object (File)
Sat, Feb 8, 9:48 PM
Unknown Object (File)
Sat, Feb 8, 9:48 PM
Unknown Object (File)
Sat, Feb 8, 9:48 PM
Unknown Object (File)
Jan 30 2025, 5:29 PM
Unknown Object (File)
Jan 28 2025, 6:23 AM
Unknown Object (File)
Jan 26 2025, 11:52 AM
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

Repository
rP Phabricator
Branch
hachque-reconstructed
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 7796
Build 8624: [Placeholder Plan] Wait for 30 Seconds
Build 8623: 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