[TT-16950] fix: dashboard resolver matches release branches (release-5.12)#8044
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>
🚨 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. |
|
This PR fixes a bug in the Files Changed Analysis
Architecture & Impact AssessmentWhat this PR accomplishes: Key technical changes introduced:
Affected system components:
Workflow Logic: graph TD
A[Start: Resolve Dashboard Image] --> B{"PR base branch is 'master'?"};
B -- Yes --> C[Use existing master branch logic];
B -- No --> D{Does matching branch exist in tyk-analytics?};
D -- Yes --> E[Use matching branch image, e.g., tyk-analytics:release-5.12];
D -- No --> F["Fallback to default (master) image"];
Scope Discovery & Context ExpansionThis change is confined to the CI configuration but has implications for the multi-repository release process involving Metadata
Powered by Visor from Probelabs Last updated: 2026-04-16T15:17:45.568Z | Triggered by: pr_opened | Commit: 5f1063c 💡 TIP: You can chat with Visor using |
\n\n
Architecture Issues (1)
✅ Performance Check PassedNo performance issues found – changes LGTM. Quality Issues (1)
Powered by Visor from Probelabs Last updated: 2026-04-16T15:17:39.909Z | Triggered by: pr_opened | Commit: 5f1063c 💡 TIP: You can chat with Visor using |
|
API Changes no api changes detected |
) ## Summary - For PRs targeting release branches, the dashboard resolver now checks if the base branch exists in `tyk-analytics` and uses it directly via ECR image - Previously always fell back to gromit-default (master), causing test failures due to dashboard/gateway version mismatch - Adds `ORG_GH_TOKEN` to the resolve step's env block for authenticated `git ls-remote` against private `tyk-analytics` repo Same fix as #8043 (master) and #8044 (release-5.12). ## Test plan - [ ] CI passes on this PR - [ ] Verify that PRs targeting `release-5.12.1` correctly resolve dashboard image from tyk-analytics `release-5.12.1` branch Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
strategy=gromit-default, which mapped totyk-analytics:master-- causing test failures due to dashboard/test version mismatchORG_GH_TOKENto the resolver step env forgit ls-remoteauthenticationTest plan
release-5.12resolves totyk-analytics:release-5.12viarelease-branch-matchstrategygromit-defaultGenerated with Claude Code