Skip to content

fix: sftp handshake timeout, browser page detached logs, html lang follows i18n - #866

Merged
fclairamb merged 2 commits into
feat/todos-2026-11-13from
feat/todos-2026-11-13-2
Nov 13, 2026
Merged

fclairamb merged 2 commits into
feat/todos-2026-11-13from
feat/todos-2026-11-13-2

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Stacked on #862: merge it first.

Closes fclairamb/solidping-business#74
Closes fclairamb/solidping-business#75

  • sftp checker: close connection when context expires; context errors map to timeout
  • browser checker: detached page logged as INFO with clear diagnostics
  • dashboard: <html lang> follows displayed language (fixes browser auto-translate crash)

🤖 Generated with Claude Code

fclairamb and others added 2 commits November 13, 2026 08:50
…es read as such (fclairamb/solidping-business#74)

A stalled SFTP server (TCP accepted, then silence) held the checker in the SSH
handshake past the worker deadline, so the worker abandoned it: the pre-dialed
conn had no deadline (checksftp/checker.go, ssh.NewClientConn). The conn is now
closed via context.AfterFunc, and ctx-caused session/Stat failures report
StatusTimeout. TestExecute_HonorsContextOnAStalledServer hung before the fix.

A browser screenshot whose page closed or crashed first (CDP -32000 "Not
attached to an active page") was logged as a WARN capture failure with the raw
protocol error. It now logs at INFO with page_detached=true and the diagnostics
say "the page was closed or crashed before the capture"
(TestCaptureErrorMessageNamesADetachedPage, did not compile before).

Closes fclairamb/solidping-business#74

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…/solidping-business#75)

A visitor whose browser language the dashboard ships (es, fr, de) got the page
rendered in that language under the static lang="en" of index.html, so the
browser offered to auto-translate it; the translator's DOM edits then crashed
React's reconciliation (removeChild NotFoundError) on the login page. i18n.ts
now sets document.documentElement.lang to i18n.resolvedLanguage on every
language change. src/i18n-html-lang.test.ts failed before the fix.

Closes fclairamb/solidping-business#75

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fclairamb fclairamb added autopilot frozen Batch PR under review: takes only its own fixes, new work goes to the next batch implemented Every spec of the PR is implemented and its batch gate was green autorelease automerge labels Nov 13, 2026
@fclairamb
fclairamb merged commit e2a5527 into feat/todos-2026-11-13 Nov 13, 2026
7 checks passed
@fclairamb
fclairamb deleted the feat/todos-2026-11-13-2 branch November 13, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge autopilot autorelease frozen Batch PR under review: takes only its own fixes, new work goes to the next batch implemented Every spec of the PR is implemented and its batch gate was green

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant