Skip to content

feat(diag): support snapshot — remote logs, OBD lifecycle, thermal/connectivity diagnostics#11

Open
selimmujdeci wants to merge 9 commits into
mainfrom
feat/diag-support-snapshot
Open

feat(diag): support snapshot — remote logs, OBD lifecycle, thermal/connectivity diagnostics#11
selimmujdeci wants to merge 9 commits into
mainfrom
feat/diag-support-snapshot

Conversation

@selimmujdeci

Copy link
Copy Markdown
Owner

Özet

feat/obd-core-v2 dalındaki Diag support snapshot çalışmasını main'e taşıyan izole PR (entegrasyon planı PR-5, son küme). Tanı destek anlık görüntüsü: remote log timeline, OBD bağlantı yaşam döngüsü olayları, termal/ağ tanı olayları.

  • 9 commit cherry-pick — ÇAKIŞMA OLMADI (PR-3 VID durumu eşleşti)
  • 9 dosya, +907/-21
  • blackBoxService 10Hz örnekleyicisine DOKUNULMADI — olaylar remoteLogService support-snapshot'a yazılır (korumalı black box sampler'dan ayrı)
  • ✅ Native/.java, SafetyBrain, FullMapView, VehicleSignalResolver (SAB/Seqlock): dokunulmadı

Cherry-pick edilen commit'ler (kronolojik)

  • 63fab15 fail-soft replayBuffer to support diagnostics
  • adf50e0 sanitized section failure report to support snapshot
  • 55cd2d5 service lifecycle boot events
  • 56a60fb network online/offline events
  • 430227e OBD connection lifecycle events
  • b0a71a4 OBD handshake milestone events
  • 65b63a9 OBD protocol milestone events
  • c1f3a42 diagnostic degraded/recovered events
  • eae71a4 thermal throttle events

Değişen dosyalar (9)

obdService.ts (+100), remoteLogService.ts (+76), connectivityService.ts, thermalWatchdog.ts (+10), vehicleIntelligenceService.ts, vehicleProfileService.ts, diagnosticTrail.test.ts, diagnosticWidth.test.ts, supportSnapshot.test.ts

Riskli dosyalar

Doğrulama

Tanı olayları fail-soft; hot-path'e olay-kancası ekler. CI + cihazda OBD canlı akış/tanı paneli doğrulaması önerilir.

🤖 Generated with Claude Code

Selim and others added 9 commits July 9, 2026 11:36
Adds a fail-soft replayBuffer section to support diagnostics.
Uses location-free 1Hz black box samples only.
Keeps vidMirror allowlist unchanged.
Sanitization remains the final defense layer.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Keeps existing section null behavior for backward compatibility.
Adds sectionFailures with sanitized, bounded error messages and stack snippets.
Updates diagnostic width regression guards to match the new safe wrapper pattern.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds RAM-only boot timeline events for vehicle profile and intelligence services.
Keeps labels static and PII-free.
Does not touch OBD, network, handshake, DTC or PID flows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds RAM-only network online/offline timeline events.
Only records real state transitions.
Does not touch OBD, handshake, DTC or PID flows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds RAM-only OBD connection lifecycle events.
Keeps labels static and PII-free.
Does not touch VIN, handshake, DTC, PID or CAN flows.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds static, PII-free handshake milestone events.
Keeps stale guards, reconnect logic and timeout behavior unchanged.
Does not log VIN, MAC, protocol, transport or device names.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds static, PII-free protocol milestone events.
Does not log protocol names, numbers, forcedProtocol or raw errors.
Keeps protocol fallback, reconnect and storage behavior unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…eline

Adds static diagnostic degraded/recovered timeline events.
Only records real state transitions after the initial observation.
Does not touch thermal, memory, GPS, OBD or telemetry mirror behavior.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds static thermal throttle up/down timeline events.
Only records real level transitions after debounce/hysteresis.
Does not log temperature values, device model or PII.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
car-launcher-pro Ready Ready Preview, Comment Jul 9, 2026 8:40am
carospro Ready Ready Preview, Comment Jul 9, 2026 8:40am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant