Skip to content

fix(v5.0.0): make connection recovery and Live Gauges freshness explicit - #375

Merged
ohgeeceee merged 1 commit into
mainfrom
feat/connection-recovery
Oct 19, 2026
Merged

ohgeeceee merged 1 commit into
mainfrom
feat/connection-recovery

Conversation

@ohgeeceee

Copy link
Copy Markdown
Owner

A failed connection currently leaves users with a raw error, while the DID-backed Live Gauges can keep displaying old readings after failures or session/profile changes. This adds adapter-specific retry guidance, a duplicate-request guard, missing-port validation, explicit local disconnect cleanup, and per-channel freshness (immediate on PID error, otherwise five seconds). Late live-read results from previous sessions/profiles are ignored, and live polling no longer overlaps itself.

The actual app-shell browser regression covers failure/retry, duplicate clicks, missing ports, disconnect errors, late responses, stale canvas states and recovery; it now runs in browser CI. Unit tests cover independent channel aging, enum labels and cache/session reset. The display threshold does not change transport timeouts or add automatic reconnect.

Validation: JavaScript 1,136 passed, 1 existing skip; Python 275 passed and 33 subtests passed (backend unchanged); recovery browser regression passed; plugin isolation/lifecycle regression passed; chrome/theme audit passed; desktop and narrow-window recovery screenshots inspected; git diff --check passed. Rust attempted locally but blocked by missing dbus-1 development library; CI must pass before merge.

Tier A frontend, tests and documentation only. No protected Rust paths, ECU writes, release stamps or production changes. This is the first slice of update 2, not completion of the whole cycle: profile gauge grid/logging/explorer freshness and physical cable validation remain in docs/connection-recovery.md and docs/next-updates.md. GitHub Issues is disabled, so the roadmap document tracks remaining work.

@ecc-tools

ecc-tools Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Security Evidence

Commit: da7b42c981849f7dd6b98ea912b89e9e00a98612

Security evidence gate passed (success)

No security-sensitive scanner-evidence gap detected.

Mode: enforce

Scanned 13 changed file(s). No missing scanner-evidence signal was detected.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Risk Taxonomy

Commit: da7b42c981849f7dd6b98ea912b89e9e00a98612

PR taxonomy review recommended (neutral)

Detected 2 PR taxonomy bucket(s): Security Evidence, CI/CD Recommendation.

Scanned 13 changed file(s).

Roadmap taxonomy buckets:

Security Evidence

Security-sensitive changes should carry explicit scanner, code-scanning, or focused regression evidence.

Signals:

  • 1 security-sensitive path(s) changed

Paths:

  • .github/workflows/test.yml

CI/CD Recommendation

CI, dependency, coverage, and contract signals should be routed into follow-up checks or verification work.

Signals:

  • CI workflow changes may ship without failure-mode evidence
  • Dependency or CI drift could surface after merge
  • 3 CI or workflow path(s) changed

Paths:

  • .github/workflows/test.yml
  • src/js/live_gauges.test.js
  • src/js/test/connectionRecovery.test.cjs
  • scripts/test-connection-recovery.cjs
  • src/js/first_scan_guide.js
  • src/js/live_data_bridge.js
  • src/js/live_data_source_wiring.js
  • src/js/live_gauges.js

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Reference Set Readiness

Commit: da7b42c981849f7dd6b98ea912b89e9e00a98612

Reference set readiness gaps detected (neutral)

Reference evidence present for 0/7 areas (0%) across 13 changed file(s).

This check is based on files changed in this PR. Repository-level readiness is still reported by /ecc-tools analyze comments and generated manifests.

