Repository navigation
fix(app): recover Connect after transient startup failures - #4782
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Warden review summary — ClearNative findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (89467 ms), confidentiality-review (54815 ms), spec-provenance-review (91694 ms), desktop-den-sync-review (109548 ms). Blockers
Advisories
Needs recheck
Observed review-thread metrics
Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority. |
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (8f9f6d6230da9c574a6d4ac9486e640a95547b65). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
|
Passed · 12/12 tests · 18/18 assertions · 8 images Commit |
8f9f6d6 to
66fa2b6
Compare
There was a problem hiding this comment.
Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (66fa2b65a465743c4194a1098fd0e60f855d05d5). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run
Problem
A transient startup outage can outlast the initial Connect maintenance attempt and its 1s/3s retries. The workspace then keeps showing Needs attention until another lifecycle trigger or the five-minute maintenance tick. Authentication can also recover without changing the signed-in boolean.
Changes
No updater change, policy bypass, forced engine reload loop, or permanent high-frequency polling is introduced. This addresses an existing recovery gap, not a demonstrated updater or network root cause. The short retry burst traces to #2779 / #2796; adjacent policy, registration, and Automation changes are not established causes.
Verification — Incomplete
Current signed head:
66fa2b65a465743c4194a1098fd0e60f855d05d5.Rebased onto
dev@d37c72280b0bf4547e6ec6b41b2e5bcfc437c293, preserving the intended five-file patch.Passed on this head:
The focused tests cover post-burst recovery, bounded persistent failure, explicit policy/auth denials, token-endpoint denial, online wake-up, stale cancellation and late mint, shared-repair cancellation, deduplication, and disabled intent. The earlier retry-schedule mutation demonstrated that the new recovery assertion fails with the old schedule; that is supporting component evidence, not installed-desktop proof.
Missing proof:
pnpm evals:e2e connect-readiness-preseededremains unrun. No cold-boot covering journey is claimed for this head. The extended journey sustains token-mint 503s past the old burst, restores transport, observes UI Ready before health probing, requires the task route to remain unchanged, and retains real tool/skill execution assertions. Final local review is also deferred.Evidence clarification: the earlier 6-test/7-assertion evidence at
8f9f6d6230da9c574a6d4ac9486e640a95547b65covers packaged boot, first launch, activation, and updater gating. It does not prove Connect startup-outage recovery and is historical after this rebase. Generic packaged-smoke evidence must not be presented as the covering recovery journey.Earlier investigation-only static-check failures were not rerun or clean-control classified in this refresh; they are not current-head passing claims.
Remaining boundary
Server policy fetching still maps some upstream denials and transport failures to
403 policy_unavailable. The client cannot reconstruct that hidden classification: those failures remain blocked and receive bounded retries. Explicit client/token-endpoint denials stop the burst. Already-dispatched requests cannot be recalled; server policy and identity enforcement remain authoritative.