Skip to content

docs(openapi): document branchName/prCreationFailed in fix changeDetails#2782

Open
rpapani wants to merge 2 commits into
mainfrom
docs/openapi-fix-changedetails-branch-fields
Open

docs(openapi): document branchName/prCreationFailed in fix changeDetails#2782
rpapani wants to merge 2 commits into
mainfrom
docs/openapi-fix-changedetails-branch-fields

Conversation

@rpapani

@rpapani rpapani commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

What

Documents the fix-entity changeDetails fields used by the code-patch (CWV) autofix path in the OpenAPI schema, including two new keys:

  • branchName (string) — the branch pushed to the repository when a PR could not be created.
  • prCreationFailed (boolean) — true when the branch was pushed but PR creation failed.

changeDetails remains free-form (additionalProperties: true); this adds a description enumerating the common code-patch keys so consumers (ASO UI) know what to expect.

Why

Follows up the cross-repo change that surfaces a pushed branch when PR creation fails:

  • spacecat-autofix-worker: adobe/spacecat-autofix-worker#666 (writes branchName/prCreationFailed into changeDetails)
  • ASO UI: OneAdobe/experience-success-studio-ui#2093 (renders "PR creation failed — branch pushed")

Notes

Docs-only change. npm run docs:lint passes (pre-existing warnings only).

🤖 Generated with Claude Code

Document the code-patch fix changeDetails keys (pullRequestUrl, issueUrl,
issueNumber, patchType) and add the new branchName + prCreationFailed fields
set by spacecat-autofix-worker when a branch is pushed but PR creation fails.
Docs-only; changeDetails stays additionalProperties: true.

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

This PR will trigger no release when merged.

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