adobe / adobe/aio-cli-plugin-app-dev

Namespace-prefixed sequences aren't supported

オープン
#168 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
JavaScript
スター
2
フォーク
5
PR マージ指標
30日以内にマージされた PR はありません

説明

When users define sequences that include the namespace, e.g.

```yaml

sequences:
my-sequence:
actions: >-
namespace/auth,
namespace/real-action
```

They get an error:

```shell
› Sequence component 'namespace/real-action' does not exist (sequence =
› 'my-sequence')
```

This is because in the plugin, we track the action in the sequence as `namespace/auth` for example

But the list of actions we get from the config library tracks actions only in name, e.g. `auth`

Namespace-prefixed actions in a sequence are a valid Runtime use case that we should look into supporting

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、plugin がシーケンスアクションをどのように解析し、config library が返すアクション名と比較しているかを追跡します。issue にある namespace プレフィックス付きのシーケンスを再現し、その後 `namespace/auth` と `namespace/real-action` が正常に解決される一方で、プレフィックスなしのシーケンスも引き続き機能することを確認します。

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

評価

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

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

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