[WSJF-4] Specific bug tracking in parser failure logs #17

Open
opened 2026-06-27 10:46:15 +02:00 by bullitt · 0 comments
Owner

Context

Article: 'Document exact file paths, function names, line numbers. Provide actionable feedback.'

Problem

When a parser fails to extract, the log says nothing about WHY. Was the label not found? Was the URL pattern wrong? The user can't fix it.

Proposal

  • In apply_strategy, log: 'after_label: searched for label X in N lines, not found'
  • In link_containing: log: 'searched N URLs, none contained substring Y'
  • Store failure reason in event notes
  • Surface in parsers page: 'Last failure: label "Order #" not found in body'

WSJF: 4

## Context Article: 'Document exact file paths, function names, line numbers. Provide actionable feedback.' ## Problem When a parser fails to extract, the log says nothing about WHY. Was the label not found? Was the URL pattern wrong? The user can't fix it. ## Proposal - In apply_strategy, log: 'after_label: searched for label X in N lines, not found' - In link_containing: log: 'searched N URLs, none contained substring Y' - Store failure reason in event notes - Surface in parsers page: 'Last failure: label "Order #" not found in body' ## WSJF: 4
Sign in to join this conversation.
No labels
arch
harness
security
ux
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bullitt/trackbox#17
No description provided.