Skip to content

fix(temporal): verify structured Renovate pins and Bun integrity - #5541

Draft
shepherdjerred wants to merge 1 commit into
mainfrom
fix-renovate-pin-verification
Draft

shepherdjerred wants to merge 1 commit into
mainfrom
fix-renovate-pin-verification

Conversation

@shepherdjerred

Copy link
Copy Markdown
Owner

Why

The first production bundle preview rejected 26 candidates as stale, including unchanged structured catalog entries and ordinary npm version changes carrying tarball integrity from Renovate.

What

Match version-catalog entries by their exact managed identity and current pin. Compare the whole catalog after updating it. Admit canonical npm SHA-512 evidence into manifest planning, then require the exact resolved package, version, and checksum in the tracked Bun lockfile after installation.

Demo

Production replay Before With this change
npm package manifests All 13 falsely stale. All 13 matched. A real vec3 0.2.0 candidate passed a frozen Bun install and exact integrity readback.
Structured version catalog All 11 falsely stale. Eight Docker or OCI targets and one GitHub release matched their exact pins. Two Helm targets remain held without a catalog digest.
Adjacent catalog entry Whole-file verification required. An unrelated entry edit still fails the comparison.

The live Tautulli example changed the digest of the existing 2.18.2 tag from sha256:d3c53deb…fb7cf to sha256:7ca2e262…227a5. The expected file contains only that value change.

Verification

  • Temporal typecheck, strict focused lint, and the complete commit hook passed.
  • Focused Bun integrity and catalog tests passed, including rejection of version drift, checksum mismatches, and unrelated edits.
  • Production publishing remains gated on a fresh preview and verified review PR.

Why

The production preview rejected unchanged ranked pins. Version-catalog pins are structured entries, and npm registry integrity lives in Bun lock records.

What

Match the exact managed catalog entry and compare the whole modified catalog. Verify npm resolutions against the exact ranked version and SHA-512 in the tracked Bun lockfile after a frozen install.

Verification

Replayed real production candidates. Nine of eleven catalog entries and thirteen formerly rejected npm manifests now match. A real vec3 update verified the regenerated Bun lock and installed package. Focused tests and typecheck passed. A production preview and review PR still need live verification.
@shepherdjerred

Copy link
Copy Markdown
Owner Author

This change is part of the following stack:

Change managed by git-spice.

@greptile-apps

greptile-apps Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Automatic reviews are disabled for this repository. Configure in Code Review Settings.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant