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

Misleading Errors in Updating Published Actions #761

Closed
kumargg14 opened this issue Feb 2, 2024 · 3 comments · Fixed by #769
Closed

Misleading Errors in Updating Published Actions #761

kumargg14 opened this issue Feb 2, 2024 · 3 comments · Fixed by #769
Labels
bug Something isn't working

Comments

@kumargg14
Copy link

Describe the bug
The app is published in production workspace, On modifying any assets or actions and re-executing command "aio app deploy --force-deploy" will result in error though the changes are updated.

To Reproduce
Steps to reproduce the behavior:

  1. Create and publish the app.
  2. Update the actions or any web assets
  3. Deploy the app using "aio app deploy" or aio app deploy --force-deploy

Expected behavior
The deployment shouldn't throw an error as we are not updating the app endpoints in app registry

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2024-02-02 at 1 22 57 PM

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Node : 20.9.0
  • npm : 10.1.0

Additional context
Add any other context about the problem here.

@MichaelGoberling MichaelGoberling added the bug Something isn't working label Feb 2, 2024
@MichaelGoberling
Copy link
Contributor

Yeah this error is coming from the Developer Console. To avoid these errors, I'm thinking we skip publishing if --force-deploy is specified and the user is working in a published prod app. Also make --force-deploy mutually exclusive with --publish and --force-publish

cc: @moritzraho @purplecabbage

@aiojbot
Copy link
Collaborator

aiojbot commented Feb 2, 2024

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

@moritzraho
Copy link
Member

sounds good to me 👍

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

Successfully merging a pull request may close this issue.

4 participants