Unable to setup log forwarding for running locally app without having IO Runtime namespace
メンテナーはふだん 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:
- Create a new App Builder app
- Create a simple action in this app
- Run the application locally
$ aio app run --local - Invoke the created action (the action should be deployed locally)
- Try to retrieve logs for the latest activation
- 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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
adobe/aio-cli-plugin-app のほかの issue
-
app:pack aborts when Node writes process warnings to api-mesh stderr対応中かも @raj-prince587 が 62 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
adobe/aio-cli-plugin-app#930 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
adobe/aio-cli-plugin-app#924 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
adobe/aio-cli-plugin-app#919 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
adobe/aio-cli-plugin-app#890 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 28/100
adobe/aio-cli-plugin-app#881 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
adobe/aio-cli-plugin-app の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
naver/egjs-flicking#971 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
RADAR-base/radar-self-enrolment-ui#118 ·
メンテナーはふだん 1 日以内に返信
-
Renderer treats a sub-pixel width difference as a resize, which cancels the `motion()` entranceオープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
MicrosoftDocs/edge-developer#3970 ·
メンテナーはふだん 1 日以内に返信
-
agent/scanner hive/hosted-available-lke648397-260827-5n31 quality testing
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信