Repository navigation
fix(lx): count guest posts by author so a site cannot get stuck on guest slots - #357
Merged
Merged
Conversation
…est slots A guest post is stored under the partner's site_id with the writer in author_site_id. isGuestPostSlot and the partner cooldown both filtered by site_id, so neither ever saw the guest posts a site wrote: - the cadence count never moved once it sat at 9 mod 10, so every slot became a guest slot for ever. pairux.com has published nothing to its own blog since 2026-08-19. - the 30-day cooldown found nothing, so pairux wrote the same "screen sharing software development" post for one partner 17 times. Count the site's own posts plus the guest posts it authored, and look up the cooldown by author_site_id. The test stub now records its filters so the column choice is pinned. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan48 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 31 | LOW: 15
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
A guest post is stored under the partner's site_id with the writer in
author_site_id. isGuestPostSlot and the partner cooldown both filtered by
site_id, so neither ever saw the guest posts a site wrote:
became a guest slot for ever. pairux.com has published nothing to its
own blog since 2026-08-19.
"screen sharing software development" post for one partner 17 times.
Count the site's own posts plus the guest posts it authored, and look up
the cooldown by author_site_id. The test stub now records its filters so
the column choice is pinned.
🤖 Generated with Claude Code