itchio / itch.io

:bug: Public itch.io issues tracker and documentation - use support instead for private information!
https://itch.io/support
239 stars 25 forks source link

butler unexpectedly replaced old channel with new one instead of adding new separate channel on very similar build upload #1620

Open hsandt opened 3 months ago

hsandt commented 3 months ago

Describe the bug I always prepare a jam-release build followed by a post-jam build for game jams, for archival purpose.

I use different channels for each phase and platform.

Recently, I uploaded on my post-jam channels and discovered it overwrote my jam-release channels unexpectedly. The files are still suffixed jam-release but the version has been upgraded from 0.2.0 to 0.2.1 indeed!

It's the first time it happens, I'm not sure what is different from other jams. I see two things:

To Reproduce Steps to reproduce the behavior:

  1. Butler push some dummy build file (maybe a text with some very long text) to some jam-release channel
  2. Prepare a very similar file (maybe change a character or two, or even none just to test)
  3. ? Create a fake jam, make fake game an entry to this jam, and and lock uploads and try an upload to jam-release channel that fails ?
  4. Butler push the new file to some post-jam channel
  5. Check uploaded files (more details on the edit page): the jam-release channel was removed, the post-jam channel is now replacing it, yet the files are still suffixed with "jam-release"

Expected behavior Two channels for two files

Screenshots If applicable, add screenshots to help explain your problem.

butler console log

# butler_push is a custom script but it basically calls butler, in this case on the [platform]-post-jam channels
$ ./butler_push.sh 0.2.1 all
• For channel `windows-post-jam`: last build is 996749, downloading its signature
• Pushing 74.57 MiB (2 files, 1 dirs, 0 symlinks)
✓ Re-used 99.38% of old, added 475.88 KiB fresh data                            
✓ 161.83 KiB patch (99.79% savings)
• Build is now processing, should be up in a bit.

Use the `butler status komehara/downscaled-adventures:windows-post-jam` for more information.

• For channel `macos-post-jam`: last build is 996750, downloading its signature
• Pushing 142.14 MiB (6 files, 4 dirs, 0 symlinks)
✓ Re-used 99.54% of old, added 672.33 KiB fresh data                            
✓ 315.94 KiB patch (99.78% savings)
• Build is now processing, should be up in a bit.

Use the `butler status komehara/downscaled-adventures:macos-post-jam` for more information.

• For channel `linux-post-jam`: last build is 996751, downloading its signature
• Pushing 67.52 MiB (2 files, 1 dirs, 0 symlinks)
✓ Re-used 99.40% of old, added 411.88 KiB fresh data                            
✓ 113.20 KiB patch (99.84% savings)
• Build is now processing, should be up in a bit.

Use the `butler status komehara/downscaled-adventures:linux-post-jam` for more information.

• For channel `web-post-jam`: last build is 996752, downloading its signature
• Pushing 42.76 MiB (9 files, 1 dirs, 0 symlinks)
✓ Re-used 99.04% of old, added 418.28 KiB fresh data                            
✓ 116.39 KiB patch (99.73% savings)
• Build is now processing, should be up in a bit.

Use the `butler status komehara/downscaled-adventures:web-post-jam` for more information.

Resulting uploaded files:

image

Note the mismatch between the filename and channel name.

Checking status:

$ butler status komehara/downscaled-adventures:web-jam-release
No channel web-jam-release found for komehara/downscaled-adventures
$ butler status komehara/downscaled-adventures:web-post-jam
+--------------+-----------+----------------------------+---------+
|   CHANNEL    |  UPLOAD   |           BUILD            | VERSION |
+--------------+-----------+----------------------------+---------+
| web-post-jam | #10532077 | ✓ #1018939 (from #1018929) | 0.2.1   |
+--------------+-----------+----------------------------+---------+

Desktop (please complete the following information):

$ butler --version v15.21.0, built on May 11 2021 @ 20:18:40, ref 6ad656eebbb5b80bf2065644d8bf9e40a15e8276

Additional context I see my butler is quite old, will try to update.