Page MenuHomePhabricator

Fix an issue where "arc" may fail on startup when trying to read older "default" config
ClosedPublic

Authored by epriestley on Mar 6 2020, 3:22 PM.
Tags
None
Referenced Files
F19817602: D21039.id.diff
Thu, Mar 5, 2:12 PM
F19600275: D21039.diff
Feb 3 2026, 3:11 AM
F19559722: D21039.diff
Jan 31 2026, 3:29 AM
F19512315: D21039.id50111.diff
Jan 12 2026, 4:26 PM
F19510712: D21039.id.diff
Jan 11 2026, 1:45 PM
F19510528: D21039.id50112.diff
Jan 11 2026, 11:17 AM
F19509742: D21039.diff
Jan 11 2026, 12:35 AM
F19509606: D21039.diff
Jan 10 2026, 10:52 PM
Subscribers
None

Details

Summary

See PHI1663. If "phabricator.uri" is not configured, we try to fall back to "default", but doesn't have a modern config specification and fails.

Instead, read "default" as a raw config value to preserve compatible behavior. My intent is to eventually remove it.

Test Plan

In a directory with no "phabricator.uri" config available, ran echo {} | arc call-conduit conduit.ping. After the patch, got a reasonable error instead of a fatal.

In a directory with "default" configured but not "phabricator.uri", ran the same command. After the patch, got a ping.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable