Edge functions silently skipped when running from a workspace package
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 65/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- node.js, typescript
- 領域
- build-system, cli
調査の方向性
Start by tracing how the CLI passes packagePath and the working directory into @netlify/build, then find the code that resolves .netlify/v1/edge-functions and the tests for workspace builds. Reproduce with netlify build in apps/web from the linked repro. Done means the edge function is bundled and .netlify/edge-functions-dist is produced when invoked from a workspace package.
索引モデルが issue の本文から書いたものです。
説明
Bug
In a pnpm workspace, running netlify build or netlify deploy from a package directory skips bundling for functions in .netlify/v1/edge-functions. There's no warning, and the deploy succeeds without edge functions. Serverless functions still deploy.
It works from the workspace root with --filter, and in standalone projects.
Reproduce
Repro: https://github.com/shamilkotta/netlify-edge-monorepo-repro
Run netlify build in apps/web.
Expected: hello is bundled.
Actual: the build completes with packagePath: apps/web, but there's no "Edge Functions bundling" step and no .netlify/edge-functions-dist.
Likely cause
packagePath is set while the build's working directory stays in the package, so resolve(buildDir, packagePath, ".netlify/v1/edge-functions") appears to point at apps/web/apps/web/....
Environment
netlify-cli 27.11.1, @netlify/build 37.4.0, Node 24.13.0, macOS
Related: #7702
- 主要言語
- TypeScript
- スター
- 1.9k
- フォーク
- 482
- 平均マージ
- 2日 13時間
- マージ済み PR(30日)
- 77
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
netlify/cli のほかの issue
-
db-status.test fails if the database is disabled対応中かも @paulleephp が 21 日前に担当しました。 オープンtype: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
`client-ip` is not an IP address when `x-forwarded-for` holds a list or a port対応中かも @Dev-next-gen が 41 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
`netlify dev` with `--cwd` from outside the project: every function 500s with "module is not defined in ES module scope" (`detectZisiBuilder` passes a string to `readPackageUp`)対応中かも @bsplatt92 が 82 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area: command: deploy area: docs type: feature
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
netlify/cli#1984 · コメント 19 件 · リアクション 3 件 ·
メンテナーはふだん 1 日以内に返信
-
type: bug
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
earendil-works/pi-claude-code#36 ·
メンテナーはふだん 6 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
Resources: New work of jabodetabek対応中かも @rmt-svc が今日担当しました。 オープンresources
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
railmapgen/rmp-gallery#4167 ·
メンテナーはふだん 2 日以内に返信
-
documentation p1
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
microsoft/monaco-editor#5577 ·
メンテナーはふだん 1 日以内に返信