Skip to content

feat(git): friendly checkout error messages with stash & switch recovery #4692

feat(git): friendly checkout error messages with stash & switch recovery

feat(git): friendly checkout error messages with stash & switch recovery #4692

Triggered via pull request April 6, 2026 17:28
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
Format, Lint, Typecheck, Test, Browser Test, Build
48s
Format, Lint, Typecheck, Test, Browser Test, Build
Release Smoke
12s
Release Smoke
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
Format, Lint, Typecheck, Test, Browser Test, Build
Process completed with exit code 2.
Format, Lint, Typecheck, Test, Browser Test, Build
t3#typecheck: command (/home/runner/_work/t3code/t3code/apps/server) /home/runner/.bun/bin/bun run typecheck exited (2)
Format, Lint, Typecheck, Test, Browser Test, Build
Missing 'Scope' in the expected Effect context. effect(missingEffectContext)
Format, Lint, Typecheck, Test, Browser Test, Build
Missing 'GitCheckoutDirtyWorktreeError' in the expected Effect errors. effect(missingEffectError)
Format, Lint, Typecheck, Test, Browser Test, Build
Type '(input: { readonly branch: string; readonly cwd: string; readonly checkout?: boolean | undefined; }) => Effect<{ branch: string; }, GitCommandError | GitCheckoutDirtyWorktreeError, Scope>' is not assignable to type '(input: { readonly branch: string; readonly cwd: string; readonly checkout?: boolean | undefined; }) => Effect<{ readonly branch: string; }, GitCommandError, never>'.
Format, Lint, Typecheck, Test, Browser Test, Build
Consider using Schema.is instead of instanceof for Effect Schema types. effect(instanceOfSchema)