gitpod-io / gitpod-io/gitpod

Gitpod ports await look also is the service available

Open
#13,802 7 comments 0 reactions 1 assignee View on GitHub

@loujaybee is already working on this.

Since Oct 17, 2022.

component: gp cli meta: never-stale team: IDE type: feature request
Dominant language
TypeScript
Stars
13.8k
Forks
1.4k
Avg merge
17h 58m
Merged PRs (30d)
5

Description

Is your feature request related to a problem? Please describe

When you start a MySQL server in Docker and you want to execute a MySQL command directly it's annoying as you have to wait for the right moment where the server is available

With gp ports await 3306 you get notified when the port is reachable. But port reachable is not the same as useable. You get then weird errors like `MySQL server has gone away'.

Describe the behaviour you'd like

Add an --type mysql to the command to try to connect to the MySQL server instead of just looking is the port open

Describe alternatives you've considered

until mysqladmin ping; do
          sleep 1
done

Works but for DX it would be better I guess when it would be easier to do that

Additional context

I would like to implement that also

Originally asked at Discord.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.