Skip to content

Arm backend: Add non-interactive in git hook #10712

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

Conversation

perheld
Copy link
Collaborator

@perheld perheld commented May 6, 2025

The pre-push script is a nice to have script as a git hook for your work with the arm backend.

In fact, it is so nice that we would like it to be part of CI jobs but to make that happen it needs to be non-interactive.

This patch adds support for launching the script and never ending up in a scenario where the user has to interact with it.

Signed-off-by: [email protected]

Change-Id: I345a3a71f1b81446228150baf4db28bf4a47b0f1

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

@perheld perheld requested a review from digantdesai as a code owner May 6, 2025 11:20
Copy link

pytorch-bot bot commented May 6, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10712

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure, 1 Unrelated Failure

As of commit ab8b531 with merge base f4875cc (image):

NEW FAILURE - The following job has failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 6, 2025
@perheld perheld added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels May 6, 2025
The pre-push script is a nice to have script as a git hook for your
work with the arm backend.

In fact, it is so nice that we would like it to be part of CI jobs but
to make that happen it needs to be non-interactive.

This patch adds support for launching the script and never ending up
in a scenario where the user has to interact with it.

Signed-off-by: [email protected]

Change-Id: I345a3a71f1b81446228150baf4db28bf4a47b0f1
@perheld perheld force-pushed the upstream/ph-git-pre-push-non-interactive branch from 724bc65 to ab8b531 Compare May 6, 2025 11:21
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 6, 2025
@zingo
Copy link
Collaborator

zingo commented May 6, 2025

llama error unrelated

@zingo zingo merged commit 5e5cea8 into pytorch:main May 6, 2025
172 of 175 checks passed
phaiting pushed a commit that referenced this pull request May 6, 2025
The pre-push script is a nice to have script as a git hook for your work
with the arm backend.

In fact, it is so nice that we would like it to be part of CI jobs but
to make that happen it needs to be non-interactive.

This patch adds support for launching the script and never ending up in
a scenario where the user has to interact with it.

Signed-off-by: [email protected]
jhelsby pushed a commit to jhelsby/executorch that referenced this pull request May 9, 2025
The pre-push script is a nice to have script as a git hook for your work
with the arm backend.

In fact, it is so nice that we would like it to be part of CI jobs but
to make that happen it needs to be non-interactive.

This patch adds support for launching the script and never ending up in
a scenario where the user has to interact with it.

Signed-off-by: [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants