Skip to content

Conversation

@purcell
Copy link
Contributor

@purcell purcell commented Nov 7, 2025

Motivation

Hidden in the GitHub workflow, it was hard to find the command to run to fix the unused imports in the generated file, and the pre-commit doesn't pick this up if you run the scaffold generation manually and forget this step.

Changes

Here we move the necessary commands to a single Makefile rule, for convenient manual and automated use.

(A further small commit also fixes a small issue in an existing Makefile rule, wherein a failing command wouldn't short-circuit the following command.)

Tests

make asf-regenerate works nicely locally: the corresponding workflow would need to be run to fully test it, but it looks pretty safe to me.

Hidden in the GitHub workflow, it's hard to find the command to run to
fix the unused imports in the generated file. Here we move this logic
to a new Makefile rule, for convenient manual and automated use.
@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 7, 2025
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

S3 Image Test Results (AMD64 / ARM64)

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

Results for commit 67bf369. ± Comparison against base commit 2c829b6.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Test Results - Preflight, Unit

22 309 tests  ±0   20 555 ✅ ±0   16m 5s ⏱️ +46s
     1 suites ±0    1 754 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 67bf369. ± Comparison against base commit 2c829b6.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 22s ⏱️ -9s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 67bf369. ± Comparison against base commit 2c829b6.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Test Results (amd64) - Integration, Bootstrap

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

Results for commit 67bf369.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   2h 2m 0s ⏱️ +54s
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 67bf369. ± Comparison against base commit 2c829b6.

♻️ This comment has been updated with latest results.

Copy link
Member

@alexrashed alexrashed left a comment

Choose a reason for hiding this comment

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

Nice! These changes are looking good, the more transparent the steps are the better! 💯
I am not fully sure if the format target fix really is tackling the root cause, but the current solution is imho semantically equivalent to the existing one, so no need to block anything here. :)

@purcell purcell force-pushed the asf-regenerate-via-makefile branch from 9028207 to 67bf369 Compare November 10, 2025 11:31
@purcell purcell merged commit 610b60f into main Nov 10, 2025
49 checks passed
@purcell purcell deleted the asf-regenerate-via-makefile branch November 10, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

3 participants