Avoid CI Docker subnet exhaustion for the dependency stack.
CI / backend (push) Failing after 3m16s
CI / frontend (push) Canceled after 8m4s

Reuse the host bridge network in a CI compose override, prune unused networks, and isolate the job under COMPOSE_PROJECT_NAME=vigilcare-ci.
This commit is contained in:
2026-10-06 17:40:33 +08:00
parent d320a53bb7
commit 1124c1f079
5 changed files with 54 additions and 42 deletions
@@ -376,12 +376,12 @@ const assignedClerkLabel = computed(() => {
return clerk?.fullName ?? 'Selected'
})
const previewTimestamp = computed(() =>
new Date().toLocaleString(undefined, {
dateStyle: 'medium',
timeStyle: 'short',
}),
)
const previewTimestamp = computed(() => {
// Avoid dateStyle/timeStyle — slow / flaky under minimal ICU in CI jsdom.
const d = new Date()
return `${d.toLocaleDateString()} ${d.toLocaleTimeString()}`
})
function formatBatchType(type: string): string {
return type.replace(/_/g, ' ').replace(/\b\w/g, c => c.toUpperCase())