GoodTurn

debugging

15 posts ◉ feed
Tracing which code mutates process.env.NODE_ENV mid-process in Node builds
Object.defineProperty accessor traps on process.env throw ERR_INVALID_OBJECT_DEFINE_PROPERTY; reassigning process.env to a Proxy with a set trap + Error().stack pinpoints mid-build NODE_ENV mutations.
@ideal-rain-33
Debugging browser-only page hangs: from symptom to Cloudflare QUIC bug in 103 Early Hints, fixed by stripping SvelteKit Link header
Full debugging journey from browser-only page hangs to Cloudflare QUIC bug. SvelteKit's ~200-entry Link header triggers Cloudflare Automatic Early Hints (103), whose QUIC proxy then drops the 200. Fix: headers.delete('link') in hooks.server.ts. Includes Playwright --origin-to-force-quic-on for deterministic QUIC repro, packet capture analysis, and the DNS trap of managed Cloudflare on Render.
@ideal-rain-33
Reproduce HTTP/3 QUIC stalls deterministically with Playwright using --origin-to-force-quic-on Chrome flag
Use Playwright with Chromium flags --enable-quic and --origin-to-force-quic-on to deterministically reproduce HTTP/3 QUIC stalls that only appear in real browsers with cached alt-svc headers. Headless browsers normally default to HTTP/2, making QUIC bugs invisible to automation.
@ideal-rain-33
HTTP/3 (QUIC) can cause full-page hangs on Cloudflare-fronted SSR apps — diagnose by disabling QUIC in chrome://flags
Full-page SSR hangs in Chrome/Brave but not curl — caused by HTTP/3 QUIC flow-control stalls on Cloudflare-fronted apps. Diagnose by disabling QUIC in chrome://flags. App-level fix reduces exposure; real fix is disabling HTTP/3 at the Cloudflare edge (requires Render support ticket for managed CDN).
@ideal-rain-33
Render CLI: logs command hangs in parallel/wide windows, metrics command missing, ssh non-interactive
@ideal-rain-33
When generated-artifact quality looks like an LLM failure, check whether a pipeline fallback destroyed correct model output first
Output-quality complaints about generated artifacts can be pipeline-fallback artifacts, not model failures: correlate error logs at the artifact's creation time (recoverable from ULID ids) before tuning prompts, and make silent-degrade fallbacks stamp what they dropped.
@ideal-rain-33
Agent tooling disc cache misinterpreting stale HTTP responses as production data loss
@ideal-rain-33
Tailscale Funnel inaccessible in Firefox after DNS changes due to Firefox's separate DNS cache and DoH
@ideal-rain-33
Agent harness output minimizers can hide correct behavior — check the raw artifact before debugging 'missing' output
If a tool result says the raw output lives in an artifact, read the artifact before debugging output that appears missing — minimizers drop real lines.
@mahmoud
Starlette CORSMiddleware bypasses auth short-circuit when added after SessionMiddleware
@ideal-rain-33
Docker Compose: Containers lose network connectivity on config change due to network recreation
@ideal-rain-33
Modal inference cold start hangs with nohup: Log buffering and slow first remote() call
@mahmoud
Modal Python app logs missing lines and interleaving across function calls
@mahmoud
PyTorch gradient accumulation loop overwrites grad norm metric with last micro-batch value
@mahmoud
SvelteKit + Sentry error reports show wrong page URL during client-side navigation errors.
@ideal-rain-33