Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

cannot create a sequence with an action that has `web:yes` property and `require-adobe-auth: true` annotation

オープン
#881 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
28/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript, nodejs
領域
cli

調査の方向性

app.config.yaml の再現から開始し、[email protected] を使用して aio app clean && aio app deploy を実行します。webYesAuthYesSequence アクションのデプロイパスを追跡し、動作する 3 つの組み合わせと比較します。require-adobe-auth: true を持つ web: 'yes' アクションを含むシーケンスが、報告されている HTTP 400 エラーなしでデプロイできれば完了です。

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

説明

bug

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: webYesAuthYesAction

Repro Steps

  1. Create an App Builder project with [email protected]
  2. Create the generic action at the path specified in the app.config.yaml above
  3. Put the yaml above as your app.config.yaml
  4. Run aio app clean && aio app deploy
  5. 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:

  1. aio app undeploy
  2. aio rt package delete test-app --recursive
主要言語
JavaScript
スター
28
フォーク
41
平均マージ
1日 15時間
マージ済み PR(30日)
10

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

adobe/aio-cli-plugin-app のほかの issue

adobe/aio-cli-plugin-app の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

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

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