Skip to content

fix(release): consistent nodemailer tree for electron-builder + fail-fast matrix#111

Merged
th3-br41n merged 1 commit into
mainfrom
fix/packaging-nodemailer-tree
Jul 7, 2026
Merged

fix(release): consistent nodemailer tree for electron-builder + fail-fast matrix#111
th3-br41n merged 1 commit into
mainfrom
fix/packaging-nodemailer-tree

Conversation

@th3-br41n

Copy link
Copy Markdown
Contributor

Unblocks the v0.1.9 release. Two changes:

  1. Packaging fix. electron-builder's bun dependency collector hard-fails when a package's declared production dep isn't resolvable at the declared version — which is exactly what the root overrides: nodemailer ^9 (from the Dependabot audit) created for imapflow's nodemailer@8.0.10. Root-cause fix: bump imapflow ^1.4.6 + mailparser ^3.9.14 (both declare nodemailer 9.0.3 natively) and drop the override — every nodemailer in the tree is now 9.0.3 with consistent declarations. Verified with a local electron-builder --mac --dir dry-run (exit 0 — the exact step that failed in CI); mailbox worker tests green (42/42).
  2. Fail-fast release matrix (requested): the first failing leg now cancels the rest instead of burning three runners for half an hour.

Process note: verify/test never exercise packaging, so dep-graph changes could break only at release time — the --dir dry-run is the missing gate; I'll remember to run it for future dependency PRs.

After merge: I re-point the v0.1.9 tag at the fixed main and re-fire the release.

🤖 Generated with Claude Code

…fast matrix

The v0.1.9 build died in electron-builder's bun node-module collector:
the root `overrides: nodemailer ^9` (dependabot audit, #106) made
imapflow's declared nodemailer@8.0.10 resolve elsewhere, and the
traversal collector hard-fails on a declared-but-not-found production
dep. Fix at the source: imapflow ^1.4.6 + mailparser ^3.9.14 both
declare nodemailer 9.0.3 natively, so the override is gone and every
copy in the tree is 9.0.3 (the stale @types/imapflow-scoped 1.4.0
lockfile entry pruned too). Proven with a local
`electron-builder --mac --dir` dry-run — the exact step that failed.

Also: release matrix flips to fail-fast: true — a broken release build
should stop all legs in minutes, not keep three runners burning.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@th3-br41n th3-br41n merged commit bce4181 into main Jul 7, 2026
2 of 3 checks passed
@th3-br41n th3-br41n deleted the fix/packaging-nodemailer-tree branch July 7, 2026 21:47
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.

1 participant