You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/update-cli-coverage.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -145,7 +145,7 @@ jobs:
145
145
- SDK api.md: Current directory - READ THIS FILE FIRST. This is the authoritative list of all SDK methods and their signatures.
146
146
- SDK *.go files: Current directory - Contains param structs (e.g., BrowserNewParams, DeploymentListParams) with all available options/fields.
147
147
- API Spec: /tmp/kernel-api/packages/api/stainless.yaml - SDK configuration with resources and methods
148
-
- API Spec: /tmp/kernel-api/packages/api/openapi.yaml - Full OpenAPI specification
148
+
- API Spec: /tmp/kernel-api/packages/api/openapi.yaml - Full OpenAPI specification. CHECK for x-cli-skip: true on endpoints - skip those from CLI coverage.
149
149
- CLI: /tmp/kernel-cli - Existing CLI commands
150
150
151
151
# Task
@@ -287,7 +287,8 @@ jobs:
287
287
# Constraints
288
288
- ALWAYS update the SDK version in go.mod - this is the primary purpose
289
289
- ALWAYS perform the full enumeration (Steps 2-4) - this is critical for finding gaps
290
-
- ALL SDK methods in api.md MUST have corresponding CLI commands - no exceptions
290
+
- ALL SDK methods in api.md MUST have corresponding CLI commands, EXCEPT those marked with x-cli-skip in openapi.yaml
291
+
- SKIP endpoints marked with x-cli-skip: true in openapi.yaml - these are internal endpoints (e.g., hosted UI auth flows) not suitable for CLI
291
292
- Streaming methods may have different CLI implementations (e.g., follow flags)
292
293
- Even if no coverage gaps are found, still create a PR for the SDK version bump
0 commit comments