adobe / adobe/aio-cli-plugin-runtime

Deployments do not update the existing triggers

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

説明

**Describe the bug**

When I introduced a trigger with 1 minute interval, it worked fine. However, changing the interval from 1 minute to 5 minutes was not reflected. Additionally, removing the trigger in my code did not cause any removal on runtime.

**To Reproduce**
Steps to reproduce the behavior:
1. Define a trigger as described here https://developer.adobe.com/app-builder/docs/resources/cron-jobs/lesson2/
2. Execute `aio rt activations list` and make sure that the corresponding action is triggered every minute.
3. Change your trigger definition interval from 1 to 5 and deploy the app.
4. Execute `aio rt activations list` and observe that the corresponding action is still triggered every minute.

**Expected behavior**
After changing the mentioned sample trigger definition interval from 1 to 5, execute `aio rt activations list` should display that the corresponding action is triggered every 5 minutes.
What I expect in general, is that any deployable procedure, definition must override the existing app. In this particular example, I would propose listing all available triggers and deleting them prior to a deployment.

**Screenshots**
N/A

**Desktop (please complete the following information):**
- OS: MacOS
- Browser : Chrome
- Version : Latest

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

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

調査の方向性

Issue にリンクされている cron-jobs 定義を使用して、インターバルの変更とトリガーの削除を再現し、デプロイメントの前後で `aio rt activations list` を使って状態を確認します。デプロイメントコマンドのトリガー処理を追跡します。変更されたトリガーが新しいインターバルを使用し、削除されたトリガーがデプロイメント後に実行されなくなれば完了です。

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

評価

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

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

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