Unverified Commit c3165ca5 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig Committed by GitHub

Stub adapterPath with experimental.runtimeServerDeploymentId (#90790)

`required-server-files.json` contains the `adapterPath` which might be nondeterministic across builds depending on where the adapter was installed.
parent 8b70c610
......@@ -1863,7 +1863,10 @@ export function getNextConfigRuntime(
authInterrupts: ex.authInterrupts,
clientTraceMetadata: ex.clientTraceMetadata,
clientParamParsingOrigins: ex.clientParamParsingOrigins,
adapterPath: ex.adapterPath,
// The full adapterPath might be non-deterministic across builds and doesn't actually matter
// at runtime, as it's only used to determine whether the adapter was used or not, not to
// execute it again. So replace it with a placeholder if it's set.
adapterPath: ex.adapterPath ? '<ommited but set>' : undefined,
allowedRevalidateHeaderKeys: ex.allowedRevalidateHeaderKeys,
fetchCacheKeyPrefix: ex.fetchCacheKeyPrefix,
isrFlushToDisk: ex.isrFlushToDisk,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment