DEVX-107: Strip task ID prefix from commit messages in extract_conventional_msg #164

Merged
emil merged 0 commits from DEVX-107-strip-task-id-from-conventional-msg into master 2026-07-01 09:28:26 +00:00
Owner

Summary

When a branch commit accidentally includes a task ID prefix (e.g. OBL-INFRA-364: fix: ...), the conventional commit regex failed to match, causing the fallback to return the full message. The auto-merge then prepended the task ID again, producing a doubled prefix in the squash-merge commit (e.g. OBL-INFRA-364: OBL-INFRA-364: fix: ...).

Fix: Strip any leading task ID prefix before matching and in the fallback.

Test plan

  • make pytest-cov — 1578 passed, 100% coverage
  • make lint-all — clean

Closes DEVX-107

## Summary When a branch commit accidentally includes a task ID prefix (e.g. `OBL-INFRA-364: fix: ...`), the conventional commit regex failed to match, causing the fallback to return the full message. The auto-merge then prepended the task ID again, producing a doubled prefix in the squash-merge commit (e.g. `OBL-INFRA-364: OBL-INFRA-364: fix: ...`). **Fix**: Strip any leading task ID prefix before matching and in the fallback. ## Test plan - [x] `make pytest-cov` — 1578 passed, 100% coverage - [x] `make lint-all` — clean Closes DEVX-107
emil reviewed 2026-07-01 08:50:16 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: WARNING — source files changed but no docs updated
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: WARNING — source files changed but no docs updated - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil reviewed 2026-07-01 09:27:17 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: WARNING — source files changed but no docs updated
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: WARNING — source files changed but no docs updated - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
kireto approved these changes 2026-07-01 09:28:18 +00:00
kireto left a comment
Member

Auto-approved: all CI checks passed (quality, pr-review, release-dry-run).

Auto-approved: all CI checks passed (quality, pr-review, release-dry-run).
emil merged commit e3fa9b7c95 into master 2026-07-01 09:28:26 +00:00
emil deleted branch DEVX-107-strip-task-id-from-conventional-msg 2026-07-01 09:28:29 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oblachno-oss/devx#164