Merged
Conversation
…rk policy create - Added --allow-ai-gateway and --allow-mcp-gateway CLI flags to network-policy create command - Updated CreateOptions interface to include new gateway flags - Extended network policy service types and functions to support new fields - Updated NetworkPolicyCreatePage UI component to display and edit new flags - Updated NetworkPolicyDetailScreen to show AI gateway and MCP gateway settings - Added proper type handling with ExtendedEgress interface for new fields
|
Cursor Agent can help with this pull request. Just |
- Upgraded @runloop/api-client from 1.6.0 to 1.9.0 which includes proper types for allow_ai_gateway and allow_mcp_gateway - Removed all 'as any' type casts from networkPolicyService.ts - Removed custom ExtendedEgress interface, now using types from API client - Updated NetworkPolicyListItem interface in list.tsx to include new gateway fields - Updated NetworkPolicyCreatePage and NetworkPolicyDetailScreen to use proper types without casts - All TypeScript compilation now passes with proper type safety
dines-rl
approved these changes
Feb 25, 2026
- Replace action-semantic-pull-request with custom github-script validation - Always fetch current PR data via API to avoid stale event payload on re-runs - Add workflow_dispatch trigger for manual re-runs - Maintain same validation rules: conventional commits with lowercase description
dines-rl
pushed a commit
that referenced
this pull request
Feb 26, 2026
🤖 I have created a release *beep* *boop* --- ## [1.11.0](v1.10.0...v1.11.0) (2026-02-26) ### Features * add model name config in Benchmark Jobs ([#118](#118)) ([08a67c7](08a67c7)) * **devbox:** add mcp hub to cli ([#124](#124)) ([02a1b5e](02a1b5e)) * network policy create flags ([#123](#123)) ([8419b69](8419b69)) ### Bug Fixes * bug with detail page stale data ([#120](#120)) ([148a7bc](148a7bc)) * detail pages sections for large things on small screens ([#122](#122)) ([059673a](059673a)) * unified polling hook ([#121](#121)) ([f014f2d](f014f2d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Description
This PR updates the
rl-clito support the newly introducedallow AI gatewayandallow MCP gatewayflags for network policy creation, aligning the CLI with recent backend controller changes.Note: PR titles should follow Conventional Commits format (e.g.,
feat(devbox): add support for custom env varsorfix(snapshot): resolve pagination issue) as they are used for automatic release notes generation.Type of Change
Related Issues
Closes #
Changes Made
--allow-ai-gatewayand--allow-mcp-gatewayflags to therl network-policy createcommand.CreateOptions,CreateNetworkPolicyParams,UpdateNetworkPolicyParams, andExtendedEgressto include the newallowAiGatewayandallowMcpGatewayfields.createNetworkPolicy,updateNetworkPolicy,getNetworkPolicy, andlistNetworkPoliciesfunctions innetworkPolicyServiceto handle the new gateway fields.allowAiGatewayandallowMcpGatewayinto theNetworkPolicyCreatePageand added display for these settings in theNetworkPolicyDetailScreen.Testing
Verified:
network-policy createdisplays the new flags.Checklist
Screenshots (if applicable)
Additional Notes
The new
allow AI gatewayandallow MCP gatewayflags default to "No" in the UI.Slack Thread