fix: align component example outputs with provider APIs#4916
Open
Vukotije wants to merge 45 commits into
Open
Conversation
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
Regenerate docs/components from integration example payloads after example JSON fixes. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
|
👋 Commands for maintainers:
|
- Merge: use sourceNodes with nodeId/receivedAt (matches Emit) - HTTP: remove spurious error field from success example - DigitalOcean app: restore blr1 data centers for Bangalore region Regenerate Core and DigitalOcean component docs MDX. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
5115003 to
435d91a
Compare
Contributor
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
There are 3 total unresolved issues (including 1 from previous review).
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6197fc4. Configure here.
- Use JSON integers for pipeline-execution-attempt and version (not 1.0) - Align status_update.incident with top-level incident (acme host, same summary) Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: Vukotije <vukanradojevicc@gmail.com>
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.

Fixes #3797
Summary
Example outputs shown in the workflow builder did not match what components actually emit, so users built expressions against the wrong shape. This PR updates integration and core component example JSON to match official provider/API documentation and the
Emit()payloads in Go, then regeneratesdocs/components/*.mdxso docs stay in sync.Changes are split one commit per integration (plus HTTP/Merge components and a final MDX regen commit) for easier review.
What changed
pkg/integrations/**and core components (http,merge)docs/components/*.mdxviamake gen.components.docsnullvalues Statuspage and others return)data: {}while emit passes the full response bodysourceNodesvssources, HTTP success payload including a spuriouserrorfield)Integrations touched
AWS, Bitbucket, CircleCI, Cloudflare, Dash0, Datadog, DigitalOcean, Discord, Docker Hub, Elastic, FireHydrant, GCP, GitHub, GitLab, Grafana, Hetzner, Honeycomb, LaunchDarkly, Logfire, New Relic, OpenAI, PagerDuty, Perplexity, Rootly, Semaphore, SendGrid, Slack, Microsoft Teams — plus HTTP and Merge core components.
Validation
make check.example.payloads— envelopetypematches each component’sEmit()make gen.components.docs— MDX regenerated from updated examplesNotes for reviewers
fix:commits (initial pass + restore of full API shapes); safe to squash per integration before merge if desired.make check.example.payloadschecks type/envelope, not full provider fidelity — future work could add stricter guards against key loss vs baseline.