Skip to content

Conversation

@ezhang6811
Copy link
Contributor

@ezhang6811 ezhang6811 commented Aug 1, 2025

Issue #, if available:

Description of changes:
This PR modifies the release build workflow to wait for the main build workflow in the same branch to complete successfully. before proceeding with the release. If the latest main build run has status queued or in_progress, or has completed without the conclusion success, the workflow exits early.

Tested this logic in personal fork with dummy workflows.
failed release workflow example 1 (main build in progress): https://github.com/ezhang6811/aws-otel-python-instrumentation/actions/runs/17478717524/job/49644636222
failed release workflow example 2 (main build failed): https://github.com/ezhang6811/aws-otel-python-instrumentation/actions/runs/17478713160/job/49644619601
successful release workflow example: https://github.com/ezhang6811/aws-otel-python-instrumentation/actions/runs/17478731487

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ezhang6811 ezhang6811 requested a review from a team as a code owner August 1, 2025 19:51
ezhang6811 added a commit to aws-observability/aws-otel-js-instrumentation that referenced this pull request Sep 5, 2025
*Issue #, if available:*

*Description of changes:*
This PR modifies the release build workflow to wait for the main build
workflow in the same branch to complete successfully. before proceeding
with the release. see [Python
PR](aws-observability/aws-otel-python-instrumentation#443)
for more details and testing.

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
@ezhang6811 ezhang6811 merged commit 7e79092 into aws-observability:main Sep 5, 2025
13 checks passed
@ezhang6811 ezhang6811 deleted the zhaez/release-build-safety branch September 5, 2025 22:21
ezhang6811 added a commit to aws-observability/aws-otel-java-instrumentation that referenced this pull request Sep 5, 2025
*Issue #, if available:*

*Description of changes:*
This PR modifies the release build workflow to wait for the main build
workflow in the same branch to complete successfully. before proceeding
with the release. see [Python
PR](aws-observability/aws-otel-python-instrumentation#443)
for more details and testing.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
jj22ee pushed a commit to aws-observability/aws-otel-java-instrumentation that referenced this pull request Oct 27, 2025
*Issue #, if available:*

*Description of changes:*
This PR modifies the release build workflow to wait for the main build
workflow in the same branch to complete successfully. before proceeding
with the release. see [Python
PR](aws-observability/aws-otel-python-instrumentation#443)
for more details and testing.

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
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.

3 participants