AnkiHubSoftware / ankihub_addon

3 stars 0 forks source link

[BUILD-748] feat: Add function to send the daily summary review data after the sync #1025

Closed pedroven closed 1 month ago

pedroven commented 1 month ago

Related issues

Proposed changes

This PR makes these changes:

How to reproduce

  1. Run the instance of the ankihub server and make sure that the feature flag daily_card_review_summary is enabled
  2. Open a deck and review a card
  3. Open the anki database and update the ID of the newly created revlog row to the value of a timestamp of yesterday's date
  4. Click on the "Sync with AnkiHub" option on the Ankihub menu
  5. Go to a shell instance of the Ankihub server and check if a register of the DailyCardReviewSummary was created successfully
pedroven commented 1 month ago

@RisingOrange I don't know if you noticed but seems like some tests are flaky, sometimes the CI pipeline fails, and sometimes not.

RisingOrange commented 1 month ago

@RisingOrange I don't know if you noticed but seems like some tests are flaky, sometimes the CI pipeline fails, and sometimes not.

Yes, this is indeed an issue. I haven't got around to fixing it yet