Skip to content

Implement getTagCacheResult for cache validation tracking#1193

Draft
conico974 wants to merge 3 commits into
mainfrom
conico/expose-tag-cache-result
Draft

Implement getTagCacheResult for cache validation tracking#1193
conico974 wants to merge 3 commits into
mainfrom
conico/expose-tag-cache-result

Conversation

@conico974

Copy link
Copy Markdown
Contributor

Introduce a new method, getTagCacheResult, to enhance cache validation and revalidation tracking.

This addition allows for better monitoring of cache states and is especially useful for things like a regional cache that depending on options should not be populated.

@changeset-bot

changeset-bot Bot commented Jun 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: ddab1e5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@opennextjs/aws Minor
app-pages-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@opennextjs/aws@1193

commit: ddab1e5

@github-actions

github-actions Bot commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 36.6% 4107 / 11221
🔵 Statements 36.6% 4107 / 11221
🔵 Functions 58.25% 194 / 333
🔵 Branches 79.6% 1093 / 1373
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/open-next/src/adapters/cache.ts 88.97% 87.97% 100% 88.97% 28-29, 100-108, 222, 241-242, 458, 478-499, 533-534, 568-577, 587-595
packages/open-next/src/adapters/composable-cache.ts 96.51% 91.3% 100% 96.51% 43, 53, 71, 81, 239, 252-253
packages/open-next/src/core/routing/cacheInterceptor.ts 90.61% 80.76% 100% 90.61% 92-98, 119-120, 150-151, 169-171, 202-205, 261-262, 283-285, 290-291, 306-308, 316-317, 430-431
packages/open-next/src/types/overrides.ts 0% 0% 0% 0%
packages/open-next/src/utils/cache.ts 82.79% 68.42% 100% 82.79% 28-29, 32, 54-55, 59-60, 62-63, 67, 80-81, 88-89, 115-116
Generated in workflow #1846 for commit ddab1e5 by the Vitest Coverage Report Action

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