Page MenuHomePhabricator

Fix excessively harsh validation of certain complex configuration
ClosedPublic

Authored by epriestley on Jan 11 2016, 10:18 PM.
Tags
None
Referenced Files
F19071057: D14998.id36232.diff
Nov 30 2025, 6:22 PM
F19070430: D14998.id36231.diff
Nov 30 2025, 4:57 PM
F18783978: D14998.id36231.diff
Oct 13 2025, 11:17 AM
F18777372: D14998.id36232.diff
Oct 11 2025, 2:33 AM
F18765473: D14998.diff
Oct 7 2025, 11:31 AM
F18627083: D14998.diff
Sep 16 2025, 3:08 AM
F18102523: D14998.id36232.diff
Aug 9 2025, 9:28 PM
F18102521: D14998.id36231.diff
Aug 9 2025, 9:28 PM
Subscribers
None

Details

Summary

See IRC. We're supposed to repair configuration, but if custom validators throw a generic Exception or use PhutilTypeSpec to do a check, we may explode way harder than we intend to.

Instead, soften these exceptions into validation exceptions so we repair configuration, raise a setup issue, and continue.

Test Plan

Screen Shot 2016-01-11 at 2.16.15 PM.png (1×3 px, 385 KB)

Diff Detail

Repository
rP Phabricator
Branch
configcheck
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 10065
Build 12184: Run Core Tests
Build 12183: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Fix excessively harsh validation of certain complex configuration.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jan 11 2016, 10:19 PM
epriestley edited edge metadata.
  • "convert" instead of "conver"
This revision was automatically updated to reflect the committed changes.