serverless / compose

Orchestrate Serverless Framework in monorepos
https://serverless.com/framework/docs/guides/compose
MIT License
111 stars 15 forks source link

CLI Output doesn't reflect when components are removed #100

Closed ROSeaboyer closed 2 years ago

ROSeaboyer commented 2 years ago

I tried removing a service with a few stacks, there were some dependencies, but I noticed that the output never reflected that the removed services were actually removed.

Latest version of serverless and @serverless/compose are installed, so it's not an outdated dependency issue.

This isn't a functionality issue, just a display issue within my terminal

pgrzesik commented 2 years ago

Hello @ROSeaboyer - thanks for reporting. Based on the information provider, I'm not entirely sure what the problem is? Could you share more details such as:

ROSeaboyer commented 2 years ago

In order:

I'm just using a "serverless remove --stage ryan" for this; is there anything different I should be running?

mnapoli commented 2 years ago

Oh I think we never call this.successProgress('removed'); when one service has been removed 😄 (as opposed to what we do for deployment)

https://github.com/serverless/compose/blob/c5629709a53fe576ef0be6c43c8766e4627150b4/components/framework/serverless.js#L78-L92

pgrzesik commented 2 years ago

Thanks for the details @ROSeaboyer - I just managed to reproduce it, fix incoming soon

edit: yep @mnapoli 😓

ROSeaboyer commented 2 years ago

Thanks for the very quick turnaround! For my own curiosity, any word on how long it'll be for a release once that PR is merged in?

pgrzesik commented 2 years ago

Hey @ROSeaboyer - the v1.0.1 that includes this fix went out a few minutes ago