Automattic / Automattic/jetpack

AI Tiered Plans: Address 0 count when the site does not have a plan

Open
#33,943 2 comments 0 reactions 0 assignees View on GitHub
[Block] AI Assistant [Status] Stale
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

For Simple sites with upgrades, the current usage counter will return 0 because the site does not have a Jetpack AI plan, and therefore does not have a plan "anniversary" day each month, so the code will return 0 in this case.

Is it relevant to deal with Simple sites in this context? How could we do it?

One idea is to use the WPCOM upgrade plan date as the date of the renewal, since the Jetpack AI is being offered by this specific plan.

Contributor guide

Open the contributing guide

Research direction

Trace the current usage counter and the logic that derives the Jetpack AI plan anniversary day. Compare that behavior for Simple sites with the WPCOM upgrade plan date proposed in the issue; done means the counter no longer returns 0 when the site lacks a Jetpack AI plan and its renewal basis is defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.