Skip to content

Keep dependency manifests and lockfiles together when publishing #1471

Done

Description

@chrisbbreuer

The initial HQ.support dependency PR head d255f06 changed 57 pins and omitted both bun.lock and pantry.lock. A fresh bun install --frozen-lockfile failed before app verification. The branch later received a separate lockfile repair.

Two independent paths reproduce this behavior in Buddy. The Git commit path skipped every lock regeneration when the process was labelled test, even after real manifest writes. The GitHub API fallback warned about missing locks but still wrote the manifests after a Git error. The original PR's triggering path is unconfirmed.

  • Regenerate the required locks after actual manifest writes, including from a test-labelled process.
  • Verify tracked locks from the immutable GitHub base tree before making API writes. Refuse missing or deleted locks and an incomplete inventory. Preserve standalone nested lockfiles and allow updates when the repository has no lockfile or the matching lock update is supplied.
  • Verify a real frozen Bun install in the Git regression fixture, the API mutation boundaries, and CI.

Initial HQ.support update · Failed CI

Activity

  1. chrisbbreuer commented on Nov 27, 2026

    @chrisbbreuer
    MemberAuthor

    The fix is on main at 9f1d44ec148f914d5a8569808b36f9f6a1c456f6 via #1473. The PR and main CI passed. I also downloaded the exact Pantry commit package, installed it into a fresh Bun project, and verified that its exported provider refuses a manifest-only API update before any write when both Bun and Pantry locks are tracked. The npm stable version remains 0.11.20. Main CI and Pantry publish

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions