Skip to content

docs: capture release-please single-root-package lesson#229

Open
theagenticguy wants to merge 1 commit into
mainfrom
chore/erpaval-release-lesson
Open

docs: capture release-please single-root-package lesson#229
theagenticguy wants to merge 1 commit into
mainfrom
chore/erpaval-release-lesson

Conversation

@theagenticguy

Copy link
Copy Markdown
Owner

What

Captures the durable lesson from this session's release-pipeline recovery as an ERPAVal solution doc + index pointer.

  • .erpaval/solutions/conventions/release-please-single-root-package-cannot-release.md — why a single root release-please component with a scoped package-name cannot create a release in release-please v17 (this.component = options.component || normalizeComponent(packageName) falsy-coerces an empty component → derives clibuildRelease's standalone-component check rejects the component-less release PR → release_created=false → npm never publishes), and the fix: two components + the linked-versions plugin so the published CLI bumps in lockstep with root on every commit. Also documents the migration gotchas (boundary tags, the manual-recovery / OIDC trusted-publisher trap).
  • .erpaval/INDEX.md — one-line pointer to the new lesson.

Why

This bug (npm stuck at 0.7.4 while the private root ran ahead) cost a multi-attempt recovery; the single-component "fix" turned out structurally impossible. Documenting it so a future session reaches for linked-versions directly instead of rediscovering the || coercion the hard way.

Docs-only; no code or release-config change.

Document why collapsing to a single root release-please component with a scoped
package-name cannot create a release (the `||` coercion derives a component the
component-less release PR can't match -> release_created=false -> npm never
publishes), and that the fix is two components + the linked-versions plugin so
the published CLI bumps on every commit. Indexed in .erpaval/INDEX.md.
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