Add backport checks to AI core release process
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3567074. --> Reported by: [kristen pol](https://www.drupal.org/user/8389) >>> <p>[Tracker]<br> <strong>Update Summary: </strong>[One-line status update for stakeholders]<br> <strong>Short Description: </strong>[One-line issue summary for stakeholders]<br> <strong>Check-in Date: </strong>MM/DD/YYYY<br> <em>Metadata is used by the <a href="https://www.drupalstarforge.ai/" title="AI Tracker">AI Tracker.</a> Docs and additional fields <a href="https://www.drupalstarforge.ai/ai-dashboard/docs" title="AI Issue Tracker Documentation">here</a>.</em><br> [/Tracker]</p> <h3 id="summary-problem-motivation">Problem/Motivation</h3> <p>When working with backporting months ago, I noticed that it's not always obvious if an MR was backported so I ended up checking ones that were tagged:</p> <p><span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/ai_initiative/-/work_items/3538642" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/ai_initiative/-/work_items/3538642</a></span></p> <p>And found some that weren't actually backported, even though they were tagged for it.</p> <p>I suggested that checking this be added as a release process step and Marcus said he can create a script for it.</p> <h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4> <p>Please provide information like AI modules enabled, which AI provider, browser, etc.</p> <h3 id="summary-proposed-resolution">Proposed resolution</h3> <p>Create a script and update the release process to include:</p> <ul> <li>Check each issue in the release that is tagged for backporting</li> <li>Check the relevant branches to make sure it was actually backported</li> <li>Also check newer branches when the issue is set for an older branch to make sure it's included</li> <li>If it <strong>WAS</strong> backported, <strong>REMOVE</strong> the tag from the issue</li> <li>If it <strong>WAS NOT</strong> backported, <strong>BACKPORT</strong> it and then <strong>REMOVE</strong> the tag from the issue</li> </ul> <p>Tags:</p> <ul> <li>needs backport to 1.1.x</li> <li>needs backport to 1.2.x</li> <li>needs backport to 1.3.x</li> </ul> <h3 id="summary-remaining-tasks">Remaining tasks</h3> <ul> <li>Create script</li> <li>Test and review script</li> <li>Update release process docs</li> <li>Review process changes</li> </ul> <h3>Optional: Other details as applicable (e.g., User interface changes, API changes, Data model changes)</h3> > Related issue: [Issue #3538642](https://www.drupal.org/node/3538642)
issue