Skip to content

fix: address bugs, goroutine leak, null-safety, and deprecated APIs#249

Merged
jongio merged 1 commit into
mainfrom
patrol/bug-fixes
May 18, 2026
Merged

fix: address bugs, goroutine leak, null-safety, and deprecated APIs#249
jongio merged 1 commit into
mainfrom
patrol/bug-fixes

Conversation

@jongio
Copy link
Copy Markdown
Owner

@jongio jongio commented May 18, 2026

This PR addresses 8 bug fix issues:

- Fix #189: Add Image field to ServiceRuntime struct; store container image
  in the correct field instead of misusing Command field
- Fix #188: Always call initializeValidators in RunDiagnostics regardless
  of workspace ID (constructors handle empty workspace gracefully)
- Fix #210: Add scanner.Err() checks after scanner loops in
  collectContainerLogs, collectStreamLogs, and collectFunctionsStreamLogs
- Fix #207: Add context parameter to sendWithBackpressure to prevent
  goroutine leak on stream send timeout when client disconnects
- Fix #204: Remove deprecated execCommand clipboard fallback; use
  navigator.clipboard.writeText exclusively
- Fix #203: Replace Function constructor with standard dynamic import
  using vite-ignore annotation for pagefind
- Fix #202: Cache index.html content at startup in SPA fallback handler;
  eliminate per-request file open/read
- Fix #216: Resolve 8 TypeScript null-safety errors reported by astro
  check in Search.astro and screenshot-capture.ts
@jongio jongio merged commit 7b48aab into main May 18, 2026
9 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment