Skip to content

Conversation

@ArthurAkh
Copy link
Contributor

@ArthurAkh ArthurAkh commented Sep 15, 2025

Motivation

Centralize and reuse the “update test durations” logic across repositories.
This moves the implementation into the meta repo as a reusable workflow so it can be invoked from:

This reduces duplication, keeps behavior consistent, and makes future maintenance/changes single-sourced.

Changes

  • Moved existing workflow and made it reusable: .github/workflows/update-test-durations.yml in meta.
  • Parameterized inputs (repo/branch/path/platform/outPath/publishMethod/PR metadata).
  • Downloads and merges pytest-split-durations-<platform>-* artifacts into ${{ inputs.outPath }}.
  • Publishes result via either:
    • UPLOAD_ARTIFACT, or
    • CREATE_PR using peter-evans/create-pull-request.

@ArthurAkh ArthurAkh self-assigned this Sep 15, 2025
@ArthurAkh ArthurAkh requested a review from silv-io September 26, 2025 08:34
@ArthurAkh ArthurAkh marked this pull request as ready for review September 26, 2025 08:36
Copy link
Member

@silv-io silv-io left a comment

Choose a reason for hiding this comment

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

LGTM! Will merge right after the next release

Comment on lines +85 to +90
REPO_PATH="${{ inputs.path }}" # 'localstack' or 'localstack-pro'
if [ "$REPO_PATH" = "localstack-pro" ]; then
WF_FILE=".github/workflows/aws_main.yml"
else
WF_FILE=".github/workflows/aws-main.yml"
fi
Copy link
Member

Choose a reason for hiding this comment

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

Should get rid of this inconsistency and also just give the option to overwrite the workflow file. But I'll change that in a future iteration.

@silv-io silv-io merged commit 11bc641 into main Oct 3, 2025
@silv-io silv-io deleted the update-test-durations-action branch October 3, 2025 12:31
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