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

Namespace-prefixed sequences aren't supported

Open
#168 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the plugin parses sequence actions and compares them with the action names returned by the config library. Reproduce the namespace-prefixed sequence from the issue, then verify that `namespace/auth` and `namespace/real-action` resolve successfully while unprefixed sequences continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.