Skip to content

Conversation

@dagitses
Copy link
Contributor

@dagitses dagitses commented Dec 5, 2022

@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 Dec 5, 2022
@vercel
Copy link

vercel bot commented Dec 5, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
torchci ⬜️ Ignored (Inspect) Dec 16, 2022 at 6:43PM (UTC)

@dagitses dagitses changed the base branch from main to pr1221 December 5, 2022 12:56
@dagitses dagitses changed the base branch from pr1221 to pr1224 December 5, 2022 13:03
@dagitses dagitses force-pushed the pr1225 branch 2 times, most recently from 2689334 to 4551db9 Compare December 8, 2022 15:18
@dagitses dagitses force-pushed the pr1225 branch 2 times, most recently from 474b783 to d06fdb2 Compare December 8, 2022 15:51
@dagitses dagitses force-pushed the pr1225 branch 2 times, most recently from 5343238 to c08378c Compare December 8, 2022 15:57
@dagitses dagitses marked this pull request as draft December 8, 2022 15:58
dagitses added a commit that referenced this pull request Dec 10, 2022
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/pytorch/test-infra/pull/1252).
* #1227
* #1226
* #1225
* #1224
* #1223
* #1221
* #1256
* #1255
* #1253
* __->__ #1252

move the git fetch into the checker program

Summary:
When we push this to other repos, we'll want as much of the
implementation embedded in the binary as possible.

Test Plan: Rely on CI.
dagitses added a commit that referenced this pull request Dec 10, 2022
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/pytorch/test-infra/pull/1253).
* #1227
* #1226
* #1225
* #1224
* #1223
* #1221
* #1256
* #1255
* __->__ #1253
* #1252

group and suppress the fetch output by default

Summary: This is noisy and uninteresting: hide it.

Test Plan: Verify visually in CI.
dagitses added a commit that referenced this pull request Dec 10, 2022
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/pytorch/test-infra/pull/1255).
* #1227
* #1226
* #1225
* #1224
* #1223
* #1221
* #1256
* __->__ #1255
* #1253
* #1252

add support for suppressing api compatibility check violations

Summary: This will allow users to say that their changes are OK.

Test Plan: Verify with sample PR.
dagitses added a commit that referenced this pull request Dec 10, 2022
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/pytorch/test-infra/pull/1256).
* #1227
* #1226
* #1225
* #1224
* #1223
* #1221
* __->__ #1256

downgrade severity from warning to notice when suppressed

Summary:
We wish to still see violations when suppressing, but they should be
at info level, rather than warning.

Test Plan: Verify with a sample PR.

#suppress-api-compatibility-check because the modified function is
internal to the checker itself.
@dagitses dagitses force-pushed the pr1225 branch 2 times, most recently from 8c0ce1b to ad6a8d5 Compare December 13, 2022 21:35
dagitses added a commit that referenced this pull request Dec 16, 2022
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/pytorch/test-infra/pull/1303).
* #1227
* #1226
* #1225
* #1224
* #1223
* #1221
* #1304
* __->__ #1303

use difflib to better detect changes to positional parameters

Summary:
Fundamentally, for parameters that may be passed positionally, we care
about which from the previous function correspond to the later
function. Diffing is a clean way to do that.

Test Plan: Rely on CI. Verify end-to-end in GitHub UI.
dagitses added a commit that referenced this pull request Dec 16, 2022
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/pytorch/test-infra/pull/1312).
* #1291
* #1227
* #1226
* #1225
* #1224
* #1223
* #1221
* __->__ #1312

[Reland] no longer track position for each parameter

Summary: This can be tracked by its order in the Parameters object.

Test Plan: Rely on CI.
dagitses added a commit that referenced this pull request Dec 16, 2022
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/pytorch/test-infra/pull/1315).
* #1291
* #1227
* #1226
* #1225
* #1224
* #1223
* #1221
* __->__ #1315

test and fix that adding optional parameters is ok

Test Plan: Rely on CI.
@facebook-github-bot
Copy link
Contributor

Hi @dagitses!

Thank you for your pull request.

We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants