adobe / adobe/aio-cli-plugin-runtime
Deployments do not update the existing triggers
- Langage dominant
- JavaScript
- Étoiles
- 21
- Forks
- 33
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Reproduire la modification de l’intervalle et la suppression du trigger à l’aide de la définition cron-jobs liée dans l’issue, en vérifiant l’état avec `aio rt activations list` avant et après le déploiement. Suivre la gestion des triggers par la commande de déploiement ; le travail est terminé lorsque les triggers modifiés utilisent le nouvel intervalle et que les triggers supprimés ne s’exécutent plus après le déploiement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- javascript
- Domaine
- cli, cloud
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 43/100