pulumi / esc

Pulumi ESC is a centralized, secure service for environments, secrets, and configuration management, optimized for multi-cloud infrastructures and applications.
https://www.pulumi.com/product/esc/
Apache License 2.0
222 stars 9 forks source link

Top level comments are dropped during auto-formatting #260

Open iwahbe opened 8 months ago

iwahbe commented 8 months ago

What happened?

I was trying to comment my a env I was creating, and my comment got eaten. Experimentation shows that the comment only persists if it is attached to an item.

Example

https://github.com/pulumi/esc/assets/22222529/58d9c34f-f487-4528-80c5-0056ab863e42

Output of pulumi about

NA

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

cleverguy25 commented 3 months ago

Added to epic https://github.com/pulumi/pulumi-service/issues/18145