Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Unable to setup log forwarding for running locally app without having IO Runtime namespace

オープン
#563 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
cli

調査の方向性

まず aio app run --local で問題を再現し、次にローカルアクションを呼び出して、実際の IO Runtime namespace なしで aio rt:activation:logs <activation_id> を実行します。これらのコマンドで使用されるログ転送設定を追跡します。ローカルアクティベーションが、実際の namespace の認証情報を必要とせずにログを公開できれば完了です。

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

説明

Describe the bug

App builder allows running an application completely locally, including IO Runtime actions, by deploying them locally.
This approach assumes, that logs for the actions deployed locally will be available locally as well. However, right now AIO_runtime_ env vars should be set with "real" namespace even if the app is running completely locally, otherwise, the log forwarding configuration will not work and will show the following error:

$ aio app config set log-forwarding
? select log forwarding destination Adobe I/O Runtime
 ›   Error: Could not update log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"DlMXORdeOVjkD2Yv1zoSBmVlYe5GEoXM","error":"The requested resource could not be found."}

Also, it's not possible to retrieve logs for actions deployed locally.

$ aio rt:activation:logs d12c132988974cc1ac13298897acc1d6
Error: Could not get log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"aXMbU17R8fPRfsQu1OppZRlyVdrhYDoH","error":"The requested resource could not be found."}

To Reproduce
Steps to reproduce the behavior:

  1. Create a new App Builder app
  2. Create a simple action in this app
  3. Run the application locally $ aio app run --local
  4. Invoke the created action (the action should be deployed locally)
  5. Try to retrieve logs for the latest activation
  6. See the following error
$ aio rt:activation:logs <activation_id>
Error: Could not get log forwarding settings for namespace 'guest': 404 (Not Found). Error: {"code":"aXMbU17R8fPRfsQu1OppZRlyVdrhYDoH","error":"The requested resource could not be found."}

Expected behavior
It should be possible to retrieve logs for an App Builder app that is completely running locally without configuring the "real" IO Runtime namespace and providing credentials for it.

主要言語
JavaScript
スター
28
フォーク
41
平均マージ
1日 15時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

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

adobe/aio-cli-plugin-app のほかの issue

adobe/aio-cli-plugin-app の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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