[TT-16950] fix: dashboard resolver matches release branches (release-5.12.1)#8045
Conversation
For PRs targeting release branches, check if the same branch exists in tyk-analytics and use it instead of falling back to master. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
API Changes no api changes detected |
|
This PR fixes a bug in the CI workflow where pull requests targeting release branches (e.g., The change updates the Files Changed Analysis
Architecture & Impact Assessment
graph TD
A[Start: PR on release branch] --> B{Resolve Dashboard Image};
B --> C{Is base branch a release branch?};
C -- Yes --> D{Does matching branch exist in tyk-analytics?};
C -- No --> G[Proceed with master branch logic];
D -- Yes --> E[Use image from matching release branch];
D -- No --> F[Fallback to default master image];
E --> H[Run Integration Tests];
F --> H;
G --> H;
Scope Discovery & Context Expansion
Metadata
Powered by Visor from Probelabs Last updated: 2026-04-16T15:24:44.153Z | Triggered by: pr_opened | Commit: 938ea9b 💡 TIP: You can chat with Visor using |
Security Issues (2)
Architecture Issues (1)
✅ Performance Check PassedNo performance issues found – changes LGTM. Powered by Visor from Probelabs Last updated: 2026-04-16T15:24:45.365Z | Triggered by: pr_opened | Commit: 938ea9b 💡 TIP: You can chat with Visor using |
🚨 Jira Linter FailedCommit: The Jira linter failed to validate your PR. Please check the error details below: 🔍 Click to view error detailsNext Steps
This comment will be automatically deleted once the linter passes. |
Summary
tyk-analyticsand uses it directly via ECR imageORG_GH_TOKENto the resolve step's env block for authenticatedgit ls-remoteagainst privatetyk-analyticsrepoSame fix as #8043 (master) and #8044 (release-5.12).
Test plan
release-5.12.1correctly resolve dashboard image from tyk-analyticsrelease-5.12.1branchGenerated with Claude Code