Skip to content

Implement bundle failure and retry mechanism #519

@latin-panda

Description

@latin-panda

Description

We tried to implement a retry mechanism to handle failures when loading the map bundle. However, the cache-busting query (e.g., /map-block.js?bust=<number>) was ineffective in host applications using Vite/Vue, such as Central or a minimal Vue project, as the bundle could not be located. Once offline capabilities are integrated, leveraging web workers will simplify managing retries for any bundle or asset.


Checklist

  • Does it need UI/UX design?
    • Yes. Describe the UI/UX requirements or attach a Figma link in the "Design" section.
    • No
  • Does it need API design?
    • Yes. Specify the endpoints, methods, or data structures needed.
    • No
  • Does it need design around state flow?
    • Yes. Outline the state flow requirements.
    • No
  • Does it need a test plan?
    • Yes. Add the test plan as a comment in this task or attach the document.
      • Test plan to verify failure detection, retry logic, and offline form submission.

Dependencies

  • Requires service worker implementation for offline support.

Related Issues

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions