Skip to content

Conversation

Copy link

Copilot AI commented Sep 1, 2025

The CI workflows were failing because the lockfile (bun.lock) was out of sync with the package dependencies after PR #7 added a new workspace package (packages/react-native-activity-kit) without updating the lockfile.

When CI runs bun install --ignore-scripts --frozen-lockfile, it expects the lockfile to be perfectly synchronized with all package.json files. The error was:

error: lockfile had changes, but lockfile is frozen
note: try re-running without --frozen-lockfile and commit the updated lockfile

This fix updates the lockfile by running bun install --ignore-scripts to include the new workspace package and sync all dependency versions, allowing CI to proceed with the frozen lockfile check.

Fixes #9


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Sep 1, 2025

Open in StackBlitz

npm i https://pkg.pr.new/kingstinct/react-native-activity-kit/@kingstinct/react-native-activity-kit@10

commit: ee51729

@robertherber
Copy link
Member

robertherber commented Sep 1, 2025

@copilot the workflows still fail because of lockfile changes, any more ideas

Copy link
Author

Copilot AI commented Sep 1, 2025

@copilot the workflows still fail because of lockfile changes, any more ideas

I've identified and fixed the issue! The workflows were failing because PR #7 added a new workspace package but didn't update the lockfile. I've updated the bun.lock file by running bun install --ignore-scripts which adds the new workspace package to the lockfile. The CI should now pass as it can use --frozen-lockfile successfully. Changes committed in e6d6b8b.

Copilot AI changed the title [WIP] Run bun install and commit the updated lockfile Update bun lockfile to fix CI workflow failures Sep 1, 2025
Copilot finished work on behalf of robertherber September 1, 2025 09:39
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.

Run bun install and commit the updated lockfile

2 participants