Skip to content

[Fix][CI]: remove astral-sh/setup-uv from lint workflow#19554

Merged
tlopex merged 2 commits into
apache:mainfrom
ConvolutedDog:fix-19552
May 13, 2026
Merged

[Fix][CI]: remove astral-sh/setup-uv from lint workflow#19554
tlopex merged 2 commits into
apache:mainfrom
ConvolutedDog:fix-19552

Conversation

@ConvolutedDog

@ConvolutedDog ConvolutedDog commented May 13, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #19552.

astral-sh/setup-uv is not on the ASF GitHub Enterprise action allowlist, causing the Lint workflow to fail with "Startup failure" before any pre-commit checks run. See https://github.com/apache/tvm/actions/runs/25743684906 for the failed reason.

This PR removes the uv setup and sync steps entirely; pre-commit/action will install and manage pre-commit and all hook dependencies on its own. This PR also corrected previous lint errors.

After the fix, the CI lint succeeded: https://github.com/apache/tvm/actions/runs/25775499703/job/75707088129?pr=19554#step:3:178

astral-sh/setup-uv is not on the ASF GitHub Enterprise action
allowlist, causing the Lint workflow to fail with "Startup failure"
before any pre-commit checks run. Remove the uv setup and sync steps
entirely; pre-commit/action installs and manages pre-commit and all
hook dependencies on its own.

See https://github.com/apache/tvm/actions/runs/25743684906
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@ConvolutedDog ConvolutedDog marked this pull request as ready for review May 13, 2026 04:16

@tlopex tlopex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for the fix!

@tlopex tlopex merged commit e7a7447 into apache:main May 13, 2026
12 checks passed
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.

[Bug] CI lint appears to be not executing correctly

2 participants