github action: truncate PR titles to 256 chars to avoid GH api errors by opencode-agent[bot] · Pull Request #3727 · anomalyco/opencode · GitHub
Skip to content

github action: truncate PR titles to 256 chars to avoid GH api errors#3727

Merged
rekram1-node merged 1 commit into
devfrom
opencode/issue3723-20251102010549
Nov 2, 2025
Merged

github action: truncate PR titles to 256 chars to avoid GH api errors#3727
rekram1-node merged 1 commit into
devfrom
opencode/issue3723-20251102010549

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Nov 2, 2025

Copy link
Copy Markdown
Contributor

The fix has been implemented. The createPR function now truncates the title to 256 characters maximum, adding "..." if truncation occurs. This will prevent the GitHub API validation error when PR titles exceed the limit.

Closes #3723

New%20session%20-%202025-11-02T01%3A05%3A49.185Z
opencode session  |  github run

Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
@rekram1-node rekram1-node changed the title Fixed PR title truncation to 256 chars github action: truncate PR titles to 256 chars to avoid GH api errors Nov 2, 2025
@rekram1-node rekram1-node merged commit 2663415 into dev Nov 2, 2025
5 checks passed
@rekram1-node rekram1-node deleted the opencode/issue3723-20251102010549 branch November 2, 2025 01:10
xywsxp pushed a commit to xywsxp/opencode that referenced this pull request Apr 24, 2026
…anomalyco#3727)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request May 5, 2026
…anomalyco#3727)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
…anomalyco#3727)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
…anomalyco#3727)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
avion23 pushed a commit to avion23/opencode that referenced this pull request Jun 10, 2026
…anomalyco#3727)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Rwanbt pushed a commit to Rwanbt/opencode that referenced this pull request Jun 14, 2026
…anomalyco#3727)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
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.

Github runner crashing when creating PR with title too long

1 participant