Skip to content

fix(ci): increase import profiler absolute threshold #17779

Open
hebaalazzeh wants to merge 1 commit into
mainfrom
fix/import-profiler-warnings
Open

fix(ci): increase import profiler absolute threshold #17779
hebaalazzeh wants to merge 1 commit into
mainfrom
fix/import-profiler-warnings

Conversation

@hebaalazzeh

Copy link
Copy Markdown
Contributor

This PR implements static matrix sharding for the import-profiler workflow to run modified packages in parallel across 8 shards, and sets the absolute failure/timeout threshold for each package import check to 120s (2 minutes).

Key Changes

  • Parallel Sharding: Updated .github/workflows/import-profiler.yml to split modified package execution across 8 GHA runner shards using basic bash modulo logic.
  • Unified Status Check: Added an all-import-profiles status check that acts as the single required GitHub check.
  • 120-Second Threshold: Set the absolute timeout threshold in ci/run_single_test.sh to 120000ms (120 seconds / 2 minutes).

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request increases the --fail-threshold value from 5000 to 120000 in ci/run_single_test.sh when executing the profiler script. The feedback suggests double-quoting the ${PROFILER_SCRIPT} and ${PACKAGE_NAME} variables to prevent potential word splitting and globbing issues.

Comment thread ci/run_single_test.sh Outdated
Comment thread ci/run_single_test.sh Outdated
@hebaalazzeh
hebaalazzeh marked this pull request as ready for review July 20, 2026 18:30
@hebaalazzeh
hebaalazzeh requested a review from a team as a code owner July 20, 2026 18:30
@hebaalazzeh
hebaalazzeh force-pushed the fix/import-profiler-warnings branch from 2e75bfa to 0b2d9fd Compare July 20, 2026 18:30
@hebaalazzeh hebaalazzeh self-assigned this Jul 20, 2026
@hebaalazzeh
hebaalazzeh force-pushed the fix/import-profiler-warnings branch 4 times, most recently from 37448ee to 99f6a31 Compare July 20, 2026 19:14
@hebaalazzeh
hebaalazzeh force-pushed the fix/import-profiler-warnings branch from 99f6a31 to c13a5e7 Compare July 20, 2026 19:16

@parthea parthea left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can you create an example PR which includes changes to packages so we can see the results? Right now we only see No packages assigned to Shard 0. which is expected, but it would be great to see an example

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