Skip to content

feat(verifier): support repository-scoped static host aliases - #145

Merged
tiammomo merged 1 commit into
mainfrom
tiammomo/feat/verification-host-aliases
Sep 8, 2026
Merged

feat(verifier): support repository-scoped static host aliases#145
tiammomo merged 1 commit into
mainfrom
tiammomo/feat/verification-host-aliases

Conversation

@tiammomo

@tiammomo tiammomo commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Closes #143

Provide repository-scoped static IPv4 aliases for mocked HTTP test hostnames while keeping verifier containers offline.


Read verification_hosts only from trusted user configuration. Validate hostname labels, literal IPv4 addresses and canonical duplicates; bind aliases to the repository policy and sandbox manifest. Pass structured Docker --add-host arguments to bootstrap and verification without changing isolation flags. Cover trust boundaries, argument construction and both execution phases; serialize the new table correctly in the real MCP transport fixture. Pre-commit verification passed 607 tests, lint, formatting, CLI smoke and build. This enables offline deer-flow Browserless tests that otherwise fail before reaching their mocked client.

Verified with uv run --python 3.12 python -W error::ResourceWarning -m unittest discover -s tests -v, uvx ruff check ., uvx ruff format --check ., uv run reposteward --help, uv build --offline.

Areas for careful review:

  • No known behavior changes outside the reported bug.

Implementation assistance: an external coding workspace was used to prepare the change and its
tests. tiammomo reviewed the final diff, understands it, and takes responsibility
for this contribution.

Closes #143

Signed-off-by: tiammomo <26957354+tiammomo@users.noreply.github.com>
@tiammomo
tiammomo marked this pull request as ready for review September 8, 2026 04:20
@tiammomo
tiammomo merged commit 72a8bcd into main Sep 8, 2026
1 check passed
@tiammomo
tiammomo deleted the tiammomo/feat/verification-host-aliases branch September 8, 2026 04:24
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.

feat(verifier): support repository-scoped static IPv4 host aliases

1 participant