Skip to content

fix(deps): require lockfiles for Buddy manifest updates - #1473

Merged
chrisbbreuer merged 1 commit into
mainfrom
codex/guard-api-lockfile-fallback
Nov 27, 2026
Merged

chrisbbreuer merged 1 commit into
mainfrom
codex/guard-api-lockfile-fallback

Conversation

@chrisbbreuer

Copy link
Copy Markdown
Member

Fixes #1471. Related to stacksjs/hq.support#58.

  • Regenerate required locks for actual manifest writes even when the process is labelled test. Only the existing dummy manifest guard skips fixture writes.
  • Before the GitHub API fallback writes anything, check the exact base commit's tracked locks. Reuse the same root and nested lockfile detection as local refresh. Refuse missing or deleted locks and incomplete trees. Keep the API path for unlocked projects and supplied lock updates.

The two regression cases failed before the fix. The Git-path fixture uses an actual Bun install, then verifies that the frozen reinstall succeeds and the lock is staged. The API cases check that invalid requests make no writes. Passed 2,476 tests, 90 targeted checks on the final revision, Pickier, typecheck, and build. A fresh install from the packed candidate also blocked the manifest-only API case. Candidate archive SHA-256 1a5b2a69f0aa40d74b59b010b6eeafcc22ed13315582d7c64e943de6344a6b2c.

The separate HQ.support lockfile repair at 16f86dd passed frozen install, all three typechecks, and the 1,000-client test against disposable PostgreSQL and Redis. The original PR run's trigger is unconfirmed. App PR

@chrisbbreuer
chrisbbreuer merged commit 9f1d44e into main Nov 27, 2026
6 checks passed
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.

Keep dependency manifests and lockfiles together when publishing

1 participant