HI
You need to know read dev and PTE extensions, if you publish your extension directly from the VSC you are using the dev option so, in case of any change in the tenant ie, microsoft updates your tenant to a new version, the dev extensions are disconnected automatically, this behavior is warned in your VSC console when you publish from there.
In Saas environments, you need to upload your app file importing it, but you need to fulfill the development rules or the process will reject your code. When it finishes, you'll see the PTE label instead dev and in the next update, your extension will remain connected.