Add error_message to connect artifact describe/list output#3407
Draft
Himanshu Singla (hisingla12) wants to merge 1 commit into
Draft
Add error_message to connect artifact describe/list output#3407Himanshu Singla (hisingla12) wants to merge 1 commit into
Himanshu Singla (hisingla12) wants to merge 1 commit into
Conversation
Surfaces the new error_message field from CamV1ConnectArtifactStatus so users see why artifact inspection failed instead of just status: FAILED. Draft: depends on a ccloud-sdk-go-v2/cam bump that isn't released yet (error_message is only in the public spec as of confluentinc/api#2615, not yet merged), so this doesn't build until that lands. Opening early for review of the CLI-side change itself.
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
Copilot started reviewing on behalf of
Himanshu Singla (hisingla12)
July 19, 2026 15:56
View session
There was a problem hiding this comment.
Pull request overview
Surfaces backend-provided Connect Artifact inspection failure details by exposing the error_message field in the Connect artifact list/describe outputs, helping users understand why an artifact is FAILED.
Changes:
- Add an
ErrorMessageoutput field to Connect artifact rendering. - Populate
ErrorMessagefromCamV1ConnectArtifactStatus.error_messageduring output conversion.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Environment string `human:"Environment" serialized:"environment"` | ||
| ContentFormat string `human:"Content Format" serialized:"content_format"` | ||
| Status string `human:"Status" serialized:"status"` | ||
| ErrorMessage string `human:"Error Message" serialized:"error_message"` |
Comment on lines
50
to
54
| Environment: artifact.Spec.GetEnvironment(), | ||
| ContentFormat: artifact.Spec.GetContentFormat(), | ||
| Status: artifact.Status.GetPhase(), | ||
| ErrorMessage: artifact.Status.GetErrorMessage(), | ||
| } |
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
Surfaces the new
error_messagefield fromCamV1ConnectArtifactStatus(Connect Artifact) so users see why artifact inspection failed instead of juststatus: FAILED.Note
Draft: this depends on a
ccloud-sdk-go-v2/cambump that hasn't been released yet, so it won't build until that lands. Opening early for review of the CLI-side change itself.Jira: CC-40048
Test plan
test/fixtures/output/connect/artifact/once the SDK bump lands and a FAILED-state scenario can be added to the fake test server