fix(sandbox): drop the unused volume-capability warning from the check result
Skills do not use shared volumes yet, so telling the admin a backend cannot mount them is noise after a connectivity check.main
parent
e39277a75e
commit
efb7e2aea2
|
|
@ -348,11 +348,3 @@ test('policy-restricted egress does not claim full outbound verification', () =>
|
|||
'policy-restricted copy must win over the full-verification claim',
|
||||
)
|
||||
})
|
||||
|
||||
test('volume-incapable backends still have a warning string to show', () => {
|
||||
assert.match(
|
||||
source,
|
||||
/settings\.sandbox\.noVolumeSupport/,
|
||||
'SupportsVolumes=false must not render a missing i18n key',
|
||||
)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -723,9 +723,6 @@
|
|||
<p v-if="pendingCheckNames.length" class="check-result__hint">
|
||||
{{ $t('settings.sandbox.checkPendingHint', { names: pendingCheckNames.join('、') }) }}
|
||||
</p>
|
||||
<t-alert v-if="checkResult.capabilities && checkResult.capabilities.supports_volumes === false" theme="warning"
|
||||
class="compact-alert"
|
||||
:message="$t('settings.sandbox.noVolumeSupport')" />
|
||||
</div>
|
||||
|
||||
</SettingDrawer>
|
||||
|
|
|
|||
|
|
@ -1339,7 +1339,6 @@ export default {
|
|||
checkScopeFull: 'Endpoint, credential, template, in-sandbox execution and outbound network were all verified for real.',
|
||||
checkScopePolicyRestricted: 'Outbound access is restricted by policy, so egress was not probed. Endpoint, credential, template and in-sandbox execution were verified.',
|
||||
checkPendingHint: '{names} can only be confirmed by a full verification, which creates a throwaway sandbox, runs one script and destroys it.',
|
||||
noVolumeSupport: 'This backend does not support volume mounts; skills relying on a shared volume will be unavailable.',
|
||||
skipReasons: {
|
||||
needs_deep_check: 'Needs full verification',
|
||||
control_plane_unreachable: 'Skipped: control plane unreachable',
|
||||
|
|
|
|||
|
|
@ -5283,7 +5283,6 @@ export default {
|
|||
checkScopeFull: '엔드포인트, 자격 증명, 템플릿, 샌드박스 내 실행, 외부 통신까지 모두 실제로 검증했습니다.',
|
||||
checkScopePolicyRestricted: '네트워크 정책으로 외부 통신이 제한되어 외부 연결은 실제로 확인하지 않았습니다. 엔드포인트, 자격 증명, 템플릿, 샌드박스 내 실행은 검증했습니다.',
|
||||
checkPendingHint: '{names}은(는) 전체 검증으로만 확인할 수 있습니다. 임시 샌드박스를 실제로 만들어 스크립트를 한 번 실행한 뒤 삭제합니다.',
|
||||
noVolumeSupport: 'This backend does not support volume mounts; skills relying on a shared volume will be unavailable.',
|
||||
skipReasons: {
|
||||
needs_deep_check: '전체 검증 필요',
|
||||
control_plane_unreachable: '컨트롤 플레인에 연결할 수 없어 건너뜀',
|
||||
|
|
|
|||
|
|
@ -5283,7 +5283,6 @@ export default {
|
|||
checkScopeFull: 'Эндпоинт, ключ, шаблон, выполнение внутри песочницы и исходящая сеть проверены по-настоящему.',
|
||||
checkScopePolicyRestricted: 'Исходящий доступ ограничен политикой, поэтому исходящая сеть не зондировалась. Эндпоинт, ключ, шаблон и выполнение внутри песочницы проверены.',
|
||||
checkPendingHint: '{names} можно подтвердить только полной проверкой: она создаёт временную песочницу, запускает один скрипт и удаляет её.',
|
||||
noVolumeSupport: 'This backend does not support volume mounts; skills relying on a shared volume will be unavailable.',
|
||||
skipReasons: {
|
||||
needs_deep_check: 'Нужна полная проверка',
|
||||
control_plane_unreachable: 'Пропущено: плоскость управления недоступна',
|
||||
|
|
|
|||
|
|
@ -5285,7 +5285,6 @@ export default {
|
|||
checkScopeFull: '端点、凭据、模板、沙箱内执行与出网均已真实验证。',
|
||||
checkScopePolicyRestricted: '出网按策略受限,未做真实出网探测;端点、凭据、模板与沙箱内执行已验证。',
|
||||
checkPendingHint: '{names} 需要「完整验证」才能确认:会真实创建一个临时沙箱、执行一次脚本再销毁。',
|
||||
noVolumeSupport: '该后端不支持挂载卷,依赖共享卷的技能将不可用。',
|
||||
skipReasons: {
|
||||
needs_deep_check: '需完整验证',
|
||||
control_plane_unreachable: '控制面不可达,已跳过',
|
||||
|
|
|
|||
Loading…
Reference in New Issue