Add script to auto-create DAP foundational flow release notes issue

What does this MR do and why?

Add script to auto-create DAP foundational flow release notes issue

How to set up and validate locally

Dry-run mode (output markdown to stdout)

export AIGW_TAGGING_ACCESS_TOKEN=<YOUR_GITLAB_COM_TOKEN_WITH_API_ACCESS>
export CI_COMMIT_TAG="v18.10.0-ee"
❯ ruby scripts/dap_foundational_flows_release_notes.rb --dry-run 
...

You should see markdown output summarizing changes identified as foundational flow changes

Create issue in your GDK

Find the project ID where you want the issue to be created. You can use 39903947 for the AI Gateway project.

export AIGW_TAGGING_ACCESS_TOKEN=<YOUR_GITLAB_COM_TOKEN_WITH_API_ACCESS>
export CI_COMMIT_TAG="v18.10.0-ee"
export DAP_PROJECT_ID=39903947
export DAP_RELEASE_NOTES_TOKEN=<TOKEN THAT CAN CREATE ISSUE IN DAP_PROJECT_ID>

❯ ruby scripts/dap_foundational_flows_release_notes.rb
Comparing AI Gateway self-hosted-v18.9.0-ee...self-hosted-v18.10.0-ee
Total commits: 467
Candidate foundational flow changes: 6
Issue created: https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/work_items/2134

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Roman Eisner

Merge request reports

Loading