Repository navigation
feat(fetchdoc): named document services and precise denial reporting - #115
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. |
Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
pavelanni
force-pushed
the
feature/document-services
branch
from
November 6, 2026 23:53
82bb26e to
748c4e8
Compare
Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Pavel Anni <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
document_servicesmap toagent-config.yamlwith key (^[a-z0-9][a-z0-9-]*$) and absolute http/https URL validation.fetch_documentnow takesserviceanddocument_id; an unknown service fails before any network I/O, and the tool is registered only when services are configured.internal/egressgainsDescribeResponse,DescribeError, andLogCall: sandbox policy codes report asblocked by sandbox network policy, application errors such as403 invalid_audienceare preserved verbatim, and the HTTPS plaintext-denial string is mapped while generic connection-refused is not.--document-service-url/document_service_urland updates the demo ConfigMaps, deployments, dashboard, and testdata. The dashboard now injectsdocument_servicesinto the scenario ConfigMap instead of passing the flag.Stacked on #112 (WP04). This branch is based on
refactor/egress-clientsand includes its commits; rebase ontomainafter #112 merges.Tests
go test ./...green. New table tests cover denial shapes (JSON, HTML, oversized body, sandbox policy, token grant), error shapes (proxyconnect, HTTPS plaintext, DNS, deadline, connection refused), path escaping (../x?y), trailing-slash bases, header-free logging, unknown-service/no-request, and config validation.make lintreports 0 issues; both the main module and the dashboard module build.🤖 Generated with Claude Code