Skip to content

Add hidden instant operations list#31

Merged
HappySean2845 merged 1 commit into
stgfrom
codex/list-instant-operations-stg
Jun 16, 2026
Merged

Add hidden instant operations list#31
HappySean2845 merged 1 commit into
stgfrom
codex/list-instant-operations-stg

Conversation

@HappySean2845

Copy link
Copy Markdown
Contributor

Summary

  • Add hidden surf list-instant-operations command for instant-mode operation discovery.
  • Use blacklist filtering for instant-inappropriate operations, currently onchain-sql and onchain-structured-query.
  • Include parameter/request/response schema sections in --detail, and mark required params with * in the summary.

Test plan

  • go test ./cmd/surf -run 'TestListInstantOperations|TestFilterInstantOperations|TestFormatInstantParams|TestInstantDetailSections|TestShouldInjectAPIName|TestNeedsCachedAPI' -count=1
  • env HTTP_PROXY= HTTPS_PROXY= ALL_PROXY= 'NO_PROXY=*' http_proxy= https_proxy= all_proxy= 'no_proxy=*' go test ./cmd/surf -count=1

Note: local go test ./... -count=1 was interrupted after hanging without output for several minutes; no git tag was created.

@HappySean2845
HappySean2845 merged commit a373b66 into stg Jun 16, 2026
3 checks passed
@HappySean2845
HappySean2845 deleted the codex/list-instant-operations-stg branch June 16, 2026 11:31
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