Skip to content

chore(dataplex): backfill release notes and fix override parser#12952

Merged
blakeli0 merged 3 commits intomainfrom
chore/fix-override-parser
Apr 29, 2026
Merged

chore(dataplex): backfill release notes and fix override parser#12952
blakeli0 merged 3 commits intomainfrom
chore/fix-override-parser

Conversation

@meltsufin
Copy link
Copy Markdown
Member

Update BEGIN_COMMIT_OVERRIDE parser to support standard conventional commit syntax (e.g., feat(module):) in addition to OwlBot bracket syntax (feat: [module]).

Backfill missing Dataplex release notes that were previously excluded due to this parsing limitation.

Includes a new integration test using Dataplex 1.86.0 to verify correct parsing of large squashed commits.

Update BEGIN_COMMIT_OVERRIDE parser to support standard conventional
commit syntax (e.g., `feat(module):`) in addition to OwlBot bracket syntax
(`feat: [module]`).

Backfill missing Dataplex release notes that were previously excluded
due to this parsing limitation.

Includes a new integration test using Dataplex 1.86.0 to verify correct
parsing of large squashed commits.
@meltsufin meltsufin requested a review from a team as a code owner April 29, 2026 15:00
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the release note generation script to support (short_name) delimiters and adds a new integration test for the java-dataplex module, including a golden file and updated changelog. The review feedback identifies a logic issue where multi-line commit overrides might be truncated due to line-by-line filtering and suggests improving test portability and error reporting by using sys.executable and idiomatic subprocess.run parameters.

Comment thread .github/release-note-generation/generate_module_notes.py
Comment thread .github/release-note-generation/test_generate_module_notes.py Outdated
- Update override parser to preserve newlines in multi-line commit messages
  (e.g., for breaking changes) instead of squashing them into single lines.
- Update test suite to use `sys.executable` for cross-platform portability
  and `capture_output=True` for idiomatic subprocess calls.
- Regenerate test goldens to reflect the corrected multi-line markdown output.
- Update java-dataplex/CHANGELOG.md to reflect the corrected output.
Reverts the parser to use space-separated lines for commit descriptions,
which produces cleaner single-line outputs for CHANGELOG.md.

Test baselines and java-dataplex/CHANGELOG.md have been reverted to match
this single-line format. The test suite portability improvements from the
previous commit remain intact.
@blakeli0 blakeli0 merged commit 797de91 into main Apr 29, 2026
123 of 125 checks passed
@blakeli0 blakeli0 deleted the chore/fix-override-parser branch April 29, 2026 21:28
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