Skip to content

fix(ci): enable include-component-in-tag to fix auto-tagging#196

Merged
buremba merged 1 commit into
mainfrom
fix/release-please-include-component-tag
Apr 16, 2026
Merged

fix(ci): enable include-component-in-tag to fix auto-tagging#196
buremba merged 1 commit into
mainfrom
fix/release-please-include-component-tag

Conversation

@buremba
Copy link
Copy Markdown
Member

@buremba buremba commented Apr 16, 2026

Summary

The actual root cause: release-please's getComponent() returns "" when include-component-in-tag: false, so component never appears in PR titles. But getBranchComponent() ignores that flag and returns the real component from package.json. The buildRelease() check compares these two values and return;s on mismatch — silently skipping release creation.

Fix: Set include-component-in-tag: true + package-name: "lobu". This makes both getComponent() and getBranchComponent() return "lobu", the title includes it, and the check passes.

Tag format changes: v3.4.4lobu-v3.4.4. All downstream workflows (publish, Docker) use the tag_name output, not a hardcoded format.

Title format: chore(main): release lobu 3.4.4

Test plan

  • Merge → release PR with "lobu" in title
  • Merge release PR → tag + release created automatically
  • publish + docker dispatched

…o-tagging

release-please v4's buildRelease checks:
  normalizeComponent(branchName.component) !== normalizeComponent(branchComponent)
and returns early (skips release creation) on mismatch.

branchName.component comes from parsing the merged PR's title.
branchComponent comes from getBranchComponent() which falls through
to getDefaultPackageName() → root package.json name ("lobu-monorepo")
when component/package-name is empty or unset (JS || treats "" as falsy).

Fix: set package-name to "lobu" (controls the expected component) and
include ${component} in the title pattern so the parser can extract it.
Result: titles like "chore(main): release lobu 3.4.4", and the
component check passes ("lobu" === "lobu").

include-component-in-tag remains false, so tags stay as v3.4.4 (no
component suffix).
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@buremba buremba merged commit 524e715 into main Apr 16, 2026
9 checks passed
@buremba buremba deleted the fix/release-please-include-component-tag branch April 21, 2026 21:41
buremba added a commit that referenced this pull request May 19, 2026
Two-part fix discovered while shipping owletto#196:

1. The "E2E before merge" exception said agents can't reach
   Mac/Xcode dev environments. xcodebuild actually runs headlessly
   from Bash (verified: `xcodebuild -project Owletto.xcodeproj
   -scheme Owletto -configuration Debug -destination "platform=macOS"
   build CODE_SIGNING_ALLOWED=NO` produced "BUILD SUCCEEDED" on every
   commit of #196 without any human in the loop). Compile-checks
   aren't exempt; only UI/runtime validation is. Reworded the
   exception and added the xcodebuild command to the validation
   table so agents pick the right tool by package.

2. "Cross-repo dispatch" said owletto changes go through a standalone
   clone at ~/Code/owletto. That clone was retired this session in
   favour of `make task-setup NAME=<slug>` worktrees which set up
   packages/owletto on a real named branch under the worktree —
   matching how owletto#196 was actually shipped.
buremba added a commit that referenced this pull request May 19, 2026
* chore: bump owletto submodule pointer to lobu-ai/owletto#196

Picks up:
- feat(mac): Cancel button for the OAuth sign-in flow (#196)

Before: 4f7c757 feat: per-agent guardrail toggle + recent trips view
After:  05e966b feat(mac): Cancel button for the OAuth sign-in flow

* docs(agents): correct the Mac/Xcode validation exception

Two-part fix discovered while shipping owletto#196:

1. The "E2E before merge" exception said agents can't reach
   Mac/Xcode dev environments. xcodebuild actually runs headlessly
   from Bash (verified: `xcodebuild -project Owletto.xcodeproj
   -scheme Owletto -configuration Debug -destination "platform=macOS"
   build CODE_SIGNING_ALLOWED=NO` produced "BUILD SUCCEEDED" on every
   commit of #196 without any human in the loop). Compile-checks
   aren't exempt; only UI/runtime validation is. Reworded the
   exception and added the xcodebuild command to the validation
   table so agents pick the right tool by package.

2. "Cross-repo dispatch" said owletto changes go through a standalone
   clone at ~/Code/owletto. That clone was retired this session in
   favour of `make task-setup NAME=<slug>` worktrees which set up
   packages/owletto on a real named branch under the worktree —
   matching how owletto#196 was actually shipped.
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