Repository navigation
Conversation
Token billing makes the Seer quota check pass for every pay-as-you-go org, so orgs that picked Seer repos but never had a Seer plan would start getting free scheduled night shift runs. Scheduled runs for token-billed orgs now need a scheduled run in the 30 days before the switch. Manual runs are unchanged. Refs CW-2255
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Token billing makes the Seer quota check pass for every pay-as-you-go org. Night shift finds candidate orgs through Seer repo picks, and many orgs picked repos at some point without ever having a Seer plan. Today the quota check keeps those orgs out. Once they move to token billing on 12/8 they would start getting night shift runs, which the 12/8 Autofix decisions rule out: orgs that had agentic triage keep it, and orgs new to Seer don't get it yet so we scale them up incrementally.
Scheduled runs for token-billed orgs now also need a scheduled night shift run in the 30 days before the switch (
TOKEN_BILLING_CUTOFF). A scheduled run row is only created after the quota check passes, so this keeps night shift with the orgs that had access before the switch, whether or not one of their projects qualified. Orgs that aren't token-billed and manual runs (the project endpoint and the admin trigger) are unchanged. The check runs after the quota check, so only orgs that pass it pay for the extra feature check and the indexed run lookup.For reviewers:
TOKEN_BILLING_CUTOFFhas to move with it. Orgs that migrate later, for example annual plans at renewal, are judged on the same window.context in CW-2255