Page MenuHomePhabricator

Set the status of DrydockResource to BROKEN instead of performing a hard-delete
AbandonedPublic

Authored by hach-que on Nov 18 2014, 11:45 PM.
Tags
None
Referenced Files
F19072629: D10871.id.diff
Nov 30 2025, 10:56 PM
F19063769: D10871.diff
Nov 29 2025, 7:42 PM
F18851314: D10871.id.diff
Oct 30 2025, 11:48 PM
F18846558: D10871.diff
Oct 29 2025, 7:39 PM
F18670321: D10871.diff
Sep 24 2025, 11:49 PM
F18641790: D10871.id26109.diff
Sep 18 2025, 9:44 PM
F18598986: D10871.id26108.diff
Sep 13 2025, 6:22 AM
F18393381: D10871.id26109.diff
Aug 29 2025, 9:08 AM

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

This sets the status of DrydockResource to BROKEN instead of performing a hard-delete. This ensures you can still view leases associated with builds and view leases in Drydock even if allocation fails.

Test Plan

Tested this with 5 leases waiting for the same resource, and having that resource fail allocation. Saw the expected result.

Diff Detail

Repository
rP Phabricator
Branch
drydock-no-delete
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3086
Build 3092: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

hach-que retitled this revision from to Set the status of DrydockResource to BROKEN instead of performing a hard-delete.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que edited the test plan for this revision. (Show Details)
epriestley edited edge metadata.

Depends on a bunch of other code. These changes are probably better just merged into those other diffs.

This revision now requires changes to proceed.Aug 8 2015, 6:27 PM