-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Using the app.config.yaml manifest, you cannot create a sequence with an action that has the web:yes property and require-adobe-auth: true annotation set, this results in an error. The other 3 combinations are fine.
Config
app.config.yaml
application:
actions: actions
web: web-src
runtimeManifest:
packages:
test-app:
license: Apache-2.0
actions:
webYesAuthNoAction:
function: actions/generic/index.js
web: 'yes'
runtime: nodejs:22
inputs:
LOG_LEVEL: debug
annotations:
require-adobe-auth: false
final: true
webYesAuthYesAction:
function: actions/generic/index.js
web: 'yes'
runtime: nodejs:22
inputs:
LOG_LEVEL: debug
annotations:
require-adobe-auth: true
final: true
webNoAuthNoAction:
function: actions/generic/index.js
web: 'no'
runtime: nodejs:22
inputs:
LOG_LEVEL: debug
annotations:
require-adobe-auth: false
final: true
webNoAuthYesAction:
function: actions/generic/index.js
web: 'no'
runtime: nodejs:22
inputs:
LOG_LEVEL: debug
annotations:
require-adobe-auth: true
final: true
sequences:
# SUCCESS
webXAuthNoSequence:
actions: webNoAuthNoAction, webYesAuthNoAction
# SUCCESS
webNoAuthYesSequence:
actions: webNoAuthYesAction
# FAILURE
webYesAuthYesSequence:
actions: webYesAuthYesActionRepro Steps
- Create an App Builder project with
aio-cli@11.x - Create the
genericaction at the path specified in theapp.config.yamlabove - Put the yaml above as your
app.config.yaml - Run
aio app clean && aio app deploy - Note the error:
❯ aio app clean && aio app deploy
✔ Cleaned build artifacts for 'application'
Build artifacts cleaned up successfully!
✔ Built 4 action(s) for 'application'
✔ Building web assets for 'application'
✖ Deploying actions for 'application'
› Error: PUT https://deploy-service.app-builder.adp.adobe.io/runtime/api/v1/namespaces/52381-858dimcaribou/actions/test-app-prod
› /webYesAuthYesSequence Returned HTTP 400 (Bad Request) --> "Sequence component does not exist."You might have to do this to reset your deploy after:
aio app undeployaio rt package delete test-app --recursive
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working