fix(ci): fail fast on TypeScript errors before production Docker build#733
Draft
hamza-mohd with Copilot wants to merge 1 commit into
Draft
fix(ci): fail fast on TypeScript errors before production Docker build#733hamza-mohd with Copilot wants to merge 1 commit into
hamza-mohd with Copilot wants to merge 1 commit into
Conversation
Copilot
AI
changed the title
fix(ci): add TypeScript pre-check step before Docker build in production workflow
fix(ci): fail fast on TypeScript errors before production Docker build
Jul 6, 2026
Copilot created this pull request from a session on behalf of
hamza-mohd
July 6, 2026 18:59
View session
Copilot stopped work on behalf of
hamza-mohd due to an error
July 6, 2026 19:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Production - Docker build and pushjob was failing 3–5 minutes in whennext buildinside Docker hit a TypeScript type error (Property 'displayName' does not exist on type '{ version: string; }'incomponents/catalog/catalog/details/index.tsx), wrapping the real error in Docker build noise.Changes
meshery-cloud-release.yml(prodjob): adds aTypeScript type checkstep afterSetup UI Dependencies(node_modules already installed) and beforeSet up QEMU/Docker buildui/tsconfig.jsonfirst, falls back to project rootnpx tsc --noEmitin a subshell to avoid mutating the working directory for subsequent stepsFailure now surfaces in seconds with a direct pointer to the offending file/line, before QEMU/Buildx setup and the full multi-platform build begin.