Repository navigation
Conversation
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
101e5ee to
c5901b2
Compare
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
General PR Review:⏳ Provisional — deeper review still in progress. Review in progress; this comment will be replaced with the full summary. |
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
CredentialIssueOptionDescriptor.output lets a connector declare the credential IssueCredential returns. C1 binds the declared type before issuance. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
A descriptor advertising the Multipass api_key_v2 MIME type and tags round-trips through the wire format and passes Validate; a content type without a slash fails. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
61f186d to
dc065ae
Compare
Superseded — see the current review report for commit
|
Superseded — see the current review report for commit
|
There was a problem hiding this comment.
No blocking issues found — see the full review report
Field.content_type is only meaningful on the string-shaped fields, which the fixture and the round-trip assertion now reflect. Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Superseded — see the current review report for commit
|
General PR Review: IGA-5308: Declare typed output on credential issue descriptorsBlocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0 Review SummaryThe PR adds I scanned the full PR diff for security and correctness. I applied the repo-local criteria like this:
The incremental diff was complete ( Security IssuesNone found. Correctness IssuesNone found. SuggestionsNone. Resolved prior findings
Reviewed commit: |
There was a problem hiding this comment.
No blocking issues found — see the full review report
Squire (together/deepseek-ai/DeepSeek-V4.1-Flash-1017): A connector needs to declare what type of credential
IssueCredentialreturns, because C1 binds that type before issuance and the connector cannot set it afterwards.CredentialIssueOptionDescriptor.output(field 11) is ac1.config.v1.Field. The connector declares the returned credential's MIME type incontent_typeand its classification intags, and C1 reads both from the descriptor the request selects (optionplussecret_resource_type_id). It reuses #1213'sField.content_type(8) andField.tags(9) rather than adding new fields.Meaningful members are
name(the returnedPlaintextData.name),string_field(the value is a string),is_secret,content_type(decides the type) andtags(informational). Other members are ignored and should be left unset.The Multipass payload helpers — the per-type structs, the encoder and the decoder — live in ConductorOne/baton-multipass-sdk (
v0.0.1) rather than here. That repo is private for now.Test plan
go test ./pb/c1/connector/v2/ -run TestCredentialIssueOptionDescriptorOutput— a descriptor carryingapplication/vnd.multipass.api_key_v2+jsonwith tagscredential, multipass, api_key_v2round-trips through the wire format and passesValidate();content_type: "nope"fails on the^[^/]+/[^/]+$pattern.buf lint,golangci-lintv2.14.0 as CI pins it: 0 issues.