Verdicts first, ranked by results and evidence.
-
Explainer
MCP PHP SDK: nested empty JSON objects rejected as arrays
As of November 2026, Upgrade the SDK to preserve JSON object and array types before validating tool arguments. Use an object parameter when a handler must retain the distinction; an array parameter still converts nested objects. First fixed in
v0.10.0. -
Explainer
AWS Redshift MCP Server: session is not available
As of November 2026, Upgrade the server to the release that removes shared sessions from ordinary statements. This avoids repeated failures against a cached dead Data API session; named transactions still retain sessions and have idle limits. First fixed in
2026.10.20261015170211. -
Explainer
OpenAI Node SDK: Assistants stream unhandled rejection
As of November 2026, register Assistants stream error and abort listeners before handing off the stream, and separately await or catch helper promises. The documented handling pattern includes
.finalRun(). -
Explainer
Pydantic AI: streaming returns text before structured output
As of November 2026, use the event-streaming method to keep the run going through tool execution when text arrives before structured output. The v2.66.0 resolution clarified existing behavior; upgrading alone does not alter it. Use
run_stream_events(). -
Explainer
Kilo Code: agent picker ignores the default model
As of November 2026, upgrade the VS Code extension so new sessions use configured agent defaults and manual picks remain scoped to an agent within a session or draft. Use
v7.8.32 -
Explainer
SwiftUI: publish network state on the main actor
Place main-scheduler delivery after decoding and before UI-state writes, isolate the observable model, and audit independent callbacks separately. Begin with
receive(on: DispatchQueue.main) -
Explainer
Langfuse: monitor model cost and latency
Instrument the entire model call inside a generation observation, retain nested tool timing, and supply exclusive usage buckets for cost calculation. Flush short-lived jobs before exit with
langfuse.flush() -
Explainer
Vercel AI SDK: render tool states and stop generation
Render streamed tool inputs, results, errors and approvals, then propagate an explicit Stop from the chat UI to the model request. On Vercel Node.js, request cancellation requires
supportsCancellation: true -
Explainer
Ollama: build local document answers with citations
Use one local embedder for ingestion and questions, fit retrieved passages inside the generation budget, and accept only citations resolved to supporting source spans. Begin with
num_ctx -
Explainer
C#: pin SDK, framework targets and CI package restores
Pin the exact SDK and complete target set, review intentional lock updates locally, then build only after a matching locked restore. Gate CI with
dotnet restore --locked-mode -
Explainer
C#: enforce nullability and presence at JSON boundaries
Enable compiler null analysis, require mandatory JSON members and validate root and collection values explicitly. Reject supported explicit null assignments with
RespectNullableAnnotations = true -
Explainer
C#: release resources through failure and cancellation
Establish disposal scopes during acquisition, preserve cleanup time after cancellation and await all token users before disposing their source. Begin each owned resource with
await using -
Explainer
Swift: align package dependencies and platform targets
Set deployment floors from resolved dependencies, constrain platform-specific target edges and keep manifest APIs within the oldest supported toolchain. Start with
Package.platforms -
Explainer
Swift: fix isolation and shared mutable state
Expose complete concurrency warnings, repair Sendable crossings through ownership or isolation, and revalidate state after suspension. Begin with
-strict-concurrency=complete -
Explainer
Kotlin: align compiler, plugins and CI JVM targets
Pin a compatible Kotlin and Gradle pair, align Java/Kotlin artifact targets and provision the same JDK in CI. Preserve mismatch failures with
kotlin.jvm.target.validation.mode=error -
Explainer
Kotlin: fix coroutine failure and cancellation flow
Choose the parent failure policy, consume deferred failures, preserve cancellation and join children before releasing shared resources. For independent sibling tasks use
SupervisorJob(parent) -
Explainer
Java: diagnose heap growth within the memory budget
Compare post-GC retained objects with native memory growth, then size the heap below the deployment limit with measured nonheap headroom. Begin attribution with
-XX:NativeMemoryTracking=summary -
Explainer
Java: upgrade runtime and repair build incompatibilities
Separate the build JVM from the artifact runtime floor, replace internal API dependencies and scope temporary reflective access. Select the consumer baseline with
maven.compiler.release -
Explainer
Rust: contain panics at foreign-function boundaries
Translate expected errors into ABI-safe results and contain unwinding panics inside exported functions, including panic-payload disposal. Start with
panic = "unwind" -
Explainer
TypeScript: emit declarations consumers can resolve
Generate declarations separately from bundled JavaScript, annotate public exports and align shipped paths with package type entries. Exercise every public subpath in downstream compiler fixtures. Start with
emitDeclarationOnly: true -
Explainer
PostgreSQL: rehearse restore and deployment recovery
Restore a stored archive into an isolated empty database, exercise application queries and failure cases, then document cutover and write reconciliation. Inspect the archive with
pg_restore --list -
Explainer
Zod: validate inputs and return safe field errors
Parse once before application logic, use fixed field messages, and return nested error paths without rejected values. Await asynchronous refinements and keep
reportInput: false -
Explainer
Docker Compose: persist data and gate app startup
Declare a named data volume, gate the app on dependency health, and reconnect after dependency replacement. Preserve data during ordinary shutdown with
docker compose down -
Explainer
Astro: build searchable docs and a static blog
Set deployment paths before building, keep articles static, and publish matching HTML and search assets with
pagefind: true
Missing something? Request a thread. Requests with the most votes become the next ones.