From 120993027e3ec45a8cd58ebeb1382f167bae8e3c Mon Sep 17 00:00:00 2001 From: "dodo-squirrels[bot]" <285060287+dodo-squirrels[bot]@users.noreply.github.com> Date: Tue, 1 Sep 2026 16:20:08 +0000 Subject: [PATCH] fix(generate): use commit subject as PR title and stop masking failures On 2026-09-01 the open_prs job reported success while opening ZERO of 9 SDK PRs. Two independent defects combined: 1. pr_title was the FULL commit message. A 1039-char, 20-line body exceeded GitHub's 256-char title limit, so createPullRequest rejected every call. Now only the subject line is used, truncated to 256 chars. 2. The failure was swallowed by `|| echo "PR create skipped (likely already exists / no diff)"`. That message was wrong by construction: the loop already queries for an existing PR and only calls create when none is found, so "already exists" cannot be the cause. The only benign failure left is an empty diff; everything else now prints the real gh error and fails the job. The docs PR had the same masking pattern. Its branch is unique per run and the no-diff case exits earlier, so any failure there is real -- it now fails the job instead of logging a benign-sounding skip. Verified against the actual message that broke it: 1039 chars -> rejected, 58-char subject -> accepted; a 411-char single-line subject truncates to 256. Stainless-Generated-From: 966af9593f3b8fcd5af44e40e13c88f80d45a832 --- CHANGELOG.md | 8 -------- README.md | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b8611e16..450a4b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,5 @@ # Changelog -## [1.115.0](https://github.com/dodopayments/dodopayments-java/compare/v1.114.0...v1.115.0) (2026-09-01) - - -### Features - -* **api:** add customer blocklist and manual payment retry ([585359e](https://github.com/dodopayments/dodopayments-java/commit/585359e3dfdf08056b5d89e0abcbeab22c771012)) -* **api:** add customer blocklist and manual payment retry ([38ac32f](https://github.com/dodopayments/dodopayments-java/commit/38ac32fb23befb1cc2dc55c61c9931e64219dec1)) - ## [1.114.0](https://github.com/dodopayments/dodopayments-java/compare/v1.113.0...v1.114.0) (2026-08-24) diff --git a/README.md b/README.md index debf6ac3..13c3a749 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Maven Central](https://img.shields.io/maven-central/v/com.dodopayments.api/dodo-payments-java)](https://central.sonatype.com/artifact/com.dodopayments.api/dodo-payments-java/1.115.0) -[![javadoc](https://javadoc.io/badge2/com.dodopayments.api/dodo-payments-java/1.115.0/javadoc.svg)](https://javadoc.io/doc/com.dodopayments.api/dodo-payments-java/1.114.0) +[![javadoc](https://javadoc.io/badge2/com.dodopayments.api/dodo-payments-java/1.115.0/javadoc.svg)](https://javadoc.io/doc/com.dodopayments.api/dodo-payments-java/1.115.0)