matomo-org / matomo-org/plugin-GoogleAnalyticsImporter

Continue import even if importing for a specific plugin fails

Open
#35 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
29
Forks
16
Avg merge
15h 12m
Merged PRs (30d)
14

Description

Since it's too hard to predict exactly how GA will behave in every circumstance, it would be better recover in face of most errors. We can do this by storing and reporting all errors and allowing those failed dates/plugins to be re-imported.

Todo:
* If a plugin fails to import, add the error to a list in the import status entity and continue.
* On the import status page, report on every error encountered, not just the last known one.
* Add a "retry failed imports" button on the import status page that will try each errored date/plugin combo again.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the import status entity, the import flow for a specific plugin, and the import status page described in the issue. Trace how errors are currently stored and displayed; done means failed date/plugin imports are recorded, all errors are shown, and the page can retry each failed combination.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
full-stack
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.