Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Explicitly fix import order when regenerating ASF modules#13362

Merged
purcell merged 1 commit into
mainfrom
ruff-fix-generated-asf
Nov 11, 2025
Merged

Explicitly fix import order when regenerating ASF modules#13362
purcell merged 1 commit into
mainfrom
ruff-fix-generated-asf

Conversation

@purcell

@purcell purcell commented Nov 10, 2025

Copy link
Copy Markdown
Contributor

Motivation

Small adjustment needed to #13354, since when applying this to the pro version, I realised a further ruff check --fix pass is required if the make asf-regenerate command is to be fully self-contained. Without this, the results of the asf-update GitHub workflow would not pass the linter.

Changes

Also run ruff check --fix, as done in make format.

Tests

Related

#13354

@purcell purcell requested a review from alexrashed November 10, 2025 14:23
@purcell purcell added semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes labels Nov 10, 2025
@github-actions

Copy link
Copy Markdown

S3 Image Test Results (AMD64 / ARM64)

    2 files  ±0    2 suites  ±0   8m 16s ⏱️ +4s
  533 tests ±0  481 ✅ ±0   52 💤 ±0  0 ❌ ±0 
1 066 runs  ±0  962 ✅ ±0  104 💤 ±0  0 ❌ ±0 

Results for commit 0133c34. ± Comparison against base commit 610b60f.

@github-actions

Copy link
Copy Markdown

Test Results - Preflight, Unit

22 309 tests  ±0   20 555 ✅ ±0   15m 14s ⏱️ - 1m 47s
     1 suites ±0    1 754 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 0133c34. ± Comparison against base commit 610b60f.

@github-actions

Copy link
Copy Markdown

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 25s ⏱️ +7s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 0133c34. ± Comparison against base commit 610b60f.

@alexrashed alexrashed 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.

Thanks for the follow up, to make sure that the make target really is self-sufficient!
Another option might be to use the existing make targets to change modified code, but the way you implemented it right now clearly only affects the module with the generated code. 💯

@purcell

purcell commented Nov 10, 2025

Copy link
Copy Markdown
Contributor Author

Yeah, I thought about a judicious $(MAKE) -C invocation, and decided I preferred to keep the effects scoped to the one output directory. It could certainly have gone either way. :)

@github-actions

Copy link
Copy Markdown

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 40m 30s ⏱️
5 310 tests 4 771 ✅ 539 💤 0 ❌
5 316 runs  4 771 ✅ 545 💤 0 ❌

Results for commit 0133c34.

@github-actions

Copy link
Copy Markdown

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   2h 3m 24s ⏱️ +36s
4 936 tests ±0  4 557 ✅ ±0  379 💤 ±0  0 ❌ ±0 
4 938 runs  ±0  4 557 ✅ ±0  381 💤 ±0  0 ❌ ±0 

Results for commit 0133c34. ± Comparison against base commit 610b60f.

@purcell purcell merged commit f729721 into main Nov 11, 2025
60 of 62 checks passed
@purcell purcell deleted the ruff-fix-generated-asf branch November 11, 2025 10:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants