Skip to content

feat: Support skipping validating regions #127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025

Conversation

rgibert
Copy link
Member

@rgibert rgibert commented Jun 13, 2025

Enable the ability to skip regions in the validation task.

@rgibert rgibert self-assigned this Jun 13, 2025
@rgibert rgibert requested a review from a team as a code owner June 13, 2025 15:59
@@ -14,7 +14,8 @@

@click.command()
@click.argument("filename", nargs=-1)
def test_services(filename: Sequence[str]) -> None:
@click.option("--skip-region", multiple=True)
Copy link
Member

Choose a reason for hiding this comment

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

Thoughts on adding a --region flag here?

I think it would be useful for us to be able to test our region in isolation too.

It would also let us move this to a matrix job in GHA and validate regions in parallel.

Copy link
Member Author

Choose a reason for hiding this comment

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

We should avoid using this in general as per our Slack discussion, allowlisting also means that we'd be constantly updating this list when we added new regions. If speedrun hadn't completely broken our CI I'd be pushing back on this feature as a thing entirely.

Copy link
Member Author

@rgibert rgibert Jun 13, 2025

Choose a reason for hiding this comment

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

You can also locally limit your validation by the files you pass in, it's really only an issue in CI where we pass in *s

Copy link
Member

Choose a reason for hiding this comment

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

I don't mean to switch it to allowlist for everything, but this would let me still use this to test speedrun2 and other regions easily, locally or in a separate job if needed.

@rgibert rgibert merged commit ec62209 into main Jun 13, 2025
7 checks passed
@rgibert rgibert deleted the rgibert/allow-skipping-regions-in-validation branch June 13, 2025 16:10
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