Repository navigation
ci(windows): check the installed app like a new user, and the uninstall - #81
Merged
Merged
Conversation
scripts/windows-smoke.ps1 replaces the informational install-and-start step of the Windows bundles workflow. It installs the NSIS setup silently, starts the app, and checks: the server, /api/platform (windows, browser and code execution off), a fresh first run and /welcome, the window (and a screenshot), that 20 s later the app and server are still running (parent_watch on Windows), that closing the window stops the server (the old step killed the whole tree with taskkill, which proved nothing and logged "could not be terminated"), and that uninstalling keeps %LOCALAPPDATA%\ConductLoop\data, which sits inside the install folder. Still continue-on-error, as decided for that step, but every failed check is an error annotation; screenshot and log uploaded for 3 days. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
The Windows bundles workflow already installed the NSIS setup and started the app, but it only waited for
/api/health, then killed the whole process tree withtaskkill /T /F(the last run loggedThe process with PID … could not be terminated). That proves the app starts; it does not prove the two Windows-specific things that were fixed blind in #75: thatparent_watchdoes not end the app, and that closing the app stops its server. And nothing checked the uninstall, although the data folder (%LOCALAPPDATA%\ConductLoop\data) sits inside the per-user install folder.scripts/windows-smoke.ps1 -Setup <setup.exe>replaces that step:conductloop-desktop.exeandconductloop-server.exe;/api/healthwithin 120 s;/api/platformsayswindows, with the in-app browser and code execution off (prints the keychain state);/welcomeserved;ConductLoopwindow, and a screenshot;CloseMainWindow) stops the server: port free and noconductloop-server.exeleft within 15 s;data\ops.db.It talks only to
127.0.0.1:7777with GETs and publishes nothing. The step stayscontinue-on-error, as decided for it (a runner has no real desktop session), but each failed check is an::errorannotation on the run page, and the screenshot and log are uploaded for 3 days. The workflow is still manual; it was dispatched on this branch to test it.How it was tested
tests/test_windows_bundles_workflow.pyupdated (installer uploads, the smoke step runs the script, its output is kept) and extended (the script only reads the local server, and checks platform, 20 s, close and uninstall);tests/test_workflows_guard.pygreen.windows-latest, first try: installed per user; server in 10 s as 1.2.3;/api/platformwindows with browser and code execution off (keys in the encrypted file, "no system keychain integration on Windows yet"); first run with/welcome; theConductLoopwindow open (screenshot: the welcome page renders, new icon in the title bar and taskbar); still running 20 s later; closing the window stopped the server in 1 s; uninstalling removed the app and keptdata\ops.db.Checklist
CHANGELOG.mdentry under Unreleased.🤖 Generated with Claude Code