Skip to content
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

ci: only run Wasm tests once a PR reaches the merge queue #1226

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

dhess
Copy link
Member

@dhess dhess commented Apr 8, 2024

The Wasm tests are very expensive, and our build system isn't smart enough to know when they don't need to be re-run, so for now, we only run the tests once a PR hits the merge queue.

The Wasm tests are very expensive, and our build system isn't smart
enough to know when they don't need to be re-run, so for now, we only
run the tests once a PR hits the merge queue.

Signed-off-by: Drew Hess <[email protected]>
@dhess
Copy link
Member Author

dhess commented Apr 8, 2024

Note that this implementation will still build the Primer Wasm test suite in all cases; it just won't run them except under the conditions explained in the commit message. I think this will be good enough.

@dhess dhess added the Run Wasm tests Run Wasm tests on this PR label Apr 8, 2024
@dhess
Copy link
Member Author

dhess commented Apr 8, 2024

Hmm, adding the label didn't cause Buildkite to run the tests — it took the build.branch !~ /^gh-readonly-queue\// && !(build.pull_request.labels includes "Run Wasm tests") conditional.

I'll need to look into this, but this isn't sufficient to block the merge. First and foremost, we need not to run the Wasm tests on every PR/push.

I'll leave #1222 open so that I remember to come back and investigate this.

@dhess dhess enabled auto-merge April 8, 2024 00:23
@dhess dhess added this pull request to the merge queue Apr 8, 2024
Merged via the queue into main with commit 8644ea1 Apr 8, 2024
74 checks passed
@dhess dhess deleted the dhess/wasm-ci branch April 8, 2024 01:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Run Wasm tests Run Wasm tests on this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant