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

Retrieve prov DB info from cloud via dbos-cloud CLI #4

Merged
merged 11 commits into from
Feb 21, 2024
Merged

Conversation

devhawk
Copy link
Collaborator

@devhawk devhawk commented Feb 21, 2024

Use dbos-cloud to retrieve the host/port/database/user info for the provenance DB from the cloud via npx dbos-cloud

This PR also updates the extension to support multi-folder workspaces in VSCode. Typically, users have a single folder in their VSCode workspace, but this PR adds extra logic to associate the VSCode workspace w/ the code lens in case the user has multi-folder workspaces. Note, the extension assumes the DBOS app package is in the root of the associated VSCode workspace folder (i.e. the workspace folder is used as the current directory when executing npx dbos-cloud commands)

package.json Show resolved Hide resolved
src/configuration.ts Outdated Show resolved Hide resolved
Copy link
Member

@qianl15 qianl15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some minor comments, overall looks good!

@devhawk devhawk merged commit 0cf9414 into main Feb 21, 2024
2 checks passed
@devhawk devhawk deleted the devhawk/config branch February 21, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants