KEMBAR78
[lintrunner] auto apply formatting changes as suggestions by PaliC · Pull Request #136239 · pytorch/pytorch · GitHub
Skip to content

Conversation

@PaliC
Copy link
Contributor

@PaliC PaliC commented Sep 17, 2024

@pytorch-bot pytorch-bot bot added the release notes: releng release notes category label Sep 17, 2024
@pytorch-bot
Copy link

pytorch-bot bot commented Sep 17, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit d9175c6 with merge base 9629835 (image):
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added the topic: not user facing topic category label Sep 20, 2024
@PaliC PaliC marked this pull request as ready for review September 20, 2024 22:18
@PaliC PaliC requested a review from a team as a code owner September 20, 2024 22:18
.github/scripts/lintrunner.sh
# NB: This doesn't work with forked PR https://github.com/parkerbxyz/suggest-changes/issues/33 :(
lintrunner-autoformat:
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's make this run only when lint fails. Hopefully, people won't need it most of the time

Copy link
Contributor

@huydhn huydhn Sep 20, 2024

Choose a reason for hiding this comment

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

Also, I don't think the review can be blank https://github.com/pytorch/pytorch/actions/runs/10967111239/job/30456284103?pr=136382#step:5:220, and passing lint means an empty review

Ah, I missed the checking for changes step below.

Copy link
Contributor

@huydhn huydhn left a comment

Choose a reason for hiding this comment

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

Stamped. I have some comments, so plz address them before landing

@huydhn
Copy link
Contributor

huydhn commented Sep 20, 2024

@huydhn
Copy link
Contributor

huydhn commented Sep 21, 2024

Just FYI, this might do what we need https://github.com/pytorch/pytorch/pull/136391/files#diff-62d24ff39ccbf6d5625bcf6675cf941997898f591f3044ad694649c17ca1cc90. Instead of using pull_request, we will use pull_request_target to main, which cover both regular and forked PR.

https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target says that the permission is there:

For workflows that are triggered by the pull_request_target event, the GITHUB_TOKEN is granted read/write repository permission

You can try to follow up in a separate PR after this. Testing this can only be done in main after the new workflow lands though

@PaliC
Copy link
Contributor Author

PaliC commented Sep 24, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 24, 2024
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@PaliC
Copy link
Contributor Author

PaliC commented Sep 25, 2024

@pytorchbot rebase

@pytorchmergebot
Copy link
Collaborator

@pytorchbot started a rebase job onto refs/remotes/origin/viable/strict. Check the current status here

@pytorchmergebot
Copy link
Collaborator

Successfully rebased palic/autolint onto refs/remotes/origin/viable/strict, please pull locally before adding more changes (for example, via git checkout palic/autolint && git pull --rebase)

@PaliC
Copy link
Contributor Author

PaliC commented Sep 25, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@huydhn huydhn removed the request for review from shubhambhokare1 September 25, 2024 22:25
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true
cancel-in-progress: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the "no newline at EOF" intentional?

@PaliC
Copy link
Contributor Author

PaliC commented Sep 25, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@PaliC
Copy link
Contributor Author

PaliC commented Sep 25, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

Merge failed

Reason: 1 mandatory check(s) failed. The first few are:

Dig deeper by viewing the failures on hud

Details for Dev Infra team Raised by workflow job

Failing merge rule: Core Maintainers

@PaliC
Copy link
Contributor Author

PaliC commented Sep 26, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@PaliC
Copy link
Contributor Author

PaliC commented Sep 27, 2024

@pytorchbot merge

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

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

Labels

ciflow/inductor ciflow/trunk Trigger trunk jobs on your pull request Merged module: dynamo module: inductor oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: releng release notes category test-config/default topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants