You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Fail the build if any hook/action callable could not be lowered into a metadata-only body (no .mjs fallback)',
36
36
default: false,
37
37
}),
38
+
'runtime-bundle': Flags.boolean({
39
+
description: 'Force-emit the legacy objectstack-runtime.{hash}.mjs shim even when every callable has a metadata body. Useful for back-compat with older runtime loaders. By default the bundle is auto-emitted only when at least one callable could not be lowered to a body.',
40
+
default: false,
41
+
allowNo: true,
42
+
}),
43
+
// Deprecated alias kept for back-compat. Auto-skip is now the default,
44
+
// so this flag is a no-op except that it forces a hard failure when any
45
+
// callable still needs the legacy bundle (same semantics as before).
38
46
'no-runtime-bundle': Flags.boolean({
39
-
description: 'Skip emitting the legacy objectstack-runtime.{hash}.mjs bundle. Requires every callable to have a metadata body — otherwise the build fails.',
47
+
description: '[deprecated] Auto-skip is now the default. Pass --no-runtime-bundleto fail loudly if any callable still requires the legacy bundle.',
constmsg=`--no-runtime-bundle requires every callable to have a metadata body (${stillNeeded} missing, ${lowering.bodyExtractionWarnings.length} extraction warning(s)). Re-run with --strict-body to see details, or omit --no-runtime-bundle.`;
// when any callable still requires the bundle. Preserved so CI
157
+
// pipelines can guard against accidental regressions.
158
+
constmsg=`--no-runtime-bundle requires every callable to have a metadata body (${stillNeeded} missing, ${lowering.bodyExtractionWarnings.length} extraction warning(s)). Re-run with --strict-body to see details, or omit --no-runtime-bundle.`;
0 commit comments