The stamp for extraction.extractor_version. Reads the environment on every
call rather than caching, so a test can set it and a long-running process picks
up a re-stamp.
Without a pinned version the stamp is the package version plus a digest of the
extraction sources. The package version alone cannot carry the claim this field
makes — extraction changes far more often than a release, so every rule family
added shipped under the same pkg:0.0.1, and ka verify ended up reporting the
one thing the field exists to rule out: different bytes from the same extractor
version. The digest moves whenever any code that decides what a document turns
into moves, with nobody having to remember.
The stamp for
extraction.extractor_version. Reads the environment on every call rather than caching, so a test can set it and a long-running process picks up a re-stamp.Without a pinned version the stamp is the package version plus a digest of the extraction sources. The package version alone cannot carry the claim this field makes — extraction changes far more often than a release, so every rule family added shipped under the same
pkg:0.0.1, andka verifyended up reporting the one thing the field exists to rule out: different bytes from the same extractor version. The digest moves whenever any code that decides what a document turns into moves, with nobody having to remember.