build(deps): tummycrypt_tinyvectors 0.3.5 -> 0.3.6 (registry latest) - #268
Draft
Jesssullivan wants to merge 1 commit into
Draft
Jesssullivan wants to merge 1 commit into
Jesssullivan wants to merge 1 commit into
Conversation
tinyland-inc/bazel-registry publishes 0.3.6 as the newest tummycrypt_tinyvectors module; this repo was one behind. MODULE.bazel's own comment requires the Bazel version, the package.json tarball pin, and the prepare hook's PINNED_INTEGRITY to move in lockstep, so all three move here, plus the two lockfiles that record the pin. The upstream diff between the v0.3.5 and v0.3.6 tag archives is the package.json version field alone: dependencies, peerDependencies (svelte >=5.20.0), engines (node >=22.0.0) and license (Zlib) are unchanged, so the npm/pnpm resolution graph is unchanged and the lockfile edits are a pure pin swap (url + version + integrity). Integrity provenance, no package manager was run on this seat: - registry source.json for 0.3.6 records sha256-IbKMSlUQR3g3Elf4ks2ViCEdCxtwlBrdBx8wegiX8zg= - downloading the v0.3.6 tag archive and hashing it reproduces that sha256 exactly; its sha512 is the value written to package-lock.json - the same download-and-hash procedure applied to v0.3.5 reproduces the sha512 already committed for 0.3.5 byte for byte, which is what validates the method MODULE.bazel.lock is deliberately untouched: it pins registryFileHashes for the 0.3.5 MODULE.bazel and source.json only, and regenerating it needs bazel, which this seat must not run. .bazelrc sets `common:ci --lockfile_mode=error`, so the Bazel lanes stay red until the lock is regenerated on a CI-capable seat.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
deferred: lock
MODULE.bazel.lockis not updated in this PR and must be regenerated on a CI-capable seat before this can go green. This seat is the teletype machine and must not run bazel.What moved
tinyland-inc/bazel-registrypublishes0.3.6as the newesttummycrypt_tinyvectorsmodule (modules/tummycrypt_tinyvectors/0.3.6/); this repo was pinned one behind at0.3.5.MODULE.bazel's own comment requires the Bazel version, thepackage.jsontarball pin, and the prepare hook'sPINNED_INTEGRITYto move in lockstep, so all three move here, plus the two lockfiles that record the pin:MODULE.bazelbazel_dep(tummycrypt_tinyvectors)0.3.5->0.3.6package.jsonv0.3.5.tar.gz->v0.3.6.tar.gzpackage-lock.jsonversion/resolved/integritypnpm-lock.yamlpackagesresolution+version, snapshot keyscripts/build-tinyvectors.mjsPINNED_INTEGRITYurl + registry SRIThe
v0.3.6tag exists upstream (tinyland-inc/tinyvectors) even thoughgh release listshowsv0.3.4as the latest release —v0.3.5andv0.3.6are tags without release objects, which is the same shape the currently-committedv0.3.5pin already relies on.Why the lockfile edits are safe to hand-derive
The upstream diff between the
v0.3.5andv0.3.6tag archives is thepackage.jsonversionfield alone.dependencies,peerDependencies(svelte >=5.20.0),engines(node >=22.0.0) andlicense(Zlib) are unchanged, so the npm/pnpm resolution graph is unchanged and both lockfile edits are a pure pin swap.Integrity provenance — no package manager was run on this seat:
0.3.6/source.jsonrecordssha256-IbKMSlUQR3g3Elf4ks2ViCEdCxtwlBrdBx8wegiX8zg=v0.3.6tag archive and hashing it reproduces that sha256 exactly; the sha512 over those same verified bytes is what is written topackage-lock.jsonv0.3.5reproduces thesha512-BA8vm6sf...already committed for0.3.5, byte for byteCI's
npm ciis still the oracle here — it re-fetches and re-verifies the tarball against the recorded integrity.What CI will do with this as-is
.bazelrcsetscommon:ci --lockfile_mode=error, andMODULE.bazel.lockpinsregistryFileHashesfor the0.3.5MODULE.bazelandsource.jsononly:So every Bazel lane will fail on the stale lock until it is regenerated. The npm-rail lanes should be unaffected.
Follow-up on a CI-capable seat: regenerate
MODULE.bazel.lock(bazel mod deps/ anybazel buildwith the default--lockfile_mode=update) and push the resulting two-lineregistryFileHashesswap onto this branch.Note the lock's
moduleExtensionssection does not recordpnpm-lock.yamlas an input (the%npmextension is absent; only%pnpmis recorded), so the pnpm-lock edit here does not itself widen the regeneration.Adjacent, not done here
.bazelrcpins the registry at the mutable branch refhttps://raw.githubusercontent.com/tinyland-inc/bazel-registry/mainrather than an exact SHA. That is a separate supply-chain change with its own ceremony (re-reading the registry's.bazelversionat the newly pinned SHA in the same commit) and is deliberately out of scope for this bump.