Skip to content

fix: Fix parallel build race condition in CI publish#1159

Merged
charlesvien merged 2 commits intomainfrom
03-09-fix_parallel_build_race_condition_in_ci_publish
Mar 10, 2026
Merged

fix: Fix parallel build race condition in CI publish#1159
charlesvien merged 2 commits intomainfrom
03-09-fix_parallel_build_race_condition_in_ci_publish

Conversation

@charlesvien
Copy link
Copy Markdown
Member

@charlesvien charlesvien commented Mar 10, 2026

Fixes https://github.com/PostHog/code/actions/runs/22878582239/job/66395384614

  1. Main and renderer Vite builds run the PostHog rollup plugin in parallel, both trying to create the same release
  2. Second build fails with "Hash id already in use", breaking CI publish
  3. Give each build target a distinct project name to avoid the conflict

@charlesvien charlesvien marked this pull request as ready for review March 10, 2026 03:33
Copy link
Copy Markdown
Member Author

charlesvien commented Mar 10, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@charlesvien charlesvien changed the title Fix parallel build race condition in CI publish fix: Fix parallel build race condition in CI publish Mar 10, 2026
@charlesvien charlesvien merged commit 75ec830 into main Mar 10, 2026
15 checks passed
@charlesvien charlesvien deleted the 03-09-fix_parallel_build_race_condition_in_ci_publish branch March 10, 2026 03:49
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.

2 participants