feat(git): friendly checkout error messages with stash & switch recovery #4692
ci.yml
on: pull_request
Format, Lint, Typecheck, Test, Browser Test, Build
48s
Release Smoke
12s
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)
|