You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5c2656b
Browse filesBrowse the repository at this point in the historyBrowse files
// CHANGE: classify Docker build apt signature noise that is commonly caused by storage exhaustion.
84
+
// WHY: when Docker's backing filesystem is full, apt can report every repository as "not signed"; surfacing disk-pressure recovery avoids chasing false GPG/key fixes.
85
+
// QUOTE(ТЗ): "Все пробелмы с котоырми ты сталкиваешься должны быть потом покрыты тестами"
86
+
// REF: runtime-2026-05-14-docker-disk-full
87
+
// SOURCE: n/a
88
+
// FORMAT THEOREM: contains_apt_invalid_signature(details) -> render_error(details) includes disk_space_recovery_hint
89
+
// PURITY: CORE
90
+
// INVARIANT: the classifier only adds guidance and does not alter command execution semantics
91
+
// COMPLEXITY: O(n) time / O(1) space where n = |details|.
"Hint: NVIDIA GPU access is enabled but Docker cannot load the host NVIDIA runtime; run with GPU disabled (`--gpu none`) or install the NVIDIA driver and NVIDIA Container Toolkit."
93
110
]
94
111
: []),
112
+
...(isAptInvalidSignatureFailure(details)
113
+
? [
114
+
"Hint: apt reported invalid signatures for multiple repositories during Docker build; this can be caused by low Docker host disk space. Check `df -h` and reclaim unused Docker cache with `docker builder prune -af` and `docker image prune -af` before retrying."
115
+
]
116
+
: []),
95
117
"Hint: if output above contains 'lookup auth.docker.io' or 'read udp ... [::1]:53 ... connection refused', fix Docker DNS resolver (set working DNS in host/daemon config) and retry."
// CHANGE: classify Docker build apt signature noise that is commonly caused by storage exhaustion.
83
+
// WHY: when Docker's backing filesystem is full, apt can report every repository as "not signed"; surfacing disk-pressure recovery avoids chasing false GPG/key fixes.
84
+
// QUOTE(ТЗ): "Все пробелмы с котоырми ты сталкиваешься должны быть потом покрыты тестами"
85
+
// REF: runtime-2026-05-14-docker-disk-full
86
+
// SOURCE: n/a
87
+
// FORMAT THEOREM: contains_apt_invalid_signature(details) -> render_error(details) includes disk_space_recovery_hint
88
+
// PURITY: CORE
89
+
// INVARIANT: the classifier only adds guidance and does not alter command execution semantics
90
+
// COMPLEXITY: O(n) time / O(1) space where n = |details|.
"Hint: NVIDIA GPU access is enabled but Docker cannot load the host NVIDIA runtime; run with GPU disabled (`--gpu none`) or install the NVIDIA driver and NVIDIA Container Toolkit."
92
109
]
93
110
: []),
111
+
...(isAptInvalidSignatureFailure(details)
112
+
? [
113
+
"Hint: apt reported invalid signatures for multiple repositories during Docker build; this can be caused by low Docker host disk space. Check `df -h` and reclaim unused Docker cache with `docker builder prune -af` and `docker image prune -af` before retrying."
114
+
]
115
+
: []),
94
116
"Hint: if output above contains 'lookup auth.docker.io' or 'read udp ... [::1]:53 ... connection refused', fix Docker DNS resolver (set working DNS in host/daemon config) and retry."
0 commit comments