Skip to content

Conversation

@greyivy
Copy link
Contributor

@greyivy greyivy commented Nov 24, 2025

Asana Task/Github Issue: https://app.asana.com/1/137249556945/project/1201048563534612/task/1211995697266063?focus=true

Description

Send a notification when Duck.ai data clearing is ready

Testing Steps

N/A -- tests pass


Note

Emits a duckAiClearDataReady message on init and enhances failure messaging with error details, with new integration tests covering readiness, success, and error paths.

  • Feature (injected/src/features/duck-ai-data-clearing.js):
    • Emit duckAiClearDataReady on init via notify.
    • Refactor success tracking to lastError; send duckAiClearDataFailed with { error } payload when any step fails; otherwise send duckAiClearDataCompleted.
  • Integration Tests (injected/integration-test/duck-ai-data-clearing.spec.js):
    • Add readiness test expecting duckAiClearDataReady.
    • Add/expand tests for:
      • Successful clearing of localStorage and IndexedDB.
      • Failure scenarios for IndexedDB and localStorage errors (expects duckAiClearDataFailed).
      • Success when data stores are absent/empty.

Written by Cursor Bugbot for commit 44c2647. This will update automatically on new commits. Configure here.

@greyivy greyivy requested a review from a team as a code owner November 24, 2025 22:11
@netlify
Copy link

netlify bot commented Nov 24, 2025

Deploy Preview for content-scope-scripts ready!

Name Link
🔨 Latest commit 44c2647
🔍 Latest deploy log https://app.netlify.com/projects/content-scope-scripts/deploys/692635c8aee8210008180b7a
😎 Deploy Preview https://deploy-preview-2061--content-scope-scripts.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

Temporary Branch Update

The temporary branch has been updated with the latest changes. Below are the details:

Please use the above install command to update to the latest version.

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

[Beta] Generated file diff

Time updated: Tue, 25 Nov 2025 23:04:38 GMT

Apple
    - apple/contentScope.js

File has changed

Integration
    - integration/contentScope.js

File has changed

Windows
    - windows/contentScope.js

File has changed

@greyivy greyivy enabled auto-merge November 25, 2025 23:24
@greyivy greyivy added this pull request to the merge queue Nov 25, 2025
Merged via the queue into main with commit 32cdcf9 Nov 25, 2025
17 checks passed
@greyivy greyivy deleted the igrey/duckai-data-clearing-ready branch November 25, 2025 23:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants