Detect and validate app runtime from uploaded archives.

Reject zip uploads when the selected runtime does not match archive contents, and re-validate before Kaniko builds to fail fast instead of producing the wrong Dockerfile.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
keyhan
2026-06-30 00:27:03 +03:30
parent 837f0fa63f
commit 8d1855b89c
21 changed files with 654 additions and 98 deletions
+1
View File
@@ -37,6 +37,7 @@ const en: Dictionary = {
validation: 'The information you entered is invalid. Please check your input.',
rateLimit: 'Too many requests. Please wait a moment and try again.',
server: 'A server error occurred. Please try again shortly.',
runtimeMismatch: 'The selected project type ({configured}) does not match the uploaded archive ({detected}).',
},
language: {