Skip to content

Strengthen Egress Gate mutation aggregation tests - #33

Merged
johnnygreco merged 4 commits into
mainfrom
johnny/egress-gate-mutation-aggregation-tests
Aug 6, 2026
Merged

Strengthen Egress Gate mutation aggregation tests#33
johnnygreco merged 4 commits into
mainfrom
johnny/egress-gate-mutation-aggregation-tests

Conversation

@johnnygreco

Copy link
Copy Markdown
Collaborator

Summary

  • prove that final request mutations are equivalent to applying three gates sequentially
  • cover progressive and overlapping regex redaction across multiple gates
  • cover interacting header operations, empty body replacement, and terminal allow behavior
  • add exact mutation-limit, local request-limit, protected-header, and extension-capability coverage
  • verify a three-gate redaction result through the gRPC boundary

Why

Egress Gate applies each gate to an updated immutable request and returns one
aggregate mutation result to OpenShell. These tests make that equivalence
explicit and cover the observable boundary cases that could change the final
forwarded request.

This is a test-only change.

Validation

  • make check — 248 tests passed
  • make check-py311 — 248 tests passed
  • formatting, lint, type checks, and dependency audit passed in both validation runs

@johnnygreco
johnnygreco marked this pull request as ready for review August 6, 2026 16:38
@johnnygreco
johnnygreco merged commit da6f31d into main Aug 6, 2026
9 checks passed
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