Skip to content

fix(core): disable concurrency for package subtasks#4309

Merged
erickzhao merged 1 commit into
nextfrom
port-package-concurrency
Jul 2, 2026
Merged

fix(core): disable concurrency for package subtasks#4309
erickzhao merged 1 commit into
nextfrom
port-package-concurrency

Conversation

@claude

@claude claude Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Requested by Samuel Attard · Slack thread

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

Backport of #4276 to the next branch (Forge 8 / ESM).

Before: The inner package subtask list (copy-files, prepare-native-dependencies, finalize-package) inherited concurrent: true from the target list a couple of levels up, so all three subtasks render as if they start simultaneously in the terminal / CI log — making it look like, for example, prepare-native-dependencies began before copy-files finished, which is not what actually happens.

After: The three subtasks render sequentially, matching the real execution order (the underlying work in @electron/packager runs sequentially).

How: Set concurrent: false on the inner task.newListr([...]) options object in packages/api/core/src/api/package.ts — the same list #4276 targeted on main. Parent-list behavior is unchanged.


Generated by Claude Code

@github-actions github-actions Bot added the next label Jul 1, 2026
@MarshallOfSound MarshallOfSound marked this pull request as ready for review July 1, 2026 18:35
@MarshallOfSound MarshallOfSound requested a review from a team as a code owner July 1, 2026 18:35
@erickzhao erickzhao changed the title fix: disable concurrency for package subtasks on next (backport of #4276) fix: disable concurrency for package subtasks Jul 2, 2026
@erickzhao erickzhao changed the title fix: disable concurrency for package subtasks fix(core): disable concurrency for package subtasks Jul 2, 2026
The inner package subtask list (copy-files, prepare-native-dependencies,
finalize-package) was unintentionally inheriting "concurrent": true from
the list of targets a couple of levels up. As a result all three subtasks
appear to start simultaneously in CI logs even though the underlying work
in @electron/packager runs sequentially. Set concurrent: false on that
inner list so the subtasks render sequentially.

Co-authored-by: Ryan Fitzgerald <rwfitzge@gmail.com>
@claude claude Bot force-pushed the port-package-concurrency branch from d972900 to c1faaf9 Compare July 2, 2026 17:21
@erickzhao erickzhao enabled auto-merge (squash) July 2, 2026 17:35
@erickzhao erickzhao merged commit 992d61c into next Jul 2, 2026
13 checks passed
@erickzhao erickzhao deleted the port-package-concurrency branch July 2, 2026 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants