Repository navigation
Document the prisma_saas adapter type in CLI help - #451
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
Author
|
/lc-review |
There was a problem hiding this comment.
AI Code Review Summary
No high or medium priority issues found.
General Feedback
test-time-budget: no check run was found for this commit. Branch protection and rulesets formasterdo not list it as a required check, so it does not block this PR.- The
cloud-adapter setexample usesplatform: prisma_saas, and theexternal-adapter sethelp now listsprisma_saasas aplatformdata format. Both other examples in this help useplatform: json. This repo has no list of valid platform values, so I could not confirm that the backend acceptsprisma_saasas a platform. If it does not, users who copy the example will get an invalid or wrongly parsed adapter. Please confirm the value, or usejson. - The first two new tests use the existing generic schema-derivation code with a hand-written schema. They confirm that the generic path handles a
prisma_saasproperty, but they do not show that the live backend schema contains this type. That is expected, because the type is discovered at runtime. These are not simulation tests: they call the realadapter_types,adapter_type_schemaand CLI code.
Blast Radius
The code changes are limited to help strings registered with register_explain (external-adapter.list, external-adapter.set, cloud-adapter.set), plus a CHANGELOG entry and unit tests. Runtime behaviour does not change. The only visible effect is the --ai-help / explain output for these commands, and any tooling that reads that text.
This review was generated automatically by Claude Code.
maximelb
marked this pull request as ready for review
November 6, 2026 03:47
lcbill
approved these changes
Nov 6, 2026
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
prisma_saas(Palo Alto SaaS Security, formerly Prisma SaaS) needs no hard-coded registration. This PR adds it to thecloud-adapter/external-adapterhelp text, with acloud-adapter setexample using ahive://secret/client secret, plus a CHANGELOG entry.list-types/schema --type prisma_saasresolve from a schema carrying theprisma_saasconfig (client_id,client_secret,region,base_url,max_concurrent_polls), and the help text documents the type.Test plan
pytest tests/unit/ tests/microbenchmarks/— 5245 passed, 5 skipped (pre-existing skips)🤖 Generated with Claude Code