Skip to content

fix(ci): include component in title pattern to fix auto-tagging#194

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

fix(ci): include component in title pattern to fix auto-tagging#194
buremba merged 1 commit into
mainfrom
fix/release-please-component-match

Conversation

@buremba
Copy link
Copy Markdown
Member

@buremba buremba commented Apr 16, 2026

Summary

Root cause found by reading release-please source. buildRelease() in strategies/base.ts does a hard return; (not just a warning) when PR title component doesn't match the configured component. Previous fixes (#186, #188, #190, #192) addressed symptoms but not the actual check.

The fix:

  • Set package-name: "lobu" → controls getBranchComponent() return value
  • Include ${component} in pull-request-title-pattern → parser can extract component from title
  • Result: titles like chore(main): release lobu 3.4.4, component check passes

include-component-in-tag: false stays, so tags remain v3.4.4.

Test plan

  • Merge → release-please opens PR with title containing "lobu" + version
  • Merge release PR → v3.4.4 tag + release created automatically (no manual recovery)
  • publish + docker workflows 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 deaa3dc into main Apr 16, 2026
10 checks passed
buremba added a commit that referenced this pull request May 19, 2026
Bumps packages/owletto from 970eb500 → 4f7c7571 (origin/main), bringing
in the per-agent guardrail toggle + recent trips view (owletto PR #194).

Companion to the guardrails runtime work merged in #919 (call sites +
secret-scan + forbidden-tools built-ins) and #915 (schema + judge engine
+ pii-scan). With this bump the guardrails UI ships end-to-end.
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