Benoit Travers
Benoit Travers
Raised from `btravstack/start`, where the trap is felt — see btravstack/start#68 and its fix. ## The trap An `AsyncResult` is eager: constructing it starts the work. So the spelling a...
Found while auditing `btravstack/start` (2026-08-13). `@unthrown/oxlint`'s `no-catch-all-pattern` documentation already names the legitimate `P._` cases: a helper generic in `E`, or an `E` that is a **single non-union type** with nothing...
## Summary `@unthrown/oxlint` 5.4.0 removes the `no-throw` and `prefer-ensure` rules. Because oxlint **fails to parse a config that names an unknown rule**, this is not a silent deprecation — every...
## Summary `try*` models a fixed set of Prisma error codes — `P2002`, `P2003`, `P2018`, `P2025`. Everything else lands on the **Defect** channel. That is a reasonable default, but it...
## Context Naming the `tx` parameter in a helper's signature — anything factored out of a `$tryTransaction` callback — requires spelling out the transaction client type. `TxDenyList` exists in the...
## Context `$tryTransaction` currently has a single signature — the **interactive** form: ```ts $tryTransaction( this: C, fn: (tx: Omit) => AsyncResult, options?: { … }, ): AsyncResult ``` Prisma's client...
`packages/core/src/doc-examples.spec.ts` extracts every ` ```ts ` fence under a TSDoc `@example`, gives it an import preamble built from `index.ts`, and typechecks the lot with `tsc`. A renamed export fails on...
oxlint/prefer-async-result: add the AsyncResult import as part of the autofix when it isn't in scope
`prefer-async-result` withholds its autofix when `AsyncResult` is not already imported from `unthrown` (`packages/oxlint/src/rules/prefer-async-result.ts:92-101`): ```ts // Withhold the fix when this annotation is an `async` function's … or when // `AsyncResult`...
When a test forgets to `await` an async assertion, `failOnForgottenAwait` (`packages/vitest/src/index.ts:207`) throws: ``` @unthrown/vitest: 1 async assertion(s) (toBeOk) were still pending when the test ended — a forgotten `await`. For...
`@unthrown/vitest` ships six matchers. The `Defect` channel is the only one without a value assertion: | channel | existence | value | |---|---|---| | `Ok` | `toBeOk` | `toBeOkWith(value)` |...