feat(gateway): manage execution role policies - #1994
Draft
aidandaly24 wants to merge 9 commits into
Draft
Conversation
aidandaly24
had a problem deploying
to
e2e-testing
August 13, 2026 16:27 — with
GitHub Actions
Failure
aidandaly24
force-pushed
the
feat/gateway-iam-lean
branch
from
August 13, 2026 16:28
213a299 to
116d459
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## refactor #1994 +/- ##
============================================
- Coverage 96.88% 96.71% -0.18%
============================================
Files 342 345 +3
Lines 19263 20286 +1023
============================================
+ Hits 18663 19619 +956
- Misses 600 667 +67 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
--role-arnis omitted--skip-role-policy-updatecurrent union desiredbefore mutations, wait for terminal state, then finalize or restorePermission coverage
Scope
This is the Gateway-only implementation. It intentionally does not add a cross-primitive compiler, ownership graph, drift reconciler, policy compaction framework, or IAM management for customer-provided roles.
Execution-role reconciliation supports one writer at a time per Gateway. Cross-process locking and concurrent Gateway-family mutations are outside V1. If Gateway deletion remains indeterminate after retries, the generated policy is retained rather than risking permission removal from a live Gateway; after confirming deletion, the policy can be removed manually.
The PR is based on
refactor, which includes the merged Gateway CRUD stack.Verification
156focused Gateway tests passedcurrent union desiredduring a live Lambda updateCUSTOM_JWTrejection and successful invocationAWS_IAMSigV4 invocationAll disposable Gateways, Targets, roles, and Cognito resources were removed after testing.