Skip to content

Reject duplicate host config sections during parsing#773

Merged
ryanfowler merged 1 commit into
mainfrom
reject-duplicate-host-config
Jun 16, 2026
Merged

Reject duplicate host config sections during parsing#773
ryanfowler merged 1 commit into
mainfrom
reject-duplicate-host-config

Conversation

@ryanfowler

Copy link
Copy Markdown
Owner

Summary

  • Reject duplicate host section names while parsing config files instead of letting later sections replace earlier ones
  • Report the duplicate line and the first definition line in the error message
  • Update config docs and AGENTS guidance to describe the new rule

Testing

  • Added unit coverage for duplicate-host rejection in config parsing
  • Added HTTP integration coverage that verifies a duplicate host section fails with a line-numbered config error

@ryanfowler ryanfowler enabled auto-merge June 16, 2026 04:07
@ryanfowler ryanfowler merged commit 68c9e37 into main Jun 16, 2026
4 checks passed
@ryanfowler ryanfowler deleted the reject-duplicate-host-config branch June 16, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant