Skip to content

[Bug] background.ts service worker fails to restart after Chrome updates extension #410

Description

@Pratikshya32

Description

In src/background.ts, the service worker does not handle the case where Chrome terminates and restarts it due to an extension update during an active meeting. This causes the background worker to lose state and fail to process remaining audio chunks.

Suggested Fix

  • Persist critical state (recording status, tab ID) to chrome.storage.session
  • On service worker startup, restore state from storage
  • Re-attach event listeners after restoration

cc @shouri123

Activity

  1. Pratikshya32 commented on Jun 1, 2026

    @Pratikshya32
    ContributorAuthor

    /assign

  2. added
    gssocOfficial GSSoC contribution issue
    gssoc:approvedGSSoC: PR approved and scored
    bugSomething isn't working
    on Jun 1, 2026
  3. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    👋 Hi @Pratikshya32, thank you for opening this issue! I have automatically assigned this issue to you since you raised it.

    Please follow the contribution guidelines and submit a PR. Let us know if you need any assistance! 🚀


    Please consider starring the repository ⭐ to show your support!

  4. github-actions commented on Jun 1, 2026

    @github-actions
    Contributor

    Hello @Pratikshya32! You have been assigned to this issue. 🚀

    Please make sure you have read our contribution guidelines. Happy coding!


    Please consider starring the repository ⭐ to show your support!

  5. added
    level:intermediateDifficulty level: Intermediate (35 pts)
    type:bugType: Bug Fix (Optional bonus)
    component:aiComponent: AI/LLM integration
    on Jun 1, 2026
  6. github-actions commented on Jun 16, 2026

    @github-actions
    Contributor

    This issue has been marked as stale due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcomponent:aiComponent: AI/LLM integrationcomponent:backgroundComponent: Background service workergssocOfficial GSSoC contribution issuegssoc:approvedGSSoC: PR approved and scoredlevel:intermediateDifficulty level: Intermediate (35 pts)staletype:bugType: Bug Fix (Optional bonus)

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions