Page MenuHomePhabricator

Fail in a more comprehensible way when a WorkingCopy lease omits or mangles "repositories.map"
ClosedPublic

Authored by epriestley on May 3 2022, 6:36 PM.
Tags
None
Referenced Files
F14406479: D21796.diff
Mon, Dec 23, 2:37 PM
Unknown Object (File)
Sat, Dec 14, 3:45 PM
Unknown Object (File)
Mon, Dec 2, 10:21 AM
Unknown Object (File)
Mon, Nov 25, 3:23 AM
Unknown Object (File)
Nov 11 2024, 5:15 AM
Unknown Object (File)
Nov 3 2024, 12:03 PM
Unknown Object (File)
Oct 17 2024, 12:12 PM
Unknown Object (File)
Oct 11 2024, 9:35 PM
Subscribers
Restricted Owners Package

Details

Summary

Ref T13676. When the required "repositories.map" attribute is omitted, bin/drydock lease currently fatals in an unhelpful way when trying to lease a working copy.

Test Plan

Ran bin/drydock lease --type working-copy with no attributes, after following steps in T13676.

<Allocation Failed> One or more blueprints promised a new resource, but failed when allocating: [PhutilAggregateException] All blueprints failed to allocate a suitable new resource when trying to allocate lease ("PHID-DRYL-orbtwtlinksm3xqpyhmw").
    - Exception: Working copy lease is missing required attribute "repositories.map".
      
      Attribute "repositories.map" should be a map of repository specifications.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable