Skip to content

fix: buildkit transient crashes - #222

Merged
chgl merged 1 commit into
masterfrom
fix-buildkit-crash
Sep 30, 2026
Merged

chgl merged 1 commit into
masterfrom
fix-buildkit-crash

Conversation

@chgl

@chgl chgl commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

Trivy image scan report

ghcr.io/miracum/github-reusable-workflow-with-fixed-image-tags:v1.2.3-beta.123 (debian 13.7)

No Vulnerabilities found

@github-actions

Copy link
Copy Markdown

Trivy image scan report

ghcr.io/miracum/github-reusable-workflow:pr-222 (debian 13.7)

No Vulnerabilities found

@github-actions

Copy link
Copy Markdown

Trivy image scan report

ghcr.io/miracum/github-reusable-workflow-without-test-image:pr-222 (debian 13.7)

No Vulnerabilities found

@github-actions

Copy link
Copy Markdown

✅⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Max errors Warnings Elapsed time
✅ COPYPASTE jscpd yes no no 0.53s
✅ DOCKERFILE hadolint 1 0 0 2.8s
✅ JSON jsonlint 3 0 0 0.18s
✅ JSON prettier 3 0 0 0.39s
✅ JSON v8r 3 0 0 2.04s
✅ MARKDOWN markdownlint 1 0 0 0.43s
✅ MARKDOWN markdown-table-formatter 1 0 0 0.17s
✅ PYTHON bandit 1 0 0 3.49s
✅ PYTHON black 1 0 0 2.06s
✅ PYTHON flake8 1 0 0 0.91s
✅ PYTHON isort 1 0 0 0.19s
✅ PYTHON mypy 1 0 0 2.96s
✅ PYTHON pylint 1 0 0 2.35s
✅ PYTHON pyright 1 0 0 1.55s
✅ PYTHON ruff 1 0 0 0.07s
✅ REPOSITORY betterleaks yes no no 0.95s
⚠️ REPOSITORY checkov yes no 2 23.8s
✅ REPOSITORY devskim yes no no 1.34s
✅ REPOSITORY dustilock yes no no 0.39s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 78.6s
✅ REPOSITORY kingfisher yes no no 4.98s
✅ REPOSITORY secretlint yes no no 0.53s
✅ REPOSITORY syft yes no no 2.46s
✅ REPOSITORY trivy yes no no 10.63s
✅ REPOSITORY trivy-sbom yes no no 0.2s
✅ REPOSITORY trufflehog yes no no 5.7s
⚠️ YAML prettier 22 48 1 0.63s
✅ YAML v8r 22 0 0 9.56s
✅ YAML yamllint 22 0 0 0.79s

Detailed Issues

⚠️ REPOSITORY / checkov - 2 warnings
warning: Readiness Probe Should be Configured
 = Readiness Probe Should be Configured
 = Readiness Probe Should be Configured

warning: Liveness Probe Should be Configured
 = Liveness Probe Should be Configured
 = Liveness Probe Should be Configured

warning: 2 warnings emitted
⚠️ YAML / prettier - 48 errors
Checking formatting...
[warn] .github/workflows/standard-lint.yaml
[error] charts/test-chart/templates/deployment.yaml: SyntaxError: Block collections are not allowed within flow collections (6:7)
[error]   4 |   name: {{ include "test-chart.fullname" . }}
[error]   5 |   labels:
[error] > 6 |     {{- include "test-chart.labels" . | nindent 4 }}
[error]     |       ^^
[error]   7 | spec:
[error]   8 |   {{- if not .Values.autoscaling.enabled }}
[error]   9 |   replicas: {{ .Values.replicaCount }}
[error] charts/test-chart/templates/hpa.yaml: SyntaxError: Block collections are not allowed within flow collections (1:3)
[error] > 1 | {{- if .Values.autoscaling.enabled }}
[error]     |   ^^
[error]   2 | apiVersion: autoscaling/v2
[error]   3 | kind: HorizontalPodAutoscaler
[error]   4 | metadata:
[error] charts/test-chart/templates/httproute.yaml: SyntaxError: Block collections are not allowed within flow collections (1:3)
[error] > 1 | {{- if .Values.httpRoute.enabled -}}
[error]     |   ^^
[error]   2 | {{- $fullName := include "test-chart.fullname" . -}}
[error]   3 | {{- $svcPort := .Values.service.port -}}
[error]   4 | apiVersion: gateway.networking.k8s.io/v1
[error] charts/test-chart/templates/ingress.yaml: SyntaxError: Block collections are not allowed within flow collections (1:3)
[error] > 1 | {{- if .Values.ingress.enabled -}}
[error]     |   ^^
[error]   2 | apiVersion: networking.k8s.io/v1
[error]   3 | kind: Ingress
[error]   4 | metadata:
[error] charts/test-chart/templates/service.yaml: SyntaxError: Block collections are not allowed within flow collections (6:7)
[error]   4 |   name: {{ include "test-chart.fullname" . }}
[error]   5 |   labels:
[error] > 6 |     {{- include "test-chart.labels" . | nindent 4 }}
[error]     |       ^^
[error]   7 | spec:
[error]   8 |   type: {{ .Values.service.type }}
[error]   9 |   ports:
[error] charts/test-chart/templates/serviceaccount.yaml: SyntaxError: Block collections are not allowed within flow collections (1:3)
[error] > 1 | {{- if .Values.serviceAccount.create -}}
[error]     |   ^^
[error]   2 | apiVersion: v1
[error]   3 | kind: ServiceAccount
[error]   4 | metadata:
[error] charts/test-chart/templates/tests/test-connection.yaml: SyntaxError: Unexpected scalar at node end (4:22)
[error]   2 | kind: Pod
[error]   3 | metadata:
[error] > 4 |   name: "{{ include "test-chart.fullname" . }}-test-connection"
[error]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[error]   5 |   labels:
[error]   6 |     {{- include "test-chart.labels" . | nindent 4 }}
[error]   7 |   annotations:
Error occurred when checking code style in 7 files.

Notices

⚠️ Your configuration references items that have been removed from MegaLinter and are ignored: REPOSITORY_KICS. See Removed linters to find their replacements.

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@10.1.0 --custom-flavor-setup --custom-flavor-linters PYTHON_PYLINT,PYTHON_BLACK,PYTHON_FLAKE8,PYTHON_ISORT,PYTHON_BANDIT,PYTHON_MYPY,PYTHON_PYRIGHT,PYTHON_RUFF,COPYPASTE_JSCPD,DOCKERFILE_HADOLINT,JSON_JSONLINT,JSON_V8R,JSON_PRETTIER,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_DEVSKIM,REPOSITORY_DUSTILOCK,REPOSITORY_GIT_DIFF,REPOSITORY_BETTERLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,REPOSITORY_KINGFISHER,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is provided by OX Security
Show us your support by starring ⭐ the repository

@chgl
chgl merged commit 074c1a6 into master Sep 30, 2026
37 checks passed
@chgl
chgl deleted the fix-buildkit-crash branch September 30, 2026 12:36
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.29.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant