Skip to content
go-libfossil Ambiguous Artifact ID
Login

Ambiguous Artifact ID

The artifact hash prefix a4f8d is ambiguous and might mean any of the following:

  1. a4f8d4ea9f02845182a9905a3f90bcc8bc8f51f7ddb799976c7894cedaad6194 -

    • File internal/xfer/decode.go — part of check-in [4082bffaa5] at 2026-04-26 15:00:28 on branch trunk — fix(xfer): always emit project code on push/pull cards (#12)

      The encoder emitted bare 'push\n' / 'pull\n' cards in code paths where the project code wasn't passed explicitly. The upstream Fossil C server's xfer parser requires at least the project code on push and both project + server codes on pull, rejecting 0-arg cards. This broke libfossil <-> fossil interop on the first sync round.

      Make the project code a required parameter on the encoder and update call sites to thread it through. The libfossil server-side decoder is tightened to match — it previously accepted 0-arg cards, which masked the encoder bug during Go-to-Go testing. (user: [email protected], size: 16408) [annotate] [blame] [check-ins using]

  2. a4f8d9daa90acecac9931ca2f77856b53cca27ab9d689e6932ba6a407091d119 -