feat(gateway): add read-only gateway commands - #1869
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## refactor #1869 +/- ##
============================================
+ Coverage 95.87% 95.98% +0.11%
============================================
Files 198 208 +10
Lines 9379 9636 +257
============================================
+ Hits 8992 9249 +257
Misses 387 387 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aidandaly24
force-pushed
the
feat/gateway-read-scaffolding
branch
from
July 30, 2026 22:26
dba8a06 to
e628edd
Compare
aidandaly24
marked this pull request as ready for review
July 30, 2026 22:36
Hweinstock
approved these changes
Jul 31, 2026
| expect(rule?.children().map((child) => child.name())).toEqual(["get", "list"]); | ||
| }); | ||
|
|
||
| test.each(["gateway", "gateway target", "gateway rule"])( |
Contributor
There was a problem hiding this comment.
i really like the test.each pattern, makes for some clear, concise, tests.
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
gateway get/list,gateway target get/list, andgateway rule get/listcommandsScope
This PR scaffolds Gateway read handlers only. It does not add Gateway mutations, synchronization, invocation, resource-policy or tag commands, or interactive TUI workflows.
Testing
bun test(524passing,0failing across47files)bun test --coverage(95.17%functions,97.93%lines overall; Gateway implementation files at100%)bun run typecheckbun run lint:checkbun run format:checkbun run buildbun run compile(Darwin, Linux, and Windows on x64 and arm64)e2e-testvalidation for all six reads and second-page token forwarding for Gateway, Target, and Rule listsThe recorded fixture graph uses persistent non-OAuth test resources and contains no credentials or secrets.