Skip to content

Conversation

iankhou
Copy link
Contributor

@iankhou iankhou commented Sep 30, 2025

Problem

Screenshot 2025-09-30 at 15 01 05

Changes

Added a 3x retry to check_api_changes on a commonly failing step.

Validation

Running the workflow in this PR.

Checklist

  • If this PR includes a functional change to the runtime behavior of the code, I have added or updated automated test coverage for this change.
  • If this PR requires a change to the Project Architecture README, I have included that update in this PR.
  • If this PR requires a docs update, I have linked to that docs PR above.
  • If this PR modifies E2E tests, makes changes to resource provisioning, or makes SDK calls, I have run the PR checks with the run-e2e label set.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

changeset-bot bot commented Sep 30, 2025

⚠️ No Changeset found

Latest commit: 59317de

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@iankhou iankhou self-assigned this Sep 30, 2025
@iankhou iankhou force-pushed the iankhou-check-api-changes-retry branch from fe56ec0 to fea3158 Compare September 30, 2025 19:46
max_attempts: 3
retry_wait_seconds: 30
command: |
mkdir -p api-validation-projects
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we possible perform retries, we need -p here, as the directory will already exist.

@iankhou iankhou marked this pull request as ready for review September 30, 2025 19:47
@iankhou iankhou requested a review from a team as a code owner September 30, 2025 19:47
@iankhou iankhou merged commit 1252db2 into main Sep 30, 2025
154 checks passed
@iankhou iankhou deleted the iankhou-check-api-changes-retry branch September 30, 2025 20:54
iankhou added a commit that referenced this pull request Oct 7, 2025
<!--
Thank you for your Pull Request! Please describe the problem this PR
fixes and a summary of the changes made.
Link to any relevant issues, code snippets, or other PRs.

For trivial changes, this template can be ignored in favor of a short
description of the changes.
-->

## Problem

<!--
Describe the issue this PR is solving
-->
<img width="1494" height="258" alt="Screenshot 2025-10-07 at 11 55 40"
src="https://github.com/user-attachments/assets/4e6945ba-d891-455f-bffe-268333c270c3"
/>

The **check_api_changes** job is sometimes cancelled when the job
exceeds the timeout of 20 minutes. This can happen when steps are
retried (introduced in
#3010).

## Changes

<!--
Summarize the changes introduced in this PR. This is a good place to
call out critical or potentially problematic parts of the change.
-->

Increased the timeout from 20 minutes to 60 minutes. Being generous
here, as a successful run of step `Check API changes with retry` should
take around *14 minutes*. If we try that step three times, a 60 min
timeout should be able to cover the time needed for 3 tries and other
steps in the run.

## Validation

<!--
Describe how changes in this PR have been validated. This may include
added or updated unit, integration and/or E2E tests, test workflow runs,
or manual verification. If manual verification is the only way changes
in this PR have been validated, you will need to write some automated
tests before this PR is ready to merge.

For changes to test infra, or non-functional changes, tests are not
always required. Instead, you should call out _why_ you think tests are
not required here.

If changes affect a GitHub workflow that is not included in the PR
checks, include a link to a passing test run of the modified workflow.
--->

Run workflows on this PR.

## Checklist

<!--
These items must be completed before a PR is ready to be merged.
Feel free to publish a draft PR before these items are complete.
-->

- [X] If this PR includes a functional change to the runtime behavior of
the code, I have added or updated automated test coverage for this
change.
- [X] If this PR requires a change to the [Project Architecture
README](../PROJECT_ARCHITECTURE.md), I have included that update in this
PR.
- [X] If this PR requires a docs update, I have linked to that docs PR
above.
- [X] If this PR modifies E2E tests, makes changes to resource
provisioning, or makes SDK calls, I have run the PR checks with the
`run-e2e` label set.

_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.

2 participants