Skip to content

feat: Update github actions to handle orchestration spec updates#1542

Open
BrigittaK307 wants to merge 4 commits intomainfrom
I753325-478
Open

feat: Update github actions to handle orchestration spec updates#1542
BrigittaK307 wants to merge 4 commits intomainfrom
I753325-478

Conversation

@BrigittaK307
Copy link
Contributor

@BrigittaK307 BrigittaK307 commented Feb 13, 2026

Context

Closes SAP/ai-sdk-js-backlog#478

What this PR does and why it is needed

Modified cron job to handle orchestration spec updates, too.
The changes should be aligned with what the Java team implemented.

@hyperspace-insights
Copy link
Contributor

hyperspace-insights bot commented Feb 13, 2026

Summary

The following content is AI-generated and provides a summary of the pull request:

⚠️ Warnings:

  • Could not get access to repository SAP/ai-sdk-js-backlog to retrieve Issue 478. Status: 404 - UnknownObjectException

feat: Update GitHub Actions to handle orchestration spec updates

New Features

✨ Enhanced the spec file update cron job to automatically handle orchestration service specification updates alongside existing AI API, document grounding, and prompt registry updates. The workflow now dynamically fetches orchestration versions and triggers appropriate spec updates.

Changes

  • .github/workflows/spec-update-cron.yaml:
    • Added workflow_dispatch trigger for manual workflow execution
    • Refactored from individual jobs to a single matrix-based job (update-all-specs) that processes multiple spec files in parallel
    • Added orchestration to the matrix of spec files to be updated
    • Implemented dynamic version fetching for orchestration from the MLF GitOps repository
    • Added logic to construct appropriate branch names for orchestration updates (removing hotfix suffixes and using rel- prefix)
    • Integrated Slack failure notifications for better visibility when spec updates fail
    • Streamlined workflow by consolidating all spec updates into a unified process with conditional logic

GitHub Issues


  • 🔄 Regenerate and Update Summary
  • ✏️ Insert as PR Description (deletes this comment)
  • 🗑️ Delete comment
PR Bot Information

Version: 1.17.61 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback

@BrigittaK307 BrigittaK307 requested review from KavithaSiva, ZhongpinWang, davidkna-sap and marikaner and removed request for marikaner February 13, 2026 08:50
Comment on lines 35 to 38
Copy link
Member

@davidkna-sap davidkna-sap Feb 13, 2026

Choose a reason for hiding this comment

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

Please match this logic instead (but maybe use yq):
https://github.com/SAP/ai-sdk-java/blob/main/.github/workflows/weekly-spec-update.yaml#L27-L50

This should match the actual service version, also not every tag has a release.

Comment on lines 40 to 43
Copy link
Member

Choose a reason for hiding this comment

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

I feel like it should error in this case so it can send a slack notification.

@BrigittaK307 BrigittaK307 changed the title feat: Update github actions to handle orchestration updates feat: Update github actions to handle orchestration spec updates Feb 18, 2026
ORCH_VERSION=$(curl --silent --request GET \
--url "https://github.tools.sap/api/v3/repos/MLF-prod/mlf-gitops-prod/contents/services/llm-orchestration/source/Chart.yaml?ref=aws.eu-central-1.prod-eu/current" \
-H "Authorization: Bearer $TOKEN" \
-H "Accept: application/vnd.github.v3.raw" | grep 'version:' | awk '{print $2}')
Copy link
Member

Choose a reason for hiding this comment

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

[pp]

Suggested change
-H "Accept: application/vnd.github.v3.raw" | grep 'version:' | awk '{print $2}')
-H "Accept: application/vnd.github.v3.raw" | yq -r .version)

Comment on lines +57 to +58
gh workflow run spec-update.yaml \
--field file=${{ matrix.file }} \
Copy link
Member

Choose a reason for hiding this comment

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

[pp] Doesn't hut keeping this verbose:

Suggested change
gh workflow run spec-update.yaml \
--field file=${{ matrix.file }} \
gh workflow run spec-update.yaml \
--ref main \
--field file=${{ matrix.file }} \

Comment on lines +54 to +55
fi
echo "Using branch: $BRANCH"
Copy link
Member

Choose a reason for hiding this comment

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

Please preserve the existing/commented RPT update script somewhere, either as a step like orchestration or here in 'Trigger spec update'.

TAG=$(git -c 'versionsort.suffix=-' ls-remote --tags --sort='v:refname' https://github.tools.sap/DL-COE/sap-rpt-1-public-content | tail --lines=1 | cut -f 2)

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

Comments