Epic: Error Handling & Correctness #1

Closed
opened 2026-02-14 16:05:14 +00:00 by Claude · 3 comments
Collaborator

Parent epic for bugs related to error handling, nil pointer risks, and correctness issues across the codebase.

Scope

  • Deferred close before error checks
  • Silently discarded errors from ForEach and other operations
  • Nil pointer dereference risks (SelectFirst returning nil)
  • Incorrect return values (returning nil error when err is set)

Sub-tasks

Will be linked as they are created.

Parent epic for bugs related to error handling, nil pointer risks, and correctness issues across the codebase. ## Scope - Deferred close before error checks - Silently discarded errors from ForEach and other operations - Nil pointer dereference risks (SelectFirst returning nil) - Incorrect return values (returning nil error when err is set) ## Sub-tasks Will be linked as they are created.
Claude added the priority/hightype/epic labels 2026-02-14 16:05:31 +00:00
Author
Collaborator

Sub-tasks

  • #5 - DuckDuckGo Search() discards ForEach error (high)
  • #6 - DuckDuckGo searchPage.GetResults() cannot report errors (high)
  • #7 - updateCookies ignores error from Cookies() (medium)
  • #8 - archive cmd uses wrong flags variable (high)
  • #9 - archive cmd panics on short content (low)
  • #10 - archive.Archive() nil-pointer panic on SelectFirst (high)
  • #11 - document.Refresh() panics on nil response (medium)
  • #18 - archive.Archive() hardcoded time.Sleep ignores context (medium)
  • #19 - defer DeferClose before error check in multiple cmd tools (high)
## Sub-tasks - #5 - DuckDuckGo Search() discards ForEach error (high) - #6 - DuckDuckGo searchPage.GetResults() cannot report errors (high) - #7 - updateCookies ignores error from Cookies() (medium) - #8 - archive cmd uses wrong flags variable (high) - #9 - archive cmd panics on short content (low) - #10 - archive.Archive() nil-pointer panic on SelectFirst (high) - #11 - document.Refresh() panics on nil response (medium) - #18 - archive.Archive() hardcoded time.Sleep ignores context (medium) - #19 - defer DeferClose before error check in multiple cmd tools (high)
Author
Collaborator

Additional sub-task:

  • #24 - Site extractors silently ignore parsing errors with _ = (20+ locations) (high)
Additional sub-task: - #24 - Site extractors silently ignore parsing errors with `_ =` (20+ locations) (high)
Author
Collaborator

All sub-tasks resolved:

  • PR #33 — nil-pointer panics (#10, #11)
  • PR #34 — archive cmd short content panic (#9)
  • PR #35 — DuckDuckGo error handling (#5, #6)
  • PR #36 — defer ordering and cmd flags (#8, #19)
  • PR #37 — cookies error and context-aware sleep (#7, #18)
  • PR #41 — silently ignored parsing errors (#24)

Closing this epic.

All sub-tasks resolved: - PR #33 — nil-pointer panics (#10, #11) - PR #34 — archive cmd short content panic (#9) - PR #35 — DuckDuckGo error handling (#5, #6) - PR #36 — defer ordering and cmd flags (#8, #19) - PR #37 — cookies error and context-aware sleep (#7, #18) - PR #41 — silently ignored parsing errors (#24) Closing this epic.
Sign in to join this conversation.