Local dev diagnostics and invariant checks
An opt-in development mode runs invariant checks after each commit and records local performance marks per pipeline stage and render frame. It exposes a diagnostics panel API. Nothing is sent anywhere; this complements the no-telemetry guarantee with transparent self-inspection.
Planned. This page shows the specification from issue #177. The live example, source for every framework and the API reference replace it when the feature ships.
Live example
200,000 rows with dev mode off.
Expected behavior
With dev mode on, stage timings and render frame timings appear. The mutating getter triggers an invariant violation naming the column. Exported JSON stays local, and no network requests are made, as the demo network log confirms.
Planned API surface
GridOptions.devModeapi.getDiagnosticsdiagnostics:invariantViolationperformance.mark names (wargrid:*)api.getStageTimingsAcceptance criteria
- Dev mode adds zero overhead when disabled, verified by benchmark (pending)
- Invariant checks include a single tabstop, unique row ids, no mutation of user rows and a monotonic state version (pending)
- Performance marks use the wargrid: prefix and are cleared on dispose (pending)
- No network calls are made by any diagnostics code (pending)