Area Status Evidence / Next Step
Deep analyzer corpus Missing Add analyzer fixture, golden, benchmark, or reference-set files that can catch analyzer regressions.
RAG/evaluator comparison Missing Add retrieval or evaluator reference-set comparison fixtures with expected ranking behavior.
PR salvage/review corpus Missing Add stale-PR, review-thread, reopen-flow, or salvage reference cases for queue cleanup automation.
Discussion triage corpus Missing Add public discussion triage fixtures, golden cases, or reference sets for informational, answered, and no-response classifications.
Harness compatibility Missing Add cross-harness, adapter-compliance, or harness-audit evidence for Claude, Codex, OpenCode, Zed, dmux, and agent surfaces.
Security evidence Missing Attach security evidence such as SBOMs, SARIF, audit reports, or AgentShield evidence packs.
CI failure-mode evidence Missing Add captured CI failure logs, dry-run fixtures, or troubleshooting docs for common workflow failure modes.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / Hosted Promotion Readiness

Commit: da7b42c981849f7dd6b98ea912b89e9e00a98612

Hosted promotion readiness passed (success)

No hosted promotion evidence gaps detected across 13 changed file(s); 0 corpus scenarios had matching evidence.

This check compares PR file changes against the evaluator/RAG promotion corpus in src/analyzers/fixtures/evaluator-rag-corpus.ts.
Hosted output scoring inspected 0 completed cached hosted job results.

No evaluator corpus scenarios matched this PR.

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ecc-tools

ecc-tools Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Config Audit

Commit: da7b42c981849f7dd6b98ea912b89e9e00a98612

No changed-config issues detected (success)

Scanned 1 config file(s) present at this commit across 1 changed config path(s) and found no issues in the supported security rules.

Changed config files:

  • .github/workflows/test.yml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T11:46:13.542963Z da7b42c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ecc-tools

ecc-tools Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

ECC Tools / PR Harness Audit

Commit: da7b42c981849f7dd6b98ea912b89e9e00a98612

No harness issues detected (success)

Scanned 1 changed config file(s) and found no harness issues.

Changed config files:

  • .github/workflows/test.yml

Check publication was denied or unavailable. An app owner must enable Checks: read and write, and the installation owner must approve the updated permission.

@ohgeeceee
ohgeeceee merged commit df41c04 into main Oct 19, 2026
16 checks passed
@ohgeeceee
ohgeeceee deleted the feat/connection-recovery branch October 19, 2026 11:43

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: da7b42c981

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/js/main.js
Comment on lines +316 to 317
connectionError,
connectionKind: $("conn-kind").value,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Tie the recovery error to the adapter that failed

After a connection attempt fails, connectionError remains true until the next Connect click, while changing #conn-kind immediately rerenders this guide using the newly selected adapter. For example, an ENET failure followed by selecting K+DCAN is presented as a K+DCAN failure with port/latency advice even though that adapter was never tried. Clear the error on adapter changes or retain the failed connection kind alongside the error.

Useful? React with 👍 / 👎.

ohgeeceee added a commit that referenced this pull request Oct 19, 2026
Tier C — release and production rollout explicitly authorized by the
owner in chat ("push to production").

Prepare a patch release containing #374 and #375. Synchronize the app
manifests, lockfiles, README release badge, changelog and generated site
version surfaces to 5.0.1; add release notes and rollback instructions.
Fix the release-stamp verifier to check the existing install-center CTA
instead of an obsolete versioned download button.

Validation: JavaScript 1,136 passed / 1 existing skip; Python 275 passed
and 33 subtests passed; version stamp self-verification and GitHub Pages
artifact checks passed; git diff --check passed. Implementation commit
#375 has all GitHub checks passing, including both Rust suites and Rust
security analysis. Local Rust testing remains unavailable because dbus-1
development libraries are missing.

Rollout: after checks, build Windows/Linux installers from this exact
source through the existing Release workflow, verify attached assets
before publication, then deploy GitHub Pages and check the public
download center. No backend or database change is needed. Current live
site is GitHub Pages; the documented API hostname does not resolve, so
this release does not claim to restore hosted API service. Preserve the
previous installers for rollback.
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