Repository navigation
[skills] Sync runtime-cache with current docs - #368
Open
vercel-gh-bot-4[bot] wants to merge 1 commit into
Open
vercel-gh-bot-4[bot] wants to merge 1 commit into
vercel-gh-bot-4[bot] wants to merge 1 commit into
Conversation
vercel-gh-bot-3
Bot
force-pushed
the
eve-drift/runtime-cache
branch
from
November 2, 2026 09:45
b778af4 to
091a80f
Compare
<!-- vercel-plugin-drift-agent -->
vercel-gh-bot-5
Bot
force-pushed
the
eve-drift/runtime-cache
branch
from
November 5, 2026 09:46
091a80f to
1f1f580
Compare
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.
getCacheentries, but not for the'use cache: remote'path the skill recommends for Next.js 16. An agent could pick that directive expecting entries to outlive a deploy. Correction:getCacheentries survive new deploys, but Next.js 16use cache: remoteentries are not readable after a new deployment. Their keys include the build ID, or thedeploymentIdwhen one is configured (for example with Skew Protection). Source: https://vercel.com/docs/caching/runtime-cache (last_updated 2026-08-28): "Next.js includes the build ID in everyuse cache: remotecache key, or thedeploymentIdwhen one is configured." The page's table also listsuse cache: remotein Next.js 16 as "Not today" for "Readable after a new deployment". Corroborated by https://nextjs.org/docs/app/api-reference/directives/use-cache-remote: "Remote cache entries do not persist across deploys."Verification
run_plugin_checks: build, typecheck, validate, and test all passed (1279 tests pass, 0 fail).Test updates
None.
Not changed
@vercel/functions@3.10.4types:namespaceSeparatordefaulting to$,getreturning null, and thename,tags, andttlset optionsexpireTagaccepting a string or an array, with 300ms global propagationcachesubcommands and flagsrevalidateTagandupdateTagsemanticsOpened automatically by the vercel-plugin drift agent. Review before merge.
Drift scan update 2026-11-02
'use cache: remote'as the Next.js 16 way to store data in Runtime Cache, so an agent would assume those entries survive a deploy too. They don't. Correction:getCacheentries survive new deploys, but Next.js 16'use cache: remote'entries don't. Their keys include the build ID, or thedeploymentIdwhen one is configured (for example, with Skew Protection).use cache: remotecache key, or thedeploymentIdwhen one is configured." The deployment table on that page also listsuse cache: remotein Next.js 16 as "Not today" for "Readable after a new deployment". On Skew Protection, the same page says: "On Vercel, Next.js projects with Skew Protection enabled get adeploymentIdset from the deployment's ID."Verification
run_plugin_checkspassed every step: build (0 updated, 7 unchanged), typecheck, validate (PASSED, all checks OK), and test (1279 pass, 0 fail).Test updates
None.
Not changed
revalidatePath/revalidateTagdoes NOT invalidate Runtime Cache": the @vercel/functions API reference (last_updated 2026-09-03) still says "Next.js'srevalidatePathandrevalidateTagAPIs do not invalidate the Runtime Cache." The Runtime Cache page, though, showsrevalidateTaginvalidatinguse cache: remotedata. The docs disagree with each other, so I left this line alone.vercel cache purge --type datais still in the CLI source.$separator),getreturning null, expireTag's 300ms propagation, the limits (2 MB, 128 tags, 256 bytes, 16 tags per bulk call), the Next.js 16 invalidation table, and the CDN dashboard and project-level routing note.Opened automatically by the vercel-plugin drift agent. Review before merge.
Drift scan update 2026-11-05
'use cache: remote'for Next.js 16, but those entries can't be read after a new deployment. Correction:getCacheentries survive new deploys, but Next.js 16use cache: remotekeys include the build ID (ordeploymentId), so a new deployment can't read them. Source: https://vercel.com/docs/caching/runtime-cache (last_updated 2026-08-28): "Next.js includes the build ID in everyuse cache: remotecache key, or thedeploymentIdwhen one is configured." The same page's table listsgetCacheas readable after a new deployment ("Yes") anduse cache: remoteas "Not today". Next.js agrees at https://nextjs.org/docs/app/api-reference/directives/use-cache-remote: "Remote cache entries do not persist across deploys."Verification
run_plugin_checks: build, typecheck, validate, and test all passed (1313 tests pass, 0 fail).Test updates
None.
Not changed
vercel cache purge --type dataand tag purges that clear CDN, Runtime Cache, and Data Cache still match https://vercel.com/docs/cli/cache and https://vercel.com/docs/caching/cdn-cache/purge.getCacheoptions, theget→nullreturn value, the 300msexpireTagpropagation, the limits table, the CLI flags, and the March 5, 2026 CDN dashboard note all match current docs and the@vercel/functions3.10.6 types.Opened automatically by the vercel-plugin drift agent. Review before merge.