dolthub / dolthub/hosted-issues

How do we guarantee the workbench will work with various dolt versions?

Open
#75 1 comment 0 reactions 1 assignee Claimed by @tbantle22 View on GitHub
enhancement workbench
Dominant language
No language data
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The sql workbench on hosted uses Dolt-specific queries to show the database data and metadata so that it has a similar UI to DoltHub. Any interface changes to the dolt procedures/system tables/table functions can break the workbench. For example, we use the `dolt_diff_summary` table function on the diff page. We just renamed it to `dolt_diff_stat`. Different Dolt versions will need to use different table functions.

Right now, we specify a latest Dolt version in deploymgr and upgrade Dolt to that version during a deployment's service window (which can be changed by the user). We will soon be adding a feature to let people upgrade Dolt on their instance whenever they want.

If different instances can be on different Dolt versions at different times, how do we guarantee the workbench will work for all instances at all times?

There are two (or more) things we need here:
1. Tests to know what Dolt changes will break workbench queries (I started writing some integration tests in Dolt which might be okay enough for now)
2. There needs to be a way to tie the workbench version to a Dolt version and somehow publish multiple versions of the workbench? Not sure what the best way to do this is

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.