Skip to content

Preserve daily quiz quest reset in daily rollover logic#59

Draft
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-code-review-comment
Draft

Preserve daily quiz quest reset in daily rollover logic#59
Copilot wants to merge 1 commit into
mainfrom
copilot/fix-code-review-comment

Conversation

Copy link
Copy Markdown

Copilot AI commented May 31, 2026

This PR addresses the linked review comment requesting restoration of daily reset behavior for quiz_quest_completed. The goal was to ensure quiz daily quests can be completed again on subsequent days, consistent with other daily quest reset fields.

  • What was addressed

    • Verified the exact code path referenced in the review comment (_ensure_daily_quest_row daily rollover UPDATE in utils/codebuddy_database.py).
    • Confirmed the required reset assignment is already present; no additional code modification was needed for this comment’s scope.
  • Relevant code path

    UPDATE daily_quests
    SET quest_date = ?,
        quizzes_completed = 0,
        counting_numbers = 0,
        quiz_quest_completed = 0,
        counting_quest_completed = 0,
        voted_today = 0,
        quest_completed = 0
    WHERE user_id = ?

Copilot AI changed the title [WIP] Fix code according to review comment Preserve daily quiz quest reset in daily rollover logic May 31, 2026
Copilot AI requested a review from youngcoder45 May 31, 2026 18:01
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