Skip to main content
Lightning Jar - Web Studio Lightning Jar Wordmark

Findings

Short, numbered field notes from our production work: one verified platform lesson per entry, stated as a claim and backed by a receipt.

Atom

Select a Finding Below to Read More


















Findings No. 60

Pinch zoom over a map enlarges the map, not its labels

On an iPhone, pinching over a live map zooms the map while bus badges and stop labels keep their pixel size. Text drawn on a map must be sized for readability at 1:1.



Findings No. 58

Recording spend and gating spend need separate counters

One skipBudget flag meant 'don't count and don't block', so cache warmers were invisible to the spend counter: it read 331 while about 1,559 strings were billed.











Findings No. 48

GitHub Actions rejects a workflow file that PyYAML calls valid

A workflow step left with two run: keys parses fine in PyYAML, which keeps the last duplicate, but GitHub rejects the whole file. Three daily data refreshes failed.



Findings No. 46

A provider-executed tool can end an AI SDK agent loop early

A step that calls only a provider-executed tool returns without handing control back to the AI SDK's multi-step loop, so the agent stops after one step whatever stopWhen says.
















Findings No. 31

`IIRFilterNode` carries the K-weighting

A single IIRFilterNode carries BS.1770 K-weighting; pyloudnorm's shelf formula missed the standard's coefficient table, libebur128's derivation matched it.


Findings No. 30

An AnalyserNode downmixes to mono

Feed a stereo signal to one AnalyserNode and you are quietly measuring a different signal: it downmixes its input. Split with a ChannelSplitterNode into one analyser per channel.


Findings No. 29

setValueCurveAtTime curves may not overlap, not even at their ends

Web Audio rejects a value curve that touches any other automation in its interval, endpoints included. Budget each curve at most half the span, and set param.value instead of a setValueAtTime that lands on a curve boundary.


Findings No. 28

Viewport-flipped popovers must re-clamp on close transitions too

Menus flipped upward by viewport clamping stayed flipped after their submenu collapsed, because re-clamping ran only on open. Clamping is a function of current geometry, not a one-time placement.





Findings No. 24

Undo that lands inside a serialize-debounce window can look dead

Cmd/Ctrl+Z within 250 ms of a keystroke hit a sync-guard flag that suppressed the re-seed: history and state moved, the DOM never reverted. The fast-fingers path deserves its own test.


Findings No. 23

Vendored copies of a dependency's security data need a drift test

A vendored copy of DOMPurify's html profile is frozen while the dependency moves. A test that diffs the installed package's own lists against the vendored copy turns silent divergence into a loud failure.


Findings No. 22

Imperative innerHTML re-seeds break native contenteditable undo

Every re-seed looks like wholesale replacement to the browser, so native Cmd/Ctrl+Z has nothing coherent to step through. If your component re-seeds markup, it has signed up to implement undo.





Findings No. 18

A provider option that works on one model is an API error on its sibling

haiku-4.5 rejected the thinking configuration its production-tier sibling accepts: 64 API errors out of 64 cells. Pin the full call shape per model and verify with one cheap call before the expensive batch.


Findings No. 17

An empty final message is a harness artifact, not model dishonesty

gpt-oss-120b ended with no answer text in 52 of 180 cells while inventing zero facts in 900. Before scoring a non-answer as failure, check whether the harness gave the answer a reliable place to land.


Findings No. 16

Temperature 0 is not determinism

A provider-side flake at temperature 0 during piloting: same input, same settings, different outcome. Treat temperature 0 as variance reduction and budget a noise floor into every conclusion.


Findings No. 15

Gemini rejects an array tool schema that omits items

One missing items declaration failed all 576 Gemini cells of a tools arm at the API layer. JSON Schema acceptance is per-vendor folklore; validate against every provider before a run you care about.


Findings No. 14

You cannot turn provider prompt caching off, so audit it instead

OpenAI auto-caches 1,024-token-plus prefixes and Gemini 2.5+ caches implicitly by default, with no request-level off switch. Record cached-input reads per call and publish the audit beside the costs.


Findings No. 13

The model's honest answers will find your grader's defects

A spaced '8 am' failed the literal '8am' matcher; a Unicode non-breaking hyphen failed another; correct sentinel-less refusals scored as misses. Every miss deserves classification before it becomes a headline number.


Findings No. 12

An LLM call can return an empty completion deterministically

One prompt returned 5,976 tokens in and zero out, twice in a row. An empty completion is a real output class distinct from errors; one retry is cheap insurance.







Findings No. 6

When a tab runs out of memory there is no event

iOS kills and reloads the tab; Chrome shows its error page; code cannot observe its own death. Leave a marker in sessionStorage when a heavy load begins.


Findings No. 5

Safari does not render a worklet that nothing pulls

An AudioWorkletNode whose output connects to nowhere never runs its process callback on Safari. Connect it through a zero-gain GainNode to the destination.





Ask Eljay

Ask about the studio's work, research, packages, or writing. A few starters:

Answers come from this site's own content and link their sources. For anything that matters, email hello@lightningjar.com.