feat(cloud): DS-14 build failure card on InlineError with tinted check pills (#272)

This commit is contained in:
Neil
2026-11-10 07:11:14 -08:00
committed by GitHub
parent b164233970
commit 4efaa768e0
13 changed files with 312 additions and 122 deletions
+5
View File
@@ -27,6 +27,11 @@ const badgeVariants = cva(
/** Small uppercase success chip marking the live item in a list (e.g. the active build). */
statusActive:
'h-4 border-status-success-border bg-status-success-background px-1.5 text-[10px] font-semibold tracking-wide text-status-success uppercase',
/** Tinted status pills for a check's result inside an error card. */
statusFailed:
'border-destructive/20 bg-destructive/10 px-1.5 py-0 text-2xs text-destructive-text dark:border-destructive/30',
statusWarning:
'border-status-warning-border bg-status-warning-background px-1.5 py-0 text-2xs text-status-warning-text',
referenceLabel: 'h-3.5 border-border px-1 py-0 text-3xs font-normal text-muted-foreground',
/** An uppercase kind label set before a banner title; takes its color from the parent. */
paneLabel:
+4 -1
View File
@@ -43,7 +43,10 @@ const buttonVariants = cva(
'pane-title-close': 'pane-title-close',
// The worktree card's "rename failed" chip, for a failure the user can open.
'destructive-chip':
'border border-destructive/40 bg-destructive/10 text-destructive-text hover:bg-destructive/15 hover:text-destructive-text'
'border border-destructive/40 bg-destructive/10 text-destructive-text hover:bg-destructive/15 hover:text-destructive-text',
// A destructive way out set apart from the recovery actions (e.g. "Delete sandbox"): red text, no fill.
'destructive-ghost':
'text-destructive-text hover:bg-destructive/10 hover:text-destructive-text dark:hover:bg-destructive/15'
},
size: {
default: 'h-9 px-4 py-2 has-[>svg]:px-3',
+30 -18
View File
@@ -1,4 +1,4 @@
import type React from 'react'
import React from 'react'
import { CircleAlert, Info, RotateCw } from 'lucide-react'
import { cn } from '@/lib/utils'
import { Button } from './button'
@@ -22,8 +22,12 @@ type InlineErrorProps = {
* (not announced) because it describes something that already happened. */
layout?: 'inline' | 'toast' | 'strip-top' | 'strip-bottom' | 'line'
/** A next step other than retry (e.g. "Sign in"), rendered inside the box after the text.
* Pass an outline xs Button with a short verb-first label; never a primary button. */
* Pass an outline xs Button with a short verb-first label; never a primary button. A card whose recovery is the main
* content (e.g. the build-failure card) puts its own action row in children instead. */
action?: React.ReactNode
/** Richer content under the detail, aligned with the text (a list of problems, a row of
* actions). With children only the title and detail are announced; the rest is read on demand. */
children?: React.ReactNode
className?: string
}
@@ -42,9 +46,13 @@ function InlineError({
density = 'default',
layout = 'inline',
action,
children,
className
}: InlineErrorProps): React.JSX.Element {
const Icon = tone === 'error' ? CircleAlert : Info
const liveRole = tone === 'error' ? 'alert' : 'status'
// Why: announcing a whole card would read every button and list row along with the cause.
const announceTextOnly = React.Children.toArray(children).length > 0
if (layout === 'line') {
return (
<p
@@ -68,7 +76,7 @@ function InlineError({
}
return (
<div
role={tone === 'error' ? 'alert' : 'status'}
role={announceTextOnly ? undefined : liveRole}
data-slot="inline-error"
className={cn(
// Wraps so a narrow box (e.g. a hint under a half-width field) puts its button under the text
@@ -81,7 +89,7 @@ function InlineError({
: 'rounded-lg',
density === 'compact' ? 'gap-2 px-2.5 py-2 text-xs' : 'gap-3 px-3 py-2.5 text-sm',
layout === 'toast' && 'pr-9',
detail ? 'items-start' : 'items-center',
detail || announceTextOnly ? 'items-start' : 'items-center',
tone === 'error'
? 'border-destructive/15 bg-destructive/5 dark:border-destructive/25'
: 'border-border bg-muted/40',
@@ -91,24 +99,28 @@ function InlineError({
<Icon
className={cn(
'size-4 shrink-0',
detail && 'mt-0.5',
(detail || announceTextOnly) && 'mt-0.5',
tone === 'error' ? 'text-destructive' : 'text-muted-foreground'
)}
aria-hidden
/>
<div className="min-w-[10rem] flex-1 basis-0 space-y-0.5">
<p className="font-medium text-foreground">{title}</p>
{detail ? (
<p
className={cn(
'text-muted-foreground',
// Compact titles are already xs, so the detail steps down to keep the hierarchy.
density === 'compact' ? 'text-2xs' : 'text-xs'
)}
>
{detail}
</p>
) : null}
<div className="min-w-[10rem] flex-1 basis-0">
<div role={announceTextOnly ? liveRole : undefined} className="space-y-0.5">
{/* A div, so a caller can pass a focusable heading as the title. */}
<div className="font-medium text-foreground">{title}</div>
{detail ? (
<p
className={cn(
'text-muted-foreground',
// Compact titles are already xs, so the detail steps down to keep the hierarchy.
density === 'compact' ? 'text-2xs' : 'text-xs'
)}
>
{detail}
</p>
) : null}
</div>
{announceTextOnly ? <div className="mt-3 flex flex-col gap-3">{children}</div> : null}
</div>
{action ? (
<div
@@ -1,5 +1,5 @@
import type React from 'react'
import { cn } from '@/lib/utils'
import { Badge } from '@/components/ui/badge'
import type { Translate } from '@/i18n/use-translate'
import type { EnvironmentDoctorCheck } from '../../../../shared/environment-doctor-types'
import { environmentCheckBadge, environmentCheckCopy } from './environment-check-copy'
@@ -24,21 +24,20 @@ export function CheckRow({
<li
// Rows arrive together; a short stagger lets the eye read them top to bottom.
style={{ animationDelay: `${index * 40}ms`, animationFillMode: 'backwards' }}
className="flex flex-col gap-0.5 text-xs motion-safe:animate-in motion-safe:fade-in-0 motion-safe:slide-in-from-top-1 motion-safe:duration-200"
// A subgrid row of the list's two columns: every pill shares the width of the longest label,
// so messages line up in any language.
className="col-span-2 grid grid-cols-subgrid items-baseline gap-y-0.5 text-xs motion-safe:animate-in motion-safe:fade-in-0 motion-safe:slide-in-from-top-1 motion-safe:duration-200"
>
<div className="flex items-baseline gap-2">
<span
className={cn(
'w-16 shrink-0 text-[11px] font-medium',
check.status === 'fail' ? 'text-destructive' : 'text-muted-foreground'
)}
>
<span>
<Badge variant={check.status === 'fail' ? 'statusFailed' : 'statusWarning'}>
{environmentCheckBadge(check.status, t)}
</span>
<span className="min-w-0 break-words text-foreground">{message}</span>
</div>
</Badge>
</span>
<span className="min-w-0 break-words text-foreground">{message}</span>
{remediation ? (
<p className="ml-18 whitespace-pre-wrap break-words text-muted-foreground">{remediation}</p>
<p className="col-start-2 whitespace-pre-wrap break-words text-muted-foreground">
{remediation}
</p>
) : null}
</li>
)
@@ -11,8 +11,7 @@ import {
PanelLeft,
Pencil,
RotateCcw,
SquareArrowOutUpRight,
Trash2
SquareArrowOutUpRight
} from 'lucide-react'
import { Button } from '@/components/ui/button'
import {
@@ -174,9 +173,17 @@ function failureActions(
icon: <SquareArrowOutUpRight />,
onClick: actions.onOpenAnyway
}
// Hosted sandboxes have no recipe for an agent or the user to edit.
// Hosted sandboxes have no recipe for an agent or the user to edit. Checks rarely pass on a
// rerun without a change, so opening the sandbox to fix them in place leads. Two plain text
// buttons read as a choice between equals rather than a toolbar.
return cloud
? { primary: [retryChecks, openAnyway], more: [] }
? {
primary: [
{ ...openAnyway, icon: undefined },
{ ...retryChecks, icon: undefined }
],
more: []
}
: { primary: [fix, retryChecks], more: [openAnyway, editRecipe] }
}
case 'provision':
@@ -298,12 +305,12 @@ export function FailureActionRow({
// Leaving a build that still holds a VM destroys it, so say so on the button.
const destroys = vmKept
return (
<div className="flex flex-wrap items-center gap-1.5">
<div className="flex flex-wrap items-center gap-2">
{primary.map((action, index) => (
<Button
key={action.key}
type="button"
size="xs"
size="sm"
variant={index === 0 && !action.secondary ? 'default' : 'outline'}
onClick={action.pending ? undefined : action.onClick}
disabled={action.disabled}
@@ -317,7 +324,7 @@ export function FailureActionRow({
{more.length > 0 ? (
<DropdownMenu modal={false}>
<DropdownMenuTrigger asChild>
<Button type="button" variant="ghost" size="xs">
<Button type="button" variant="ghost" size="sm">
{t('auto.components.worktree.creation.VmBuildFailureCard.more', 'More')}
<ChevronDown />
</Button>
@@ -338,13 +345,12 @@ export function FailureActionRow({
) : null}
<Button
type="button"
// Leaving is the quiet way out; only deleting a running sandbox earns the destructive chip.
variant={destroys ? 'destructive-chip' : 'quiet'}
size="xs"
// Leaving is the quiet way out; deleting a running sandbox reads destructive, set apart on the right.
variant={destroys ? 'destructive-ghost' : 'quiet'}
size="sm"
onClick={actions.onDismiss}
className="ml-auto"
>
{destroys ? <Trash2 /> : null}
{destroys
? cloud
? t(
@@ -4,6 +4,9 @@ import { act, cleanup, fireEvent, render, screen } from '@testing-library/react'
import { afterEach, expect, it, vi } from 'vitest'
import { VmBuildFailureCard, type VmBuildFailureActions } from './VmBuildFailureCard'
import type { VmBuildFailure } from './vm-build-failure'
import { vmBuildFailureCopy } from './vm-build-failure-copy'
import { InlineError } from '@/components/ui/inline-error'
import { translate } from '@/i18n/i18n'
afterEach(cleanup)
@@ -112,3 +115,88 @@ it("keeps Use this computer instead beside an owner's billing fix", () => {
const buttons = screen.getAllByRole('button').map((button) => button.textContent?.trim())
expect(buttons.slice(0, 2)).toEqual(['Raise spend cap', 'Use this computer instead'])
})
const CHECKS: VmBuildFailure = {
kind: 'checks',
problems: [
{ id: 'tool.pnpm', category: 'tools', status: 'fail', message: 'pnpm is missing.' },
{ id: 'agent.claude', category: 'agents', status: 'warn', message: 'Claude is signed out.' },
{ id: 'git.push', category: 'git', status: 'fail', message: 'Push was refused.' }
]
}
it('counts only failed checks in the title and leads with Open anyway on a running sandbox', () => {
const handlers = actions()
render(
<div data-vm-build-sheet>
<VmBuildFailureCard
failure={CHECKS}
cloud
vmKept
firstErrorLine={null}
canFixWithAgent={false}
canManageBilling
signingIn={false}
connectingGitHub={false}
repoName="acme/web"
actions={handlers}
/>
</div>
)
const alert = screen.getByRole('alert')
expect(alert.textContent).toContain('The sandbox is up, but 2 environment checks failed')
// The check rows are read on demand, not announced with the cause.
expect(alert.textContent).not.toContain('pnpm is missing')
const buttons = screen.getAllByRole('button').map((button) => button.textContent?.trim())
expect(buttons).toEqual(['Open anyway', 'Run checks again', 'Delete sandbox'])
fireEvent.click(screen.getByRole('button', { name: 'Open anyway' }))
expect(handlers.onOpenAnyway).toHaveBeenCalledOnce()
})
it('reads an account limit as a neutral notice rather than an error', () => {
render(<Sheet failure={{ kind: 'plan' }} handlers={actions()} />)
expect(screen.queryByRole('alert')).toBeNull()
expect(screen.getByRole('status').textContent).toContain('Orca Cloud needs a Team plan')
})
it('says nothing was created only when no sandbox is left running', () => {
const failure: VmBuildFailure = { kind: 'provision', error: 'boom' }
const context = { cloud: true, canManageBilling: true, repoName: 'acme/web' }
expect(vmBuildFailureCopy(failure, context, translate).body).toContain(
'Nothing was created, and you weren’t charged.'
)
const kept = vmBuildFailureCopy(failure, { ...context, sandboxKept: true }, translate).body
expect(kept).not.toContain('Nothing was created')
expect(kept).toContain('delete the sandbox')
})
it('uses the singular for one failed check and names warnings-only runs as needing attention', () => {
const context = { cloud: true, canManageBilling: true, repoName: 'acme/web' }
const one: VmBuildFailure = { kind: 'checks', problems: CHECKS.problems.slice(0, 2) }
const copy = vmBuildFailureCopy(one, context, translate)
expect(copy.title).toBe('The sandbox is up, but 1 environment check failed')
expect(copy.body).toContain('fix them')
const warningOnly: VmBuildFailure = { kind: 'checks', problems: CHECKS.problems.slice(1, 2) }
const warned = vmBuildFailureCopy(warningOnly, context, translate)
expect(warned.title).toBe('The sandbox is up, but some environment checks need attention')
expect(warned.body).toContain('fix it inside')
})
it('keeps InlineError announcing the whole box without children, and only the text with them', () => {
const { rerender } = render(<InlineError title="Couldn't load keys." detail="Try later." />)
expect(screen.getByRole('alert').getAttribute('data-slot')).toBe('inline-error')
rerender(
<InlineError title="Couldn't load keys." detail="Try later.">
{false}
</InlineError>
)
expect(screen.getByRole('alert').getAttribute('data-slot')).toBe('inline-error')
rerender(
<InlineError title="Couldn't load keys." detail="Try later.">
<button type="button">Fix</button>
</InlineError>
)
const alert = screen.getByRole('alert')
expect(alert.getAttribute('data-slot')).toBeNull()
expect(alert.textContent).toBe("Couldn't load keys.Try later.")
})
@@ -1,5 +1,5 @@
import React from 'react'
import { cn } from '@/lib/utils'
import { InlineError } from '@/components/ui/inline-error'
import { useTranslate } from '@/i18n/use-translate'
import { VmBuildReveal } from './VmBuildReveal'
import { isAccountGate, type VmBuildFailure } from './vm-build-failure'
@@ -61,7 +61,8 @@ export function VmBuildFailureCard({
cloud,
canManageBilling,
repoName,
sandboxLimit: sandboxLimitFromBilling(getLastBillingStatus())
sandboxLimit: sandboxLimitFromBilling(getLastBillingStatus()),
sandboxKept: vmKept
},
t
)
@@ -94,61 +95,54 @@ export function VmBuildFailureCard({
return (
<VmBuildReveal open={failure !== null} className="pt-4">
{visible && copy ? (
<div
key={run}
ref={cardRef}
className="flex flex-col gap-3 rounded-lg border border-border bg-card px-4 py-3"
>
{/* Only the cause is announced; the actions and check rows are read on demand. */}
<div role={failure ? 'alert' : undefined} className="flex flex-col gap-1">
<h3
ref={headingRef}
tabIndex={-1}
className={cn(
'text-sm font-medium outline-none',
isAccountGate(visible) ? 'text-foreground' : 'text-destructive'
)}
>
{copy.title}
</h3>
{copy.body ? (
<p className="break-words text-xs text-muted-foreground">{copy.body}</p>
) : null}
<div key={run} ref={cardRef}>
{/* InlineError announces only the cause; the check rows and actions are read on demand.
An account limit isn't a broken build, so it reads as a neutral notice. */}
<InlineError
tone={isAccountGate(visible) ? 'neutral' : 'error'}
className="break-words"
title={
<h3 ref={headingRef} tabIndex={-1} className="outline-none">
{copy.title}
</h3>
}
detail={copy.body}
>
{detail ? (
<p className="break-words font-mono text-[11px] text-destructive">{detail}</p>
<p className="break-words font-mono text-xs text-muted-foreground">{detail}</p>
) : null}
</div>
{visible.kind === 'checks' ? (
<ul key={run} className="flex flex-col gap-2">
{visible.problems.map((check, index) => (
<CheckRow key={check.id} check={check} index={index} cloud={cloud} t={t} />
))}
</ul>
) : null}
<FailureActionRow
failure={visible}
cloud={cloud}
vmKept={vmKept}
canFixWithAgent={canFixWithAgent}
canManageBilling={canManageBilling}
signingIn={signingIn}
connectingGitHub={connectingGitHub}
actions={actions}
t={t}
/>
{visible.kind === 'checks' ? (
<p className="text-xs text-muted-foreground">
{cloud
? t(
'auto.components.worktree.creation.VmBuildFailureCard.stillRunningCloud',
'The sandbox is running and using sandbox hours until you choose.'
)
: t(
'auto.components.worktree.creation.VmBuildFailureCard.stillRunningLocal',
'The VM is running and using hours until you choose.'
)}
</p>
) : null}
{visible.kind === 'checks' ? (
<ul className="grid grid-cols-[max-content_minmax(0,1fr)] gap-x-3 gap-y-2">
{visible.problems.map((check, index) => (
<CheckRow key={check.id} check={check} index={index} cloud={cloud} t={t} />
))}
</ul>
) : null}
<FailureActionRow
failure={visible}
cloud={cloud}
vmKept={vmKept}
canFixWithAgent={canFixWithAgent}
canManageBilling={canManageBilling}
signingIn={signingIn}
connectingGitHub={connectingGitHub}
actions={actions}
t={t}
/>
{visible.kind === 'checks' ? (
<p className="text-xs text-muted-foreground">
{cloud
? t(
'auto.components.worktree.creation.VmBuildFailureCard.stillRunningCloud',
'The sandbox is running and using sandbox hours until you choose.'
)
: t(
'auto.components.worktree.creation.VmBuildFailureCard.stillRunningLocal',
'The VM is running and using hours until you choose.'
)}
</p>
) : null}
</InlineError>
</div>
) : null}
</VmBuildReveal>
@@ -254,6 +254,26 @@ export const cloudChecksFailed = frame(
)
)
// One failure plus a warning: the title counts failures only, in the singular.
export const cloudChecksFailedOne = frame(
entry(
{
environmentCheck: {
status: 'failed',
checks: FAILED_CHECKS?.filter((check) => check.id !== 'git.push'),
...CHECKS_FAILED_AT
}
},
CLOUD_RECIPE
)
)
// A narrow sheet: the pills keep one column and Delete sandbox wraps under the recovery actions.
export const cloudChecksFailedNarrow = defineFixture({
...cloudChecksFailed,
width: 420
})
// A build replayed on a timer, for recording the transitions: log streams, checks run and fail,
// the card opens, Retry collapses it, and a second pass succeeds.
const TIMELINE: { at: number; patch: Partial<PendingWorktreeCreation> }[] = [
@@ -194,7 +194,11 @@ export function VmBuildSheet({
) : (
<AlertTriangle
aria-hidden
className="size-4 text-destructive motion-safe:animate-in motion-safe:fade-in-0 motion-safe:zoom-in-90 motion-safe:duration-200"
// Failed checks leave a running sandbox that needs a decision, not a broken start.
className={cn(
'size-4 motion-safe:animate-in motion-safe:fade-in-0 motion-safe:zoom-in-90 motion-safe:duration-200',
failure?.kind === 'checks' ? 'text-status-warning-text' : 'text-destructive'
)}
/>
)}
</span>
@@ -41,33 +41,62 @@ export type VmBuildFailureCopyContext = {
canManageBilling: boolean
/** States the cap on the limit cards; omitted or null falls back to copy without numbers. */
sandboxLimit?: SandboxLimit | null
/** A sandbox still exists (and uses hours), so the card can't say nothing was created. */
sandboxKept?: boolean
}
/** The card's cause-specific title and one plain-language sentence on what to do next. */
export function vmBuildFailureCopy(
failure: VmBuildFailure,
{ cloud, canManageBilling, repoName, sandboxLimit }: VmBuildFailureCopyContext,
{ cloud, canManageBilling, repoName, sandboxLimit, sandboxKept }: VmBuildFailureCopyContext,
t: Translate
): { title: string; body: string | null } {
switch (failure.kind) {
case 'checks':
case 'checks': {
// Warnings ride along in the list but don't count as failures in the title.
const count = failure.problems.filter((check) => check.status === 'fail').length
return {
title: cloud
? t(
'auto.components.worktree.creation.VmBuildFailureCard.checksTitleCloud',
'The sandbox is up, but its environment checks failed'
)
: t(
'auto.components.worktree.creation.VmBuildSheet.checksFailed',
'The VM is up, but its environment checks failed'
),
title:
count === 0
? cloud
? t(
'auto.components.worktree.creation.VmBuildFailureCard.checksAttentionTitleCloud',
'The sandbox is up, but some environment checks need attention'
)
: t(
'auto.components.worktree.creation.VmBuildFailureCard.checksAttentionTitleVm',
'The VM is up, but some environment checks need attention'
)
: cloud
? t(
'auto.components.worktree.creation.VmBuildFailureCard.checksCountTitleCloud',
'The sandbox is up, but {{count}} environment checks failed',
{
count,
defaultValue_one: 'The sandbox is up, but {{count}} environment check failed'
}
)
: t(
'auto.components.worktree.creation.VmBuildFailureCard.checksCountTitleVm',
'The VM is up, but {{count}} environment checks failed',
{
count,
defaultValue_one: 'The VM is up, but {{count}} environment check failed'
}
),
body: cloud
? t(
'auto.components.worktree.creation.VmBuildFailureCard.checksBodyCloud',
'Open anyway to fix these inside the workspace, or retry the checks after changing your project.'
'auto.components.worktree.creation.VmBuildFailureCard.checksBodyCloud2',
'Open it anyway and fix them inside the workspace, or run the checks again after changing your project.',
{
count: failure.problems.length,
defaultValue_one:
'Open it anyway and fix it inside the workspace, or run the checks again after changing your project.'
}
)
: null
}
}
case 'plan':
return {
title: t(
@@ -241,10 +270,15 @@ export function vmBuildFailureCopy(
'auto.components.worktree.creation.VmBuildFailureCard.provisionTitleCloud',
'The sandbox didn’t start'
),
body: t(
'auto.components.worktree.creation.VmBuildFailureCard.provisionBodyCloud',
'Something went wrong while starting the sandbox. Try again, or open the logs for details.'
)
body: sandboxKept
? t(
'auto.components.worktree.creation.VmBuildFailureCard.provisionBodyCloudKept',
'Something went wrong while starting the sandbox. Try again, or delete the sandbox to stop using sandbox hours.'
)
: t(
'auto.components.worktree.creation.VmBuildFailureCard.provisionBodyCloud2',
'Something went wrong while starting the sandbox. Nothing was created, and you weren’t charged.'
)
}
: {
title: t(
@@ -30,7 +30,18 @@ export function vmBuildFailureSummary(
const sandboxLimit = sandboxLimitFromBilling(getLastBillingStatus())
return {
failure,
...vmBuildFailureCopy(failure, { cloud, canManageBilling: true, repoName, sandboxLimit }, t)
...vmBuildFailureCopy(
failure,
{
cloud,
canManageBilling: true,
repoName,
sandboxLimit,
// Same rule as the sheet: failed checks or a recorded runtime mean a sandbox is still up.
sandboxKept: failure.kind === 'checks' || Boolean(entry.request.ephemeralVmRuntimeId)
},
t
)
}
}
+8
View File
@@ -1333,6 +1333,14 @@
},
"worktree": {
"creation": {
"VmBuildFailureCard": {
"checksBodyCloud2_one": "Open it anyway and fix it inside the workspace, or run the checks again after changing your project.",
"checksBodyCloud2_other": "Open it anyway and fix them inside the workspace, or run the checks again after changing your project.",
"checksCountTitleCloud_one": "The sandbox is up, but {{count}} environment check failed",
"checksCountTitleCloud_other": "The sandbox is up, but {{count}} environment checks failed",
"checksCountTitleVm_one": "The VM is up, but {{count}} environment check failed",
"checksCountTitleVm_other": "The VM is up, but {{count}} environment checks failed"
},
"VmBuildLog": {
"hiddenTechnicalLines_one": "{{count}} technical line hidden. Copy log includes it.",
"hiddenTechnicalLines_other": "{{count}} technical lines hidden. Copy log includes them."
+11 -5
View File
@@ -4190,7 +4190,6 @@
},
"VmBuildSheet": {
"checks": "Check environment",
"checksFailed": "The VM is up, but its environment checks failed",
"create": "Create workspace",
"editRecipe": "Edit recipe",
"fixWithAgent": "Fix with agent",
@@ -4222,13 +4221,11 @@
},
"VmBuildFailureCard": {
"createFailedTitle": "Couldn’t create workspace",
"checksTitleCloud": "The sandbox is up, but its environment checks failed",
"planTitle": "Orca Cloud needs a Team plan",
"signInTitle": "Sign in to use Orca Cloud",
"unavailableTitle": "Orca Cloud is unavailable right now",
"networkTitle": "Couldn’t reach Orca Cloud",
"snapshotTitle": "This project’s saved environment is missing",
"provisionBodyCloud": "Something went wrong while starting the sandbox. Try again, or open the logs for details.",
"stillRunningCloud": "The sandbox is running and using sandbox hours until you choose.",
"stillRunningLocal": "The VM is running and using hours until you choose.",
"tryAgain": "Try again",
@@ -4237,7 +4234,6 @@
"deleteSandbox": "Delete sandbox",
"deleteVm": "Delete VM",
"updatePayment": "Update payment method",
"checksBodyCloud": "Open anyway to fix these inside the workspace, or retry the checks after changing your project.",
"showWorkspaces": "Show cloud workspaces",
"contactSupport": "Contact support",
"provisionTitleCloud": "The sandbox didn’t start",
@@ -4275,7 +4271,17 @@
"planBodyMember3": "Nothing was created, and you weren’t charged. Ask an owner or admin to choose a Team plan.",
"outOfHoursBodyMember3": "Your team has used this month’s sandbox hours, so sandboxes can’t start or keep running. Nothing was created, and you weren’t charged. Ask an owner or admin to add hours.",
"spendCapReachedBodyMember4": "Your team has reached this month’s spend cap, so sandboxes can’t start or keep running. Nothing was created, and you weren’t charged. Ask an owner or admin to raise the spend cap.",
"paymentFailedBodyMember2": "New sandboxes can’t start until the payment goes through. Nothing was created, and you weren’t charged. Ask an owner or admin to update the payment method."
"paymentFailedBodyMember2": "New sandboxes can’t start until the payment goes through. Nothing was created, and you weren’t charged. Ask an owner or admin to update the payment method.",
"checksAttentionTitleCloud": "The sandbox is up, but some environment checks need attention",
"checksAttentionTitleVm": "The VM is up, but some environment checks need attention",
"checksCountTitleCloud_one": "The sandbox is up, but {{count}} environment check failed",
"checksCountTitleCloud_other": "The sandbox is up, but {{count}} environment checks failed",
"checksCountTitleVm_one": "The VM is up, but {{count}} environment check failed",
"checksCountTitleVm_other": "The VM is up, but {{count}} environment checks failed",
"checksBodyCloud2_one": "Open it anyway and fix it inside the workspace, or run the checks again after changing your project.",
"checksBodyCloud2_other": "Open it anyway and fix them inside the workspace, or run the checks again after changing your project.",
"provisionBodyCloudKept": "Something went wrong while starting the sandbox. Try again, or delete the sandbox to stop using sandbox hours.",
"provisionBodyCloud2": "Something went wrong while starting the sandbox. Nothing was created, and you weren’t charged."
},
"VmBuildLog": {
"jumpToError": "Jump to first error",