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
@@ -36,6 +36,7 @@ const fa = {
validation: 'اطلاعات واردشده درست نیست. لطفاً ورودی‌ها را بررسی کنید.',
rateLimit: 'تعداد درخواست‌ها زیاد است. کمی صبر کنید و دوباره تلاش کنید.',
server: 'خطایی در سرور رخ داد. لطفاً کمی بعد دوباره تلاش کنید.',
runtimeMismatch: 'نوع پروژه انتخاب‌شده ({configured}) با محتوای فایل ({detected}) هم‌خوان نیست.',
},
language: {