Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env: maintain tracked page identifier cache between builds #1079

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

jdknight
Copy link
Member

When a cache is kept for tracking previously published pages and their identifiers, if a processing event results in pages not needing to be updated, unchanged pages can cause their page identifiers to be removed from the active list. This can result in a following pass to cleanup legacy-flagged pages for pages that are still considered unchanged.

The cache implementation should be maintaining the assumed cached identifier for pages if they remain changed for a run. Updating the implementation to always populate the cached page identifiers before replacing them with new active page identifiers (if any).

When a cache is kept for tracking previously published pages and their
identifiers, if a processing event results in pages not needing to be
updated, unchanged pages can cause their page identifiers to be removed
from the active list. This can result in a following pass to cleanup
legacy-flagged pages for pages that are still considered unchanged.

The cache implementation should be maintaining the assumed cached
identifier for pages if they remain changed for a run. Updating the
implementation to always populate the cached page identifiers before
replacing them with new active page identifiers (if any).

Signed-off-by: James Knight <git@jdknight.me>
@jdknight jdknight merged commit 80ae2ee into main Jan 30, 2025
29 checks passed
@jdknight jdknight deleted the maintain-pids-cache branch January 30, 2025 07:03
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.

1 participant