You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(vscode): address review findings on quiet classification, latches, color marker
Three review findings, each verified before fixing:
- The missing-cwd spawn refusal threw a plain Error, so callers re-logged
the already-warned stale-project state as an error with a stack. The
guard now throws ReportedRstestResolutionError (which gained an optional
message), and the four catch sites above RstestApi share one
logUnlessReported helper next to the class instead of re-deciding.
- The re-raise dedupe in versionMismatch/notInstalled short-circuited
before the package-state restatement, so a crash latched between two
identical verdicts survived a retry that aborted before spawning. Both
observations now fold into one #observePackageState that restates
first and skips only the repaint.
- retractForceColorIfDisabled left RSTACK_FORCE_COLOR_INJECTED in the env
on the no-NO_COLOR path; the marker is now removed once the decision is
complete, so pool processes and user test code never observe it.
0 commit comments