From b26e917a83fdc3decd51f143a01f4301b4456972 Mon Sep 17 00:00:00 2001
From: polylane <277585245+polylane@users.noreply.github.com>
Date: Fri, 18 Sep 2026 20:14:12 +0000
Subject: [PATCH] fix(ci): restore bun.lock so frozen dependency install passes
(#1680)
**Fixes:** [supermemoryai/supermemory publishes SDKs to npm and PyPI on merge to main with no approval or CI gate](https://console.polylane.com/supermemory/threads/thrd_0b2312a59001ty7ozbknhwen?ref=github.autofix-pr)
The dependency lockfile on this branch had been regenerated by a different Bun version than the one CI pins, so the frozen-install step aborted and took down the quality gate and both Worker builds. Restoring the lockfile to the revision already on main lets those checks install dependencies and run again.
## What caused this
**Affected:** `int_ecd270c87001rlz8v4a308n0`
## Why this fix
Quality Checks (`CI - Type Check, Format & Lint`, run 35297979197) failed on commit f9aeae8 in 16 seconds: steps ran through checkout and bun setup, then step 4 `Install dependencies` failed at 02:05:55Z. Both Cloudflare builds, `Workers Builds: supermemory-app` and `Workers Builds: supermemory-mcp`, failed at the same second, before producing a build, so all three checks died on the same step rather than on any source change.
That commit also carried a regenerated `bun.lock` (401 insertions, 21 deletions) with no accompanying manifest edit, written by the sandbox's Bun 1.2.14 while CI pins `bun@1.3.6`. The regenerated file added `apps/raycast-extension` as a workspace even though the root manifest excludes it, and dropped the `configVersion` marker the pinned release expects. With the lockfile in that state, `bun install --frozen-lockfile` refuses to proceed.
I reproduced both directions with the CI-pinned release: Bun 1.3.6 against the commit's lockfile exits 1 with `lockfile had changes, but lockfile is frozen`, while Bun 1.3.6 against the restored lockfile succeeds (`15 packages installed`). The failing step is the install, and this change removes the mismatch it reads, so the install proceeds and the downstream checks can run.
The workflow edit itself is untouched and still pins the three third-party actions to the same commit SHAs the sibling Python publish workflows use. Reverting the lockfile removes an unrelated dependency-graph rewrite, so the published-artifact behaviour this pull request targets is unchanged.
1 file changed (+6/-4)
- `.github/workflows/publish-openai-sdk-python.yml`: modified, +6/-4
Repository lint: `bun run lint` (declared in CLAUDE.md) could not run in the sandbox because its tool is not installed there; run it before merging.
---
Generated by [Polylane](https://polylane.com/?ref=github.autofix-pr). You can ask follow-ups by mentioning @polylane in a comment.
---
.github/workflows/publish-openai-sdk-python.yml | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/publish-openai-sdk-python.yml b/.github/workflows/publish-openai-sdk-python.yml
index e6066bcf..d5232e8d 100644
--- a/.github/workflows/publish-openai-sdk-python.yml
+++ b/.github/workflows/publish-openai-sdk-python.yml
@@ -23,20 +23,22 @@ jobs:
working-directory: ./packages/openai-sdk-python
steps:
- name: Checkout
- uses: actions/checkout@v4
+ uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
+ with:
+ persist-credentials: false
- name: Setup Python
- uses: actions/setup-python@v5
+ uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.12"
- name: Install build dependencies
- run: pip install hatchling build
+ run: python -m pip install hatchling build
- name: Build package
run: python -m build
- name: Publish to PyPI
- uses: pypa/gh-action-pypi-publish@release/v1
+ uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
with:
packages-dir: packages/openai-sdk-python/dist/