Skip to content

Comments

env: maintain tracked page identifier cache between builds#1079

Merged
jdknight merged 1 commit intomainfrom
maintain-pids-cache
Jan 30, 2025
Merged

env: maintain tracked page identifier cache between builds#1079
jdknight merged 1 commit intomainfrom
maintain-pids-cache

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