feat(controller-peers-env-fallback): accept name= prefixes and report malformed controller entries cleanly (task 4.1)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
65ae25a1e6
commit
6eab344c6e
4 changed files with 89 additions and 7 deletions
|
|
@ -71,7 +71,7 @@
|
|||
- _Requirements: 1.1, 1.2, 1.3, 1.4, 1.5, 1.7_
|
||||
|
||||
- [ ] 4. xceadmin
|
||||
- [ ] 4.1 (P) Accept `name=` prefixes and report malformed entries cleanly when parsing controller candidates
|
||||
- [x] 4.1 (P) Accept `name=` prefixes and report malformed entries cleanly when parsing controller candidates
|
||||
- Write the failing tests first: a single `name=host:port`; a mixed named/bare list keeping its order; a non-numeric port raising the new controller-value error that quotes the entry; existing bare-host and list cases unchanged
|
||||
- Add the controller-value error next to the existing controller-reachability errors
|
||||
- Strip everything up to the first `=` in each entry before the existing host/port split; turn the failing port conversion into the new error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue