Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count flag is broken in runtime command action list #700

Open
purplecabbage opened this issue Dec 9, 2024 · 2 comments
Open

Count flag is broken in runtime command action list #700

purplecabbage opened this issue Dec 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@purplecabbage
Copy link
Member

Expected Behaviour

aio runtime action list -c=2
... 2 actions listed

Actual Behaviour

› Error: failed to list the actions: the requested resource does not exist. (404 Not Found)
› specify --verbose flag for more information

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Environment Info

  System:
    OS: macOS 15.1.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 1006.25 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.10.0 - ~/.nvm/versions/node/v22.10.0/bin/node
    Yarn: 1.22.19 - ~/.bun/bin/yarn
    npm: 10.9.0 - ~/.nvm/versions/node/v22.10.0/bin/npm
  Virtualization:
    Docker: 20.10.17 - /usr/local/bin/docker
  npmGlobalPackages:
    @adobe/aio-cli: 10.3.1

Sample Code that illustrates the problem

Logs taken while reproducing problem

@purplecabbage purplecabbage added the bug Something isn't working label Dec 9, 2024
@shazron
Copy link
Member

shazron commented Dec 10, 2024

-c is fine. It's the =2 that is passed through from flags into runtime list options: https://github.com/adobe/aio-cli-plugin-runtime/blob/a5d74815380fc844a0b65aeafaec03c5baad5ae2/src/commands/runtime/action/list.js#L22-L24

 aio-cli-plugin-runtime OpenWhiskError: GET https://adobeioruntime.net/api/v1/namespaces/_/actions/2/ Returned HTTP 404 (Not Found) --> "The requested resource does not exist."

@aiojbot
Copy link

aiojbot commented Dec 10, 2024

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants