r/github • • Sep 12 '26

Discussion So, recently file changes on the website have started showing in a wildly wrong formatting...

Checked the file that was changed and no, it still respects the exact same indentation as our JSON has already been using, it's just displaying it in a wildly incorrect manner. Any idea what changed to cause that?

9 Upvotes

8 comments sorted by

6

u/dashingThroughSnow12 Sep 12 '26

Just a GitHub bug. Has been happening for days. Oddity is that it is inconsistent. Hitting refresh a few times sometimes fixes it. Sometimes doesn’t.

1

u/Chaosvolt Sep 12 '26

Thanks I hate it, it did exactly that on refreshing the page.

2

u/mpersico Sep 13 '26
  1. Not all the code on all the servers is the same version.
  2. Networking issues cause I complete executions and fallback to defaults.

2

u/worldofzero Sep 12 '26

Any chance there's a mix of windows and Linux boxes in your dev flow and you have picked "use windows line endings" on one of those windows machines?

1

u/[deleted] Sep 12 '26

[removed] — view removed comment

1

u/Chaosvolt Sep 12 '26

That's why I was confused, the file itself hasn't changed in indentation any (the specific one I was looking at can be viewed at: https://github.com/Firefox13/Cataclysm-BN/blob/697ee0087324aea52eb179086478a3fe1f597133/data/json/itemgroups/Weapons_Mods_Ammo/everydaycarry_guns.json)

If anyone injected tabs into the JSON autofix-ci would shame them for it, so it's not that.

1

u/depoll Sep 14 '26

Can you share a link to a broken diff (rather than just the file)? I'd like to share it with the team internally but haven't been able to repro it directly.