Commit ebb7dbe
Integration tests against an IRIS container for release-preparation PRs
Replaces the placeholder test with a suite that opens a multi-root workspace whose folders connect to
one iris-community container by each supported mechanism (objectscript.conn host/port, docker-compose
port resolution, intersystems.servers entry, isfs), plus an inactive folder pointing at an unreachable
host. The container's /api/atelier session timeout is 10 s so expired-session recovery is exercised.
Runs from a new prepare-release.yml workflow on PRs from prepare-* branches and on manual dispatch;
the old npm test step is removed from the per-PR workflows.
Also fixes the runner, which could not launch VS Code at all: bump @vscode/test-electron to 3.x
(2.x looks for the renamed Contents/MacOS/Electron), drop the rejected -n arg, unset
ELECTRON_RUN_AS_NODE inherited from extension-spawned terminals, use a fresh user-data-dir per run,
and make the mocha runner's promise settle when the tests finish.
Closes #1863
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 5b1d295 commit ebb7dbe
22 files changed
Lines changed: 531 additions & 257 deletions
File tree
- .github/workflows
- src/test
- suite
- test-fixtures
- client-compose
- .vscode
- setup
- src
- client-hostport
- .vscode
- src
- client-inactive/.vscode
- client-named-server
- .vscode
- src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments