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
Unknown Object (File)
Tue, Jun 30, 1:14 PM
Unknown Object (File)
Apr 14 2026, 10:27 PM
Unknown Object (File)
Apr 7 2026, 3:22 PM
Unknown Object (File)
Apr 2 2026, 4:53 PM
Unknown Object (File)
Mar 28 2026, 12:04 AM
Unknown Object (File)
Mar 18 2026, 8:36 PM
Unknown Object (File)
Mar 15 2026, 4:09 AM
Unknown Object (File)
Feb 15 2026, 8:42 AM
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
Branch
drydock2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25690
Build 35518: arc lint + arc unit