Coder Social home page Coder Social logo

Comments (16)

mihaimaruseac avatar mihaimaruseac commented on May 31, 2024 1

Updated: this seems to be a internal tooling problem. Internal team has been notified

from community.

bhack avatar bhack commented on May 31, 2024

/cc @theadactyl @yarri-oss

from community.

mihaimaruseac avatar mihaimaruseac commented on May 31, 2024

This seems fixed now as of tensorflow/tensorflow#54377

from community.

bhack avatar bhack commented on May 31, 2024

We are not in the same case as the listed PRs.

Your example was always working as the merge commit you have pushed in master has the right reference parent on the PR branch head hash.

I don't know what they are doing internally on the PRs I've listed above but the merge commit pushed on master don't reference anymore the PR branch head as a partent.

So there is still something in the internal development practice that break the PR branch reference.

from community.

bhack avatar bhack commented on May 31, 2024

As you are example is a regular I think it is not related to the problem we have.
We need to take the first PR in my list:
https://github.com/tensorflow/tensorflow/pull/55413/commits
immagine

This commit (PR branch head) is not available in master as the merge pushed in master has no reference of this commit in its parents (It has it instead regularly in your case). So it is impossible for Github to understand that you are merging the commit of the branch and close it with a merged status:
immagine

7c0b775 parent in the push merge is not the branch head but an intermediate commit.
immagine

Please can you can internally check, as I have no visibility, what happened in PiperOrigin-RevId: 439970863 and the related CL?

As your example is linear and regular It is important to understand what they are doing to remove any reference to the branch head commit in the merge.

Edit:
Is it possible that something is not working in importing new commits from the PR branch after it was imported in the CL the first time? It seems that the CL was blocked on Mar, 31 2022 commit instead of the Apr, 1 2022 head.

immagine

from community.

bhack avatar bhack commented on May 31, 2024

It happened again now on tensorflow/tensorflow#55529:

PiperOrigin-RevId: 442524189

What difference you see internally from tensorflow/tensorflow#54377 (PiperOrigin-RevId: 442056945)?

from community.

bhack avatar bhack commented on May 31, 2024

5 hours ago, another pushed merge on an intermediate PR commit:
tensorflow/tensorflow#55518

from community.

bhack avatar bhack commented on May 31, 2024

Can we reopen this to track why the CL merge sometimes with an intermediate PR branch commit?

I am tracking instead, with the Github support, the case where the merge commit has the right parent pointing on the PR branch head sha.

from community.

mihaimaruseac avatar mihaimaruseac commented on May 31, 2024

This is a different scenario than the one we considered when this was closed.

from community.

bhack avatar bhack commented on May 31, 2024

I think here we could focus on the first point:

why the CL merge sometimes with an intermediate PR branch commit

from community.

mihaimaruseac avatar mihaimaruseac commented on May 31, 2024

So, for tensorflow/tensorflow#55529, the internal changelist looks like

Screenshot from 2022-04-20 17-00-11

This diff is not different than the PR

Screenshot from 2022-04-20 17-00-26

Also, the merge commit matches the last commit on the branch:

Screenshot from 2022-04-20 17-04-51
Screenshot from 2022-04-20 17-05-01

Is there something I'm misunderstanding from #413 (comment) ?

The internal changelist has last been approved on Apr 18th, when the PR got merged, but the last PR commit has been from Apr 13th.

The only strange thing I see is that the PR has a merge from master back into it, instead of a rebase. This causes the PR merge message to not be complete?

from community.

mihaimaruseac avatar mihaimaruseac commented on May 31, 2024

Though the merge theory doesn't apply for tensorflow/tensorflow#55518

from community.

bhack avatar bhack commented on May 31, 2024

Updated: this seems to be a internal tooling problem. Internal team has been notified

Just to add another case on the TF/infra side:
tensorflow/tensorflow#48056
tensorflow/tensorflow@299cb76

immagine

The PR is still open.

from community.

bhack avatar bhack commented on May 31, 2024

Another case closed just with the Github pattern (not-merged) tensorflow/tensorflow#53905

from community.

bhack avatar bhack commented on May 31, 2024

Updated: this seems to be a internal tooling problem. Internal team has been notified

@mihaimaruseac Can you share the internal related tickets with @theadactyl?

Thanks

from community.

bhack avatar bhack commented on May 31, 2024

/cc @MichaelHudgins

from community.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.