Skip to content

Conversation

@mjameswh
Copy link
Contributor

What was changed

  • User Metadata (User metadata #1657) introduced an import to Payload Codecs APIs from a file that is imported into the Workflow sandbox.

    This has been adding approx 350 KB to the size of workflow bundles, and causing warning messages from the workflow bundler:

    WARNING in ../common/lib/internal-non-workflow/data-converter-helpers.js 28:17-30
    Critical dependency: the request of a dependency is an expression
        at CommonJsRequireContextDependency.getWarnings (main/node_modules/webpack/lib/dependencies/ContextDependency.js:109:18)
        at Compilation.reportDependencyErrorsAndWarnings (main/node_modules/webpack/lib/Compilation.js:3278:24)
        at main/node_modules/webpack/lib/Compilation.js:2863:28
        at _next2 (eval at create (main/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:16:1)
        at eval (eval at create (main/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:42:1)
        at main/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:395:10
        at main/node_modules/neo-async/async.js:2830:7
        at Object.each (main/node_modules/neo-async/async.js:2850:39)
        at main/node_modules/webpack/lib/FlagDependencyExportsPlugin.js:366:17
        at main/node_modules/neo-async/async.js:2830:7
     @ ../common/lib/internal-non-workflow/index.js 24:13-48
     @ ../common/lib/user-metadata.js 7:32-66
     @ ../workflow/lib/workflow.js 36:24-71
     @ ../workflow/lib/global-overrides.js 14:19-40
     @ ./lib/workflows-autogenerated-entrypoint.cjs 5:28-83
    

@mjameswh mjameswh requested a review from a team as a code owner August 19, 2025 19:18
@mjameswh mjameswh force-pushed the prep-1.12.3-update-core branch from 4f8bf47 to b5d8b0d Compare August 19, 2025 19:25
@mjameswh mjameswh force-pushed the user-metadata-wf-bundler-warning branch from 0319bf1 to 4ff437d Compare August 19, 2025 19:25
Base automatically changed from prep-1.12.3-update-core to main August 19, 2025 20:17
@mjameswh mjameswh merged commit b0d0f53 into main Aug 19, 2025
21 of 23 checks passed
@mjameswh mjameswh deleted the user-metadata-wf-bundler-warning branch August 19, 2025 20:40
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.

3 participants