|
| 1 | +# Windows validation status |
| 2 | + |
| 3 | +This document records the Windows validation state of the `fix-intelliJ-compatibility` |
| 4 | +branch. It separates evidence from automated GitHub runner coverage and evidence from |
| 5 | +real IDE sessions. It records only evidence that was reported; it does not store logs |
| 6 | +that do not exist in this repository. |
| 7 | + |
| 8 | +## Recorded manual evidence (external Windows agent) |
| 9 | + |
| 10 | +Commit `05dea49` on `fix-intelliJ-compatibility` was validated on an external Windows |
| 11 | +machine. The requester reported the following results. The logs live on that agent and |
| 12 | +are not locally accessible, so this repository cannot reproduce them. |
| 13 | + |
| 14 | +- The two new Kotlin test classes passed: `ShellIntegrationOutputStateTest` and |
| 15 | + `TerminalShellReadinessTest`, 4 tests in total. |
| 16 | +- [`smoke/PowerShellIntegrationCheck.ps1`](../jetbrains_plugin/smoke/PowerShellIntegrationCheck.ps1) |
| 17 | + passed under Windows PowerShell 5.1. |
| 18 | +- A real IDE session passed: plugin execution, Unicode output, exact exit codes, |
| 19 | + connector reuse, and five repeated terminal startups. |
| 20 | + |
| 21 | +Status: the Windows requirement is **partially validated** by this manual evidence. |
| 22 | +The agent checkout path is not recorded in this repository. |
| 23 | + |
| 24 | +Scope note: the reported "connector reuse" is real IDE session reuse. The CI |
| 25 | +coverage is narrower: several commands inside one live process session, and |
| 26 | +repeated fresh sessions. The CI job never reuses a terminal session inside the |
| 27 | +IDE, so the two reuse claims are not interchangeable. |
| 28 | + |
| 29 | +## Windows CI validation (passed 2026-10-09) |
| 30 | + |
| 31 | +The `windows-verify` job in [`.github/workflows/pr.yml`](../.github/workflows/pr.yml) |
| 32 | +runs on every pull request. Hosted run logs and artifacts expire, so this |
| 33 | +document records the result and not a run link. The job is the living evidence. |
| 34 | + |
| 35 | +- Date: 2026-10-09 |
| 36 | +- Branch head: `97070c9` on `fix-intelliJ-compatibility` (pull request #10) |
| 37 | +- Runner: `windows-latest`, JDK temurin 17 |
| 38 | +- Result: 6 of 6 `WindowsConPtyProcessTest` tests passed on the ConPTY |
| 39 | + backend. None were skipped. Unicode execution, exact exit code, resize, |
| 40 | + Ctrl+C/ETX interrupt, five repeated fresh startups, and bounded close all |
| 41 | + passed. |
| 42 | +- The PowerShell 5.1 smoke script passed. |
| 43 | + |
| 44 | +History: an earlier run failed the interrupt test. The test sent the next |
| 45 | +command right after the ETX byte, and no prompt returned. The test now installs |
| 46 | +a counted prompt (`zp<N>`) and waits for a new prompt before the next command. |
| 47 | +The interrupt then passed, so the ETX byte does reach the shell in this harness. |
| 48 | + |
| 49 | +Each run records its own identity and uploads it as an artifact: |
| 50 | + |
| 51 | +- `Checkout: $env:GITHUB_WORKSPACE` |
| 52 | +- `Tested commit: $(git rev-parse HEAD)`; a pull request job can test a merge |
| 53 | + commit, so this value can differ from the branch head |
| 54 | +- `Run: $env:GITHUB_SERVER_URL/$env:GITHUB_REPOSITORY/actions/runs/$env:GITHUB_RUN_ID` |
| 55 | + |
| 56 | +## Automated runner coverage |
| 57 | + |
| 58 | +The `windows-verify` job runs on `windows-latest` with JDK 17: |
| 59 | + |
| 60 | +- `RawOutputTtyConnectorTest`: connector stub tests; the Linux-only real-PTY test |
| 61 | + skips on Windows. |
| 62 | +- `TerminalPtyBuilderTest`: the explicit ConPTY selection and builder values. |
| 63 | +- `ShellIntegrationOutputStateTest` and `TerminalShellReadinessTest`: marker parsing |
| 64 | + and readiness. |
| 65 | +- `WindowsConPtyProcessTest`: real ConPTY process tests that start through the |
| 66 | + production `TerminalPtyBuilder` and assert the live process is the ConPTY |
| 67 | + backend, so a silent winpty fallback fails. Teardown runs through one bounded |
| 68 | + cleanup with a force-destroy watchdog, and cleanup problems are reported as |
| 69 | + suppressed failures without masking the original assertion. Coverage: input |
| 70 | + execution with Unicode, exact exit codes, resize through the connector with |
| 71 | + executed width and height, the Ctrl+C/ETX pipeline interrupt with a documented |
| 72 | + pipeline-interruption scope, five repeated fresh startups, and bounded close |
| 73 | + with separate completion, process exit, and reader termination assertions. |
| 74 | + All of it is process-level: several commands inside one live session and |
| 75 | + repeated fresh sessions. The CI job never reuses a connector the way a real |
| 76 | + IDE session does. |
| 77 | +- [`smoke/PowerShellIntegrationCheck.ps1`](../jetbrains_plugin/smoke/PowerShellIntegrationCheck.ps1) |
| 78 | + runs through `powershell.exe`, which is Windows PowerShell 5.1, not `pwsh`. |
| 79 | + The step carries `if: ${{ !cancelled() }}`: it also runs after a failed |
| 80 | + Gradle test step, and only a cancelled job skips it. A failed test step |
| 81 | + still fails the job, and the smoke keeps its own exit-code checks. |
| 82 | +- Test XML, HTML reports, logs, and the run identity upload with `if: always()`. |
| 83 | + |
| 84 | +## Real IDE coverage (manual only) |
| 85 | + |
| 86 | +The CI job never starts the IDE. Real IDE execution, interactive rendering, |
| 87 | +connector reuse inside one IDE session, and workspace-close behavior need a |
| 88 | +human session. The native PTY tests above prove process behavior only; they are |
| 89 | +not real IDE workspace-close tests. |
| 90 | + |
| 91 | +## Remaining gaps |
| 92 | + |
| 93 | +| Item | Runner coverage | Real IDE evidence | |
| 94 | +| --- | --- | --- | |
| 95 | +| Input execution, Unicode, exact exit codes, five fresh startups | Passed 2026-10-09 | Reported for `05dea49` | |
| 96 | +| Multi-command execution inside one live process session | Passed 2026-10-09 | None | |
| 97 | +| Connector reuse in a real IDE session | None; out of CI scope | Reported for `05dea49` | |
| 98 | +| Resize | Passed 2026-10-09 | None | |
| 99 | +| Ctrl+C / ETX pipeline interrupt | Passed 2026-10-09: the shell returns to a new prompt after ETX | None | |
| 100 | +| Interactive input | Process-level input only | None | |
| 101 | +| Workspace-close cleanup | None | None | |
| 102 | +| 263 JCEF matching native bundle | None | None; known gap | |
| 103 | + |
| 104 | +## Local validation |
| 105 | + |
| 106 | +No Windows executor exists in the local Linux workspace. Windows results come |
| 107 | +from the hosted job only. The Linux job runs the same test classes, and the |
| 108 | +Windows-only tests skip there. |
0 commit comments