Skip to content

Commit 684e47d

Browse files
committed
ci: add release checklist
1 parent a4d8fa0 commit 684e47d

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

dev/release-checklist.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Release checklist
2+
3+
This is simple check list for new release.
4+
5+
## Configurations
6+
7+
There tests must be performed for VS Code versions:
8+
9+
- 1.30 (minimal supported version)
10+
- 1.45 (workspace.fs + Uri.joinPath)
11+
- 1.68 (array display with length in debugger view)
12+
- 1.90 (debugFocus API)
13+
- latest
14+
15+
And all supported PostgreSQL versions (with latest minor versions):
16+
17+
- 12
18+
- 13
19+
- 14
20+
- 15
21+
- 16
22+
- 17
23+
24+
## Check list
25+
26+
Schema:
27+
28+
```sql
29+
CREATE TABLE tbl1(id INTEGER, value TEXT);
30+
CREATE TABLE tbl2(id INTEGER, value TEXT);
31+
```
32+
33+
Prepare:
34+
35+
- Run DB with logfile
36+
- Run PSQL
37+
- Start debugging session (F5).
38+
- Set breakpoint to `src/backend/optimizer/plan/planner.c:subquery_planner`
39+
at the end of function (at `return`)
40+
- Run `SELECT tbl1.id, MAX(tbl2.value) FROM tbl1 JOIN tbl2 ON tbl1.id = tbl2.id GROUP BY tbl1.id;`
41+
42+
Checks:
43+
44+
| Test | Steps | Expected |
45+
| -------------------- | ----------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
46+
| Cast to real Tag | `final_rel->cheapest_total_path` | Not plain Path - AggPath with inner MergePath (or something another) |
47+
| Special array member | `root->simple_rel_array` | Array of 4 elements: NULL, x1, x2, NULL |
48+
| Bitmapset | `root->all_baserels` | Bitmapset with 2 elements: 1, 2 |
49+
| List | `root->processed_tlist` | List with 2 TargetEntry element: Var and Aggref |
50+
| Refresh variables | Click refresh button in view | Variables have not changed but refresh in noticeable |
51+
| pprint | `root`, context menu, 'Dump Node to stdout' | Node must be shown in log file |
52+
| Create config file | Delete config file (if exists), run task `PgSQL: Open or create configuration file` and click 'Yes' | File `pgsql_hacker_helper.json` created in `.vscode` folder |
53+
| Open config file | Create config file (if not exists), make changes and run task `PgSQL: Open or create configuration file` | Opened config file has same values as changed version |
54+
| Update config file | Open default config file, add 2 alias types and 1 array special member and run task `PgSQL: Refresh configuration file` | In log must be message about adding 1 array special member and 2 aliases |

0 commit comments

Comments
 (0)