Apple Silicon - Dependency install aborts on missing gozip, leaving in-proc func binaries unsigned

オープン
#9,647 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
node.js, typescript, vscode
領域
backend, devtools

調査の方向性

Find the dependency installation and post-install permission/signing loop that handles FuncCoreTools; the issue does not name its source file or a test. Start by locating the code that chmods the package-root gozip and review how failures are handled. Verify the fix against Core Tools 4.15.2 on Apple Silicon: installation should finish and the in-proc6 and in-proc8 func binaries should be signed and run.

索引モデルが issue の本文から書いたものです。

説明

VSCode
Severity

P2 - High (Major functionality broken)

Describe the Bug with repro steps

What happens
On activation, dependency installation fails:

Failed to install FuncCoreTools after download at
~/.azurelogicapps/dependencies/FuncCoreTools:
ENOENT: no such file or directory,
chmod '~/.azurelogicapps/dependencies/FuncCoreTools/gozip'
Error in dependencies validation and installation

gozip is not at the package root in Core Tools 4.15.2. It ships at:
FuncCoreTools/in-proc6/gozip
FuncCoreTools/in-proc8/gozip

The post-install loop aborts there, so the binaries after it never get their
permissions and ad-hoc signatures applied. Result:

codesign -v FuncCoreTools/in-proc8/func
  -> "code object is not signed at all"
FuncCoreTools/in-proc8/func --version
  -> exit 137 (SIGKILL; unsigned arm64 binaries are killed by the kernel)

func itself is signed and runs. It spawns in-proc8/func as a child, the
kernel kills it instantly, and the parent exits 0 having printed nothing.

Symptoms for the user

  • "Open Designer" fails: "Timed out waiting for design-time startup ...
    after 300000 ms"
  • F5 fails: "Failed to detect running Functions host within 60 seconds"
  • func host start from a terminal: exit 0, zero bytes of output
  • Nothing in the Output channel after "Running command ... with pid: N"
  • No crash report

There is no diagnostic output anywhere unless --verbose is passed, which
reveals "Started child process with ID: N" as the last line before death.

Because the failed install re-runs on every activation, it re-extracts Core
Tools each time and strips any manual fix.

Workaround
codesign -s - --force ~/.azurelogicapps/dependencies/FuncCoreTools/in-proc8/func
codesign -s - --force ~/.azurelogicapps/dependencies/FuncCoreTools/in-proc6/func
and set
"azureLogicAppsStandard.autoRuntimeDependenciesValidationAndInstallation": false
so the reinstall stops undoing it.

Suggested fix
Look for gozip in the in-proc subfolders, or skip it when absent rather than
aborting the loop. Also worth not swallowing the post-install error — it is
currently logged once and then the extension proceeds as if dependencies
were valid.

What type of Logic App Is this happening in?

Standard (VSCode)

Are you experiencing a regression?

No response

Which operating system are you using?

MacOS

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

Screenshots or Videos

No response

Environment

Extension: ms-azuretools.vscode-azurelogicapps 5.996.0
VS Code: 1.140.0
OS: macOS 26.7.1, arm64 (Apple Silicon)
Core Tools: 4.15.2 (auto-installed by the extension)

Additional context

No response

主要言語
TypeScript
スター
114
フォーク
115
平均マージ
1日 3時間
マージ済み PR(30日)
40

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/LogicAppsUX のほかの issue

Azure/LogicAppsUX の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。