Skip to content

feat(pdk): support all commit scopes by default#1757

Merged
ulivz merged 7 commits into
mainfrom
feat/pdk-filter-scopes-default
Dec 8, 2025
Merged

feat(pdk): support all commit scopes by default#1757
ulivz merged 7 commits into
mainfrom
feat/pdk-filter-scopes-default

Conversation

@ulivz
Copy link
Copy Markdown
Member

@ulivz ulivz commented Dec 8, 2025

Summary

PDK CLI --filter-scopes parameter now supports all commit scopes by default instead of hardcoded tars-specific scopes, enabling infra monorepo and other projects to generate changelogs properly.

Changes Made

  • Changed --filter-scopes default from hardcoded list to empty string
  • Added scope filtering logic to generateReleaseNotes function
  • Added scope filtering to AI changelog generator
  • Updated multimodal package.json to explicitly specify tars scopes
  • Allow infra monorepo to generate changelog with all scopes

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

- Change --filter-scopes default from hardcoded list to empty string
- Add scope filtering logic to generateReleaseNotes function
- Add scope filtering to AI changelog generator
- Update multimodal package.json to explicitly specify scopes
- Allow infra monorepo to generate changelog with all scopes
@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 8, 2025

Deploy Preview for tarko canceled.

Name Link
🔨 Latest commit b6872ea
🔍 Latest deploy log https://app.netlify.com/projects/tarko/deploys/6936a01d92eb3c00089f8768

@netlify
Copy link
Copy Markdown

netlify Bot commented Dec 8, 2025

Deploy Preview for agent-tars-docs canceled.

Name Link
🔨 Latest commit b6872ea
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/6936a01de1fc0d00084bfe8f

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 14.27%. Comparing base (c6278d6) to head (b6872ea).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1757   +/-   ##
=======================================
  Coverage   14.27%   14.27%           
=======================================
  Files         250      250           
  Lines        8565     8565           
  Branches     1674     1674           
=======================================
  Hits         1223     1223           
  Misses       7166     7166           
  Partials      176      176           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

ulivz added 6 commits December 8, 2025 17:25
- create utils/commit.ts for shared scope extraction functions
- replace duplicate scope filtering logic in github.ts and ai-changelog.ts
- add comprehensive testing documentation
- remove custom scope extraction logic in favor of existing library
- simplify shouldIncludeCommitByScope function using parseCommit
- remove testing documentation as requested
@ulivz ulivz merged commit 9bd2948 into main Dec 8, 2025
13 checks passed
@ulivz ulivz deleted the feat/pdk-filter-scopes-default branch December 8, 2025 13:00
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.

2 participants