Skip to content

chore(build): run only the tests related to a push in the pre-push hook - #464

Merged
Mearman merged 1 commit into
mainfrom
chore/463-prepush-related-tests
Oct 27, 2026
Merged

Mearman merged 1 commit into
mainfrom
chore/463-prepush-related-tests

Conversation

@Mearman

@Mearman Mearman commented Oct 27, 2026

Copy link
Copy Markdown
Member

The pre-push hook ran every test file, which CI runs again on the pull request, so each push attempt repeated the whole suite.

It now runs lint, typecheck and the cached frontend build as before, then only the tests vitest relates to the files changed since the push diverged from origin/main, with workers bounded by the cores the run queue leaves free.

Closes #463

The hook ran the whole suite, which CI runs again on the pull request,
so every push attempt, and every failed one, repeated every test file.

It now runs lint, typecheck and the cached frontend build as before,
then only the tests vitest relates to the files changed since the push
diverged from origin/main, with workers bounded by the cores the run
queue leaves free.

Closes #463
@Mearman
Mearman marked this pull request as ready for review October 27, 2026 18:47
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-10-27T18:47:12.951826Z
We couldn’t complete this review. Comment @codex security review to try again.
5a16e42 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit 0bd23c5 into main Oct 27, 2026
8 checks passed
@Mearman
Mearman deleted the chore/463-prepush-related-tests branch October 27, 2026 18:47
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 8.15.19 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pre-push hook reruns the full test suite that CI already runs

1 participant