-
Notifications
You must be signed in to change notification settings - Fork 207
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
[Issue] Service skipped during azd deploy
and not sure why
#4605
Comments
@jongio I'm wondering if you're seeing the CWD-sensitive behavior taking place here, i.e. when |
Thank you for logging this, I agree on the UX, we need more helpful guidance on why. @SophCarp - will you take a look at this? |
FYI, I likely was running azd deploy from the /web dir. |
Sure thing Kristen! What are the possible reasons for getting the "skipped" outcome? This time it looks like there was an issue with the directory, and that should probably be communicated to the user. Is that the only scenario or are there multiple? This doesn't look like it is an error, but maybe a warning could be used? |
Noting Wei brought up this conversation back in September: #4333 |
How about something like "**You ran azd from a subfolder, therefore other services were skipped". |
Had a chat with @wbreza about the Intended use case:
Commands that this could happen in:
How to indicate you want items skipped:
UX issue: customers might not realize that being in the subfolder affects the command. Potential wordings:
I think the last one is the most direct. @wbreza @ccbarragan any thoughts? I think this note only needs to be run during the subfolder scenario. If a service is being specified in the command the customer doesn't need the note. |
@SophCarp One consideration: Because 'Skipped' is the label that specifically triggers the confusion, could be helpful to call it out explicitly so that users are able to better infer that the note relates to seeing '(Skipped)'. I like this first bit:
otherwise I think your last edit speaks more directly to happened, so I think either way is good! |
Love the conversation here @SophCarp @ccbarragan ! Looking at the overall scenario, I would love for us to treat A small suggestion of mine below if it helps. First, notice that when I wonder if we can simplify and lift this overall pattern of "Packaging service X" to become the full command output: The success message would also need slight tweaking -- this is where we could say something like: "Packaged api in the current directory", that provides more context here. |
Output from
azd version
Run
azd version
and copy and paste the output here:1.11
Describe the bug
One of my services is being skipped, but I'm not sure why.
To Reproduce
Run
azd deploy
with thisExpected behavior
I expect it to deploy both. And if it skips one, it should tell me why.
Notes
If I manually run
azd deploy api
, it will deploy. but it doesn't work if I just runazd deploy
.Environment
Information on your environment:
* Language name and version
* IDE and version : [e.g. Visual Studio 16.3]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: