-
Notifications
You must be signed in to change notification settings - Fork 91
Surface sync and import failures with row-level context #105
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.This issue is about lost, corrupted, or silently dropped user/session/config data.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.This issue is about lost, corrupted, or silently dropped user/session/config data.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Parent: #100
Related Gitcrawl context: openclaw/gitcrawl#81
Observed Workflow
During initial Discrawl use, sparse database errors made it hard to tell whether a sync failure was a data-shape problem, an idempotency problem, or a local write-path bug.
One concrete case involved duplicate attachment insert errors. The useful first fix was not a broad behavior change; it was adding row-level context around the failing insert so the attempted attachment id, message id, guild id, channel id, author id, filename, content type, and size were visible.
Current Workaround
Without row context, failures have to be diagnosed by reading code, reproducing locally, or adding temporary logging.
That makes coverage and retry decisions harder because missing or partial data may reflect:
Request
Surface sync/import/write failures with durable, queryable context.
Example shape:
Suggested tracked fields:
Why This Matters
Codex-assisted archive use depends on knowing whether local data is missing because it has not been fetched yet, because a previous fetch failed, or because a local data-shape bug needs a targeted report. Without a ledger, that context disappears into shell logs.
Acceptance Criteria
Prepared with Codex, confirmed as accurate by human.