Skip to content
go-libfossil Ambiguous Artifact ID
Login

Ambiguous Artifact ID

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

  1. ad82b4a46d211de75ffa1119148479c7d469d63fecd26cb126ed01e3fa10cb3a -

    Manifest of check-in [ad82b4a46d] - test(conformance): seed byte-identity with zit over a cancelled tag

    TestHorizonSeedDateZit has zit mint the seed for a repository whose newest tag event is a cancel, and requires it to match go-libfossil's byte for byte. Both now date a seed at the repository's latest tag event (ยง5.2.2).

    No string in the binary tells a zit from before caeef421ee apart: its version still reads 0.7.1. So the test recognises an older zit by an earlier D in an otherwise identical seed, and skips it unless REQUIRE_ZIT_SEED_DATE=1. CI's pinned zit 0.7.1 skips. A zit built at caeef421ee passes with the variable set. by [email protected] on 2026-10-24 14:45:39.

  2. ad82bac4fcd3f5222e347692eb72b7b61f065e22177c4f58865533ba25f7145d -

    • File internal/sync/horizon_seedrefuse_test.go — part of check-in [776eae66e9] at 2026-10-24 01:44:26 on branch main — fix(sync): judge pending pushed seeds at the crosslink step (#471)

      Re-review found two faults in the shun-based design:

      - Only the push path judged a dangling seed. A base filled by a pull, a local check-in or a later sweep still crosslinked the seed. - Shunning the seed was wrong. The shun table syncs through the shun config group. A horizon clone that pushed its own current seed back as a dangling delta could get the origin to shun that hash, and every clone pulling the group would then drop its seed.

      New design, in internal/seedcheck:

      - A store-local seedcheck(rid, refused) table, created on first use and carried by no configuration group. - The push handler records a delta it cannot expand as pending. Only pushed artifacts are recorded: a seed-shaped artifact that arrives by any other route is ordinary (B.2). - One choke point: manifest.linkArtifact. AfterDephantomize, the sweep, rebuild, the receive linker and required-content linking all reach it. There a pending control artifact is judged: a seed becomes refused, is not linked, and leaves unclustered and unsent. Anything else loses its row and links as usual. A pending non-control row is left, inert. - A seed judged within the request that carried it still refuses that request atomically (ownSeedReadable). It expands through the pass's basis cache, so a dangling chain is expanded once along its length. - Serving honours refused: gimme/file, inventory and private igots, both clone paths, and the client's file cards when it pushes on.

      judgeGrounded, the shun use and the shun filters added to the sweep, rebuild and cascade are removed.

      Tests: - The pull-fills-base probe and a check-in-fills-base case. - A refused seed not cloned, and not pushed on even when a peer asks for it by name. - The seedcheck table is in no config group. - B.4.4 also asserts the real minted seed is refused while the shun table stays empty. - Disabling the choke point, or any of the serving filters, fails a test.

      Clone receive is not covered: a fresh clone has no pending rows, so that path cannot meet one. (user: [email protected], size: 17345) [annotate] [blame] [check-ins using]