fmt(js): npm run fix on merge (#66890)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
nousbot-eng 2026-07-18 07:21:28 -04:00 committed by GitHub
parent c7eb0cd22c
commit 7fd419e5e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 11 deletions

View file

@ -152,11 +152,11 @@ import {
grantAllApplicationPackagesAcl,
markerAfterSuccessfulBoot,
readSandboxMarker,
type SandboxFallbackReason,
shouldAttemptAclRepair,
shouldRelaunchForGpuSandboxCrash,
shouldRelaunchForRendererSandboxCrashLoop,
writeSandboxMarker,
type SandboxFallbackReason
writeSandboxMarker
} from './windows-sandbox-fallback'
import { installWindowsSystemCaTrust } from './windows-system-ca'
import { readWindowsUserEnvVar } from './windows-user-env'
@ -7509,8 +7509,7 @@ function createWindow() {
shouldRelaunchForRendererSandboxCrashLoop({
reason: details?.reason,
exitCode: details?.exitCode,
alreadyNoSandbox:
windowsSandboxFallbackActive || alreadyHasNoSandbox(process.argv, process.env),
alreadyNoSandbox: windowsSandboxFallbackActive || alreadyHasNoSandbox(process.argv, process.env),
relaunchAttempted: windowsNoSandboxRelaunchAttempted
})
) {
@ -7520,17 +7519,12 @@ function createWindow() {
windowsSandboxFallbackReason = 'renderer-crash-loop'
try {
writeSandboxMarker(
app.getPath('userData'),
fallbackMarker('renderer-crash-loop', app.getVersion())
)
writeSandboxMarker(app.getPath('userData'), fallbackMarker('renderer-crash-loop', app.getVersion()))
} catch {
void 0
}
rememberLog(
'[renderer] Windows sandbox crash loop detected; relaunching once with --no-sandbox (#38216)'
)
rememberLog('[renderer] Windows sandbox crash loop detected; relaunching once with --no-sandbox (#38216)')
try {
app.relaunch({ args: buildNoSandboxRelaunchArgs(process.argv.slice(1)) })

View file

@ -13,6 +13,7 @@ import type { SlashCommand, SlashRunCtx } from '../types.js'
// Poll cadence (plan §5, frozen): 2s interval, 5-minute cap.
const POLL_INTERVAL_MS = 2000
const POLL_CAP_MS = 5 * 60 * 1000
const UNCONFIRMED_CHARGE_MESSAGE =
'🟡 Your last charges outcome is unconfirmed — check your balance/history before retrying.'

View file

@ -330,6 +330,7 @@ export function useInputHandlers(ctx: InputHandlerContext): InputHandlerResult {
// through to the wheel / PageUp / Shift+arrow handlers below.
const promptOverlay =
overlay.approval || overlay.billing || overlay.clarify || overlay.confirm || overlay.subscription
const fallThroughForScroll = promptOverlay && shouldFallThroughForScroll(key)
if (promptOverlay && !fallThroughForScroll) {

View file

@ -629,6 +629,7 @@ function ConfirmScreen({ onClose, onPatch, overlay, t }: ScreenProps) {
const rows: MenuRowSpec[] = primary ? [primary, { label: 'Back', run: back }] : [{ label: 'Back', run: back }]
const sel = useMenu(rows, back)
// Chip contrasts an immediate charge vs a period-end schedule at a glance.
const chip =
effect === 'charge_now'