Skip to content

fix: remove silent failure from release-please github-release step#329

Merged
ankitTelnyx merged 1 commit into
masterfrom
fix/remove-silent-failure-release-please
Jun 23, 2026
Merged

fix: remove silent failure from release-please github-release step#329
ankitTelnyx merged 1 commit into
masterfrom
fix/remove-silent-failure-release-please

Conversation

@ankitTelnyx

Copy link
Copy Markdown
Collaborator

The || true after the github-release command was silently swallowing tag creation failures.

Problem

When release-please tried to create the v4.162.0 tag/release, the tag protection ruleset blocked it. The || true swallowed the error, so the workflow reported success but no tag or release was created. This was only discovered when PyPI publish didn't trigger.

Fix

  • Added SDK_WRITE_TOKEN actor to tag ruleset bypass list (already done)
  • Removed || true so future failures are visible

Context

Part of the STLC promote cutover for Python SDK.

The || true was silently swallowing tag creation failures.
This caused the v4.162.0 release to silently fail — the workflow
reported success but no tag/release was created.

Root cause was the tag protection ruleset blocking SDK_WRITE_TOKEN.
Fixed by adding the token's actor to the ruleset bypass list.

Now that the bypass is in place, removing || true ensures any
future failures are visible instead of silently swallowed.
@ankitTelnyx ankitTelnyx merged commit fc0235f into master Jun 23, 2026
9 checks passed
@stainless-app stainless-app Bot mentioned this pull request Jun 23, 2026
@ankitTelnyx ankitTelnyx mentioned this pull request Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant