ovity / octotree

GitHub on steroids
https://www.octotree.io/
GNU Affero General Public License v3.0
22.8k stars 1.79k forks source link

[Bug] File tree displaying as "deleted branch" or "no access" when branch is not deleted and has access #1164

Closed ApexModder closed 9 months ago

ApexModder commented 11 months ago

Description

When navigating to any branch other than the default branch, octotree reports that the branch is either deleted or i do not have access to the given branch. This is an error as i am clearly seeing the branch on github itself.

This also occasionly happens upon first load to the default branch, but reloading the webpage fixes here, reloading does not fix on other branches.

Environment (if bug)

screenshots ### Octotree repoting as deleted/no access, but able to view the branch just fine on github ![image](https://github.com/ovity/octotree/assets/29412632/d0b4f0b2-437d-4297-9749-0787093bd60d)
danhgit commented 11 months ago

This is weird. Have you seen this happen with multiple repos or only a particular repository?

ApexModder commented 11 months ago

Ive had this happen to quite a few repos, not tied to any one particular user/org.

prplecake commented 9 months ago

I'm seeing this a lot, too. Across multiple repos and orgs. Octotree has access to all orgs.

danhgit commented 9 months ago

Can you remove and re-grant access of the orgs to Octotree again: org access page.

Also if any of the repos having problem are public, would appreciate if you could send the links to me so I could reproduce. FWIW, I tried https://github.com/Jozufozu/Flywheel that @ApexModder reported, but it displayed normally for me.

image

Any help to reproduce is appreciated!

danhgit commented 9 months ago

@ApexModder @prplecake we've changed the approach to branch selection in 7.11.0. Can you check if this issue is fixed.

ApexModder commented 9 months ago

firefox_OpTerMsM2g

as you can see the error is still present on v7.11.0, but its more manageable as rather than branches always reporting as no access, if you simply refresh the page, the file tree will then load fine.

upon initially loading a repo, the file tree loads fine switch to any branch, file tree fails to load refresh the webpage, file tree will then load fine for that branch

the above gif, also showcases that the error happens not only on other peoples repos but also my own repos, which i have full access to.

prplecake commented 9 months ago

Can confirm the new behavior reported by @ApexModder.

danhgit commented 9 months ago

Thank you @ApexModder for the super helpful video and @prplecake for your confirmation. We've fixed it in 7.11.1, please update and try again. Appreciate your patience.