shahar1 opened a new pull request, #70396:
URL: https://github.com/apache/airflow/pull/70396

   The provider testing issue generator (`breeze release-management 
generate-issue-content-providers`) silently missed linked issues whose 
reference is the last thing in the PR body — a common shape, since `Fixes 
#NNNNN` often sits on the final line. `ISSUE_MATCH_IN_BODY` (`r" 
#([0-9]+)[^0-9]"`) requires a non-digit character *after* the number, which 
doesn't exist at end of string after the body's lines are joined.
   
   Concrete occurrence: in the google 22.3.0rc1 testing issue (#70355), PR 
#69161 (body ending with `Fixes #53843`) was rendered with no linked issues, 
and the release manager had to add #53843 by hand.
   
   Replacing the trailing `[^0-9]` with a negative lookahead `(?![0-9])` 
matches the same references without requiring a trailing character. Verified 
against the real #69161 body: the old pattern finds nothing, the new one finds 
53843; mid-body references behave identically.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code (Fable 5)
   
   Generated-by: Claude Code (Fable 5) following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